def __init__(self): self._smtclient = smtclient.get_smtclient() self._dist_manager = dist.LinuxDistManager() self._pathutils = zvmutils.PathUtils() self._namelist = zvmutils.get_namelist() self._GuestDbOperator = database.GuestDbOperator() self._ImageDbOperator = database.ImageDbOperator()
def __init__(self): # _fcp_pool store the objects of FCP index by fcp id self._fcp_pool = {} # _fcp_path_info store the FCP path mapping index by path no self._fcp_path_mapping = {} self.db = database.FCPDbOperator() self._smtclient = smtclient.get_smtclient()
def __init__(self, methodName='runTest'): super(ZVMConnectorBaseTestCase, self).__init__(methodName) self.longMessage = True self.start_position = 0 self.apibase = api_sample.APITestBase() self._smtclient = smtclient.get_smtclient() self.client = test_utils.TestzCCClient() self.utils = test_utils.ZVMConnectorTestUtils()
def setUpClass(cls): super(VolumeTestCase, cls).setUpClass() cls.smtcli = smtclient.get_smtclient() cls.userid_list = [] # Deploy a guest with each specified image and previously generated # userid. for i in range(0, len(TEST_IMAGE_LIST)): image = TEST_IMAGE_LIST[i] userid = TEST_USERID_LIST[i][1] cls.utils.deploy_guest(userid, image_path=image[1], os_version=image[2]) cls.userid_list.append(userid)
def __init__(self): self.fcp_mgr = FCPManager() self.config_api = VolumeConfiguratorAPI() self._smtclient = smtclient.get_smtclient() self.db = database.FCPDbOperator()
def __init__(self): self._vmop = vmops.get_vmops() self._dist_manager = dist.LinuxDistManager() self._smtclient = smtclient.get_smtclient()
def __init__(self): self._smtclient = smtclient.get_smtclient()
def __init__(self): self._fcp_pool = {} self.db = database.FCPDbOperator() self._smtclient = smtclient.get_smtclient()
def __init__(self): self._smtclient = smtclient.get_smtclient() self._volume_infos = {}
def __init__(self): self._cache = MeteringCache(self._TYPES) self._smtclient = smtclient.get_smtclient() self._namelist = zvmutils.get_namelist()
def __init__(self): self._smtclient = smtclient.get_smtclient() self._pathutils = zvmutils.PathUtils()
def __init__(self): self.client = TestzCCClient() self.rawapi = api.SDKAPI() self._smtclient = smtclient.get_smtclient()