Bases: cinder.volume.driver.VolumeDriver
Executes commands relating to Sheepdog Volumes
-
VERSION = '1.0.0'
-
backup_volume(context, backup, backup_service)
Create a new backup from an existing volume.
-
check_for_setup_error()
Returns an error if prerequisites aren’t met
-
copy_image_to_volume(context, volume, image_service, image_id)
-
create_cloned_volume(volume, src_vref)
-
create_export(context, volume)
Exports the volume
-
create_snapshot(snapshot)
Creates a sheepdog snapshot
-
create_volume(volume)
Creates a sheepdog volume
-
create_volume_from_snapshot(volume, snapshot)
Creates a sheepdog volume from a snapshot.
-
delete_snapshot(snapshot)
Deletes a sheepdog snapshot
-
delete_volume(volume)
Deletes a logical volume
-
ensure_export(context, volume)
Safely and synchronously recreates an export for a logical volume
-
extend_volume(volume, new_size)
Extend an Existing Volume.
-
get_volume_stats(refresh=False)
-
initialize_connection(volume, connector)
-
local_path(volume)
-
remove_export(context, volume)
Removes an export for a logical volume
-
restore_backup(context, backup, volume, backup_service)
Restore an existing backup to a new or existing volume.
-
terminate_connection(volume, connector, **kwargs)