コード例 #1
0
 def _get_fc_vpd_cmd(devicename, executor):
     lsdev = lsdev_aix_vio_server_impl.find(executor)()
     return lsdev.vpd().dev(devicename)
コード例 #2
0
 def is_applicable(self, osplatform, executor, **kwargs):
     is_applicable = vital_product_data.Discoverer.is_applicable
     return is_applicable(self, osplatform, executor) and lsdev_aix_vio_server_impl.find(executor) is not None