Scality SOFS Volume Driver.
Bases: cinder.volume.driver.VolumeDriver
Scality SOFS cinder driver.
Creates sparse files on SOFS for hypervisors to use as block devices.
Create a new backup from an existing volume.
Returns an error if prerequisites aren’t met.
Create a volume efficiently from an existing image.
image_location is a string whose format depends on the image service backend in use. The driver should use it to determine whether cloning is possible.
image_meta is the metadata associated with the image and includes properties like the image id, size, virtual-size etc.
image_service is the reference of the image_service to use. Note that this is needed to be passed here for drivers that will want to fetch images from the image service directly.
Returns a dict of volume properties eg. provider_location, boolean indicating whether cloning occurred
Fetch the image from image_service and write it to the volume.
Copy the volume to the specified image.
Creates a clone of the specified volume.
Exports the volume.
Can optionally return a Dictionary of changes to the volume object to be persisted.
Creates a snapshot.
Creates a logical volume.
Can optionally return a Dictionary of changes to the volume object to be persisted.
Creates a volume from a snapshot.
Deletes a snapshot.
Deletes a logical volume.
Callback for volume detached.
Any initialization the volume driver does while starting.
Synchronously recreates an export for a logical volume.
Extend an existing volume.
Return the current state of the volume service.
If ‘refresh’ is True, run the update first.
Allow connection to connector and return connection info.
Removes an export for a logical volume.
Restore an existing backup to a new or existing volume.
Disallow connection from connector.