예제 #1
0
파일: path.py 프로젝트: vmthunder/virtman
 def disconnect(path):
     """
     :type path: Path
     """
     connector.disconnect_volume(path.connection, path.device_info)
     path.connected = False
     LOG.debug("Virtman: disconnect to path: %s", str(path))
예제 #2
0
 def _destroy_snap_dev(self):
     LOG.debug("Virtman: deleting the snapshot for the VM instance")
     if self.snapshot_with_cache:
         self._delete_cache(self.snapshot_dev)
     connector.disconnect_volume(self.snapshot_connection, self.device_info)
     LOG.debug("Virtman: succeed to delete snapshot!")
     return True
예제 #3
0
파일: path.py 프로젝트: vmthunder/packages
 def disconnect(self):
     connector.disconnect_volume(self.connection, self.device_info)
     self.connected = False
     LOG.debug("Virtman: disconnect to path: %s", str(self))