The cinder.volume.drivers.dell_emc.unity.driver Module¶
Cinder Driver for Unity
-
class
UnityDriver(*args, **kwargs)¶ Bases:
cinder.volume.driver.ManageableVD,cinder.volume.driver.ManageableSnapshotsVD,cinder.volume.driver.BaseVDUnity Driver.
- Version history:
- 1.0.0 - Initial version
-
CI_WIKI_NAME= ‘EMC_UNITY_CI’¶
-
VENDOR= ‘Dell EMC’¶
-
VERSION= ‘01.00.00’¶
-
backup_use_temp_snapshot()¶
-
check_for_export(context, volume_id)¶ Make sure volume is exported.
-
check_for_setup_error()¶
-
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_export_snapshot(context, snapshot, connector)¶ Creates the snapshot for backup.
-
create_snapshot(snapshot)¶ Creates a snapshot.
-
create_volume(volume)¶ Creates a volume.
-
create_volume_from_snapshot(volume, snapshot)¶ Creates a volume from a snapshot.
-
delete_snapshot(snapshot)¶ Deletes a snapshot.
-
delete_volume(volume)¶ Deletes a volume.
-
do_setup(context)¶
-
ensure_export(context, volume)¶ Driver entry point to get the export info for an existing volume.
-
extend_volume(volume, new_size)¶ Extend a volume.
-
get_pool(volume)¶ Returns the pool name of a volume.
-
get_volume_stats(refresh=False)¶ Get volume stats.
Parameters: refresh – True to get updated data
-
initialize_connection(*args, **kwargs)¶
-
initialize_connection_snapshot(snapshot, connector, **kwargs)¶
-
manage_existing(volume, existing_ref)¶ Manages an existing LUN in the array.
Parameters: - volume – the mapping cinder volume of the Unity LUN.
- existing_ref – the Unity LUN info.
-
manage_existing_get_size(volume, existing_ref)¶ Returns size of volume to be managed by manage_existing.
-
remove_export(context, volume)¶ Driver entry point to remove an export for a volume.
-
remove_export_snapshot(context, snapshot)¶ Deletes the snapshot for backup.
-
terminate_connection(*args, **kwargs)¶
-
terminate_connection_snapshot(snapshot, connector, **kwargs)¶
-
unmanage(volume)¶ Unmanages a volume.
-
update_volume_stats()¶ Retrieve stats info from volume group.