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