Driver for EMC ScaleIO based on ScaleIO remote CLI.
Bases: cinder.volume.driver.VolumeDriver
EMC ScaleIO Driver.
Make sure volume is exported.
Fetch the image from image_service and write it to the volume.
Copy the volume to the specified image.
Creates a cgsnapshot.
Creates a cloned volume.
Creates a consistency group.
ScaleIO won’t create CG until cg-snapshot creation, db will maintain the volumes and CG relationship.
Creates a consistency group from a source.
Driver entry point to get the export info for a new volume.
Creates a scaleio snapshot.
Creates a scaleIO volume.
Creates a volume from a snapshot.
Deletes a cgsnapshot.
Deletes a consistency group.
ScaleIO will delete the volumes of the CG.
Deletes a ScaleIO snapshot.
Deletes a self.logical volume
Driver entry point to get the export info for an existing volume.
Extends the size of an existing available ScaleIO volume.
This action will round up the volume to the nearest size that is a granularity of 8 GBs.
Get volume stats.
If ‘refresh’ is True, run update the stats first.
Initializes the connection and returns connection info.
The scaleio driver returns a driver_volume_type of ‘scaleio’.
Manage an existing ScaleIO volume.
existing_ref is a dictionary of the form: {‘source-id’: <id of ScaleIO volume>}
Driver entry point to remove an export for a volume.
Update a consistency group.
ScaleIO does not handle volume grouping. Cinder maintains volumes and CG relationship.
Return the update from ScaleIO migrated volume.
This method updates the volume name of the new ScaleIO volume to match the updated volume ID. The original volume is renamed first since ScaleIO does not allow multiple volumes to have the same name.