Esempio n. 1
0
 def setUp(self):
     super(V7000CommonTestCase, self).setUp()
     self.conf = self.setup_configuration()
     self.driver = v7000_common.V7000Common(self.conf)
     self.driver.container = 'myContainer'
     self.driver.device_id = 'ata-VIOLIN_MEMORY_ARRAY_23109R00000022'
     self.stats = {}
Esempio n. 2
0
    def __init__(self, *args, **kwargs):
        super(V7000ISCSIDriver, self).__init__(*args, **kwargs)
        self.stats = {}
        self.gateway_iscsi_ip_addresses = []
        self.configuration.append_config_values(v7000_common.violin_opts)
        self.configuration.append_config_values(san.san_opts)
        self.common = v7000_common.V7000Common(self.configuration)

        LOG.info(_LI("Initialized driver %(name)s version: %(vers)s"),
                 {'name': self.__class__.__name__, 'vers': self.VERSION})
Esempio n. 3
0
    def __init__(self, *args, **kwargs):
        super(V7000FCPDriver, self).__init__(*args, **kwargs)
        self.gateway_fc_wwns = []
        self.stats = {}
        self.configuration.append_config_values(v7000_common.violin_opts)
        self.configuration.append_config_values(san.san_opts)
        self.common = v7000_common.V7000Common(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})