Пример #1
0
 def connect(self):
     iscsi.addIscsiNode(self._iface, self._target, self._cred)
     timeout = config.getint("irs", "udev_settle_timeout")
     udevadm.settle(timeout)
Пример #2
0
 def setup_node(self):
     self._maybe_connect_iser()
     iscsi.addIscsiNode(self.iface, self.target, self.cred)
Пример #3
0
 def connect(self):
     iscsi.addIscsiNode(self._iface, self._target, self._cred)
     timeout = config.getint("irs", "udev_settle_timeout")
     udevadm.settle(timeout)
Пример #4
0
 def _connect_iscsi(self):
     iscsi.addIscsiNode(self._iface, self._target, self._cred)
     iscsi.loginToIscsiNode(self._iface, self._target)