Esempio n. 1
0
 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()
Esempio n. 2
0
 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()
Esempio n. 3
0
 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()
Esempio n. 4
0
 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)
Esempio n. 5
0
 def __init__(self):
     self.fcp_mgr = FCPManager()
     self.config_api = VolumeConfiguratorAPI()
     self._smtclient = smtclient.get_smtclient()
     self.db = database.FCPDbOperator()
Esempio n. 6
0
 def __init__(self):
     self._vmop = vmops.get_vmops()
     self._dist_manager = dist.LinuxDistManager()
     self._smtclient = smtclient.get_smtclient()
Esempio n. 7
0
 def __init__(self):
     self._smtclient = smtclient.get_smtclient()
Esempio n. 8
0
 def __init__(self):
     self._fcp_pool = {}
     self.db = database.FCPDbOperator()
     self._smtclient = smtclient.get_smtclient()
Esempio n. 9
0
 def __init__(self):
     self._smtclient = smtclient.get_smtclient()
     self._volume_infos = {}
Esempio n. 10
0
 def __init__(self):
     self._cache = MeteringCache(self._TYPES)
     self._smtclient = smtclient.get_smtclient()
     self._namelist = zvmutils.get_namelist()
Esempio n. 11
0
 def __init__(self):
     self._smtclient = smtclient.get_smtclient()
     self._pathutils = zvmutils.PathUtils()
Esempio n. 12
0
 def __init__(self):
     self.client = TestzCCClient()
     self.rawapi = api.SDKAPI()
     self._smtclient = smtclient.get_smtclient()