Ejemplo n.º 1
0
 def __init__(self, root_helper, driver=None,
              execute=None, use_multipath=False,
              device_scan_attempts=initiator.DEVICE_SCAN_ATTEMPTS_DEFAULT,
              *args, **kwargs):
     super(FibreChannelConnectorS390X, self).__init__(
         root_helper,
         driver=driver,
         execute=execute,
         device_scan_attempts=device_scan_attempts,
         *args, **kwargs)
     LOG.debug("Initializing Fibre Channel connector for S390")
     self._linuxfc = linuxfc.LinuxFibreChannelS390X(root_helper, execute)
     self.use_multipath = use_multipath
Ejemplo n.º 2
0
 def setUp(self):
     super(LinuxFCS390XTestCase, self).setUp()
     self.cmds = []
     self.lfc = linuxfc.LinuxFibreChannelS390X(None,
                                               execute=self.fake_execute)