示例#1
0
 def __init__(self):
     configuration = conf.Configuration([
         cfg.StrOpt('fake'),
     ], None)
     super(FakeDSWAREDriver, self).__init__(configuration=configuration)
     self.dsware_client = fspythonapi.FSPythonApi()
     self.manage_ip = '127.0.0.1'
     self.pool_type = '1'
示例#2
0
文件: dsware.py 项目: mriedem/cinder
 def __init__(self, *args, **kwargs):
     super(DSWAREDriver, self).__init__(*args, **kwargs)
     self.dsware_client = fspythonapi.FSPythonApi()
     self.check_cloned_interval = 2
     self.configuration.append_config_values(volume_opts)
 def setUp(self):
     super(FSPythonApiTestCase, self).setUp()
     self.api = fspythonapi.FSPythonApi()