cinder.volume.drivers.dell_emc.unity.driver Module¶Cinder Driver for Unity
UnityDriver(*args, **kwargs)¶Bases: cinder.volume.driver.ManageableVD, cinder.volume.driver.ManageableSnapshotsVD, cinder.volume.driver.BaseVD
Unity Driver.
Version history:
1.0.0 - Initial version
2.0.0 - Add thin clone support
3.0.0 - Add IPv6 support
3.1.0 - Support revert to snapshot API
3.1.1 - Enalbe SSL support
3.1.2 - Fixes bug 1759175 to detach the lun correctly when auto zone
was enabled and the lun was the last one attached to the host.
CI_WIKI_NAME = ‘EMC_UNITY_CI’¶VENDOR = ‘Dell EMC’¶VERSION = ‘03.01.02’¶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 mount point of the snapshot for backup.
Not necessary to create on Unity.
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: |
|
|---|
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 mount point the snapshot for backup.
Not necessary to create on Unity.
revert_to_snapshot(context, volume, snapshot)¶Reverts a volume to a snapshot.
terminate_connection(*args, **kwargs)¶terminate_connection_snapshot(snapshot, connector, **kwargs)¶unmanage(volume)¶Unmanages a volume.
update_volume_stats()¶Retrieve stats info from volume group.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.