def setUp(self): super(V6000CommonTestCase, self).setUp() self.conf = self.setup_configuration() self.driver = v6000_common.V6000Common(self.conf) self.driver.container = 'myContainer' self.driver.device_id = 'ata-VIOLIN_MEMORY_ARRAY_23109R00000022' self.stats = {}
def __init__(self, *args, **kwargs): super(V6000FCDriver, self).__init__(*args, **kwargs) self.gateway_fc_wwns = [] self.stats = {} self.configuration.append_config_values(v6000_common.violin_opts) self.configuration.append_config_values(san.san_opts) self.common = v6000_common.V6000Common(self.configuration) self.lookup_service = fczm_utils.create_lookup_service() LOG.info(_LI("Initialized driver %(name)s version: %(vers)s.") % {'name': self.__class__.__name__, 'vers': self.VERSION})
def __init__(self, *args, **kwargs): super(V6000ISCSIDriver, self).__init__(*args, **kwargs) self.array_info = [] self.gateway_iscsi_ip_addresses_mga = [] self.gateway_iscsi_ip_addresses_mgb = [] self.stats = {} self.configuration.append_config_values(v6000_common.violin_opts) self.configuration.append_config_values(san.san_opts) self.common = v6000_common.V6000Common(self.configuration) LOG.info(_LI("Initialized driver %(name)s version: %(vers)s."), {'name': self.__class__.__name__, 'vers': self.VERSION})