The cinder.volume.drivers.emc.scaleio
Module¶
Driver for EMC ScaleIO based on ScaleIO remote CLI.
-
class
ScaleIODriver
(*args, **kwargs)¶ Bases:
cinder.volume.driver.VolumeDriver
EMC ScaleIO Driver.
-
VERSION
= '2.0'¶
-
check_for_export
(context, volume_id)¶ Make sure volume is exported.
-
check_for_setup_error
()¶
-
copy_image_to_volume
(context, volume, image_service, image_id)¶ Fetch the image from image_service and write it to the volume.
-
copy_volume_to_image
(context, volume, image_service, image_meta)¶ Copy the volume to the specified image.
-
create_cloned_volume
(volume, src_vref)¶ Creates a cloned volume.
-
create_export
(context, volume, connector)¶ Driver entry point to get the export info for a new volume.
-
create_snapshot
(snapshot)¶ Creates a scaleio snapshot.
-
create_volume
(volume)¶ Creates a scaleIO volume.
-
create_volume_from_snapshot
(volume, snapshot)¶ Creates a volume from a snapshot.
-
delete_snapshot
(snapshot)¶ Deletes a ScaleIO snapshot.
-
delete_volume
(volume)¶ Deletes a self.logical volume
-
ensure_export
(context, volume)¶ Driver entry point to get the export info for an existing volume.
-
extend_volume
(volume, new_size)¶ Extends the size of an existing available ScaleIO volume.
-
get_volume_stats
(refresh=False)¶ Get volume stats.
If ‘refresh’ is True, run update the stats first.
-
initialize_connection
(volume, connector)¶ Initializes the connection and returns connection info.
The scaleio driver returns a driver_volume_type of ‘scaleio’.
-
remove_export
(context, volume)¶ Driver entry point to remove an export for a volume.
-
terminate_connection
(volume, connector, **kwargs)¶
-