The cinder.volume.drivers.disco.disco_api
Module¶
DISCO Backup Service Implementation.
-
class
DiscoApi
(ip, port)¶ Bases:
object
Class for all the requests to Disco API.
-
cloneDetail
(clone_id, clone_name)¶ Get detail of the clone.
-
restoreDetail
(restore_id)¶ Monitor end of the restore.
-
restoreFromSnapshot
(snapshot_id, volume_name, zone_id, description, volume_id)¶ restore a snapshot of into a volume.
-
snapshotCreate
(disco_volume_id, reserve_days, zone_id=None, description=None)¶ Take a snapshot of the volume.
-
snapshotDelete
(snapshot_id)¶ Delete a snapshot.
-
snapshotDetail
(snapshot_id)¶ Monitor end of the snapshot.
-
systemInformationList
()¶ Get the list of the system information.
-
volumeClone
(volume_id, volume_name)¶ Clone a DISCO volume.
-
volumeCreate
(volume_name, size)¶ Create a DISCO volume.
-
volumeDelete
(volume_id)¶ Delete the temporary volume.
-
volumeDetail
(volume_id)¶ Get volume information of the destination DISCO volume.
-
volumeDetailByName
(volume_name)¶ Get volume information of the DISCO volume.
-
volumeExtend
(vol_id, size)¶ Extend DISCO volume.
-