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.
CI_WIKI_NAME = 'EMC_UNITY_CI'¶VENDOR = 'Dell EMC'¶VERSION = '03.01.00'¶backup_use_temp_snapshot()¶Get the configured setting for backup from snapshot.
If an inheriting driver does not support this operation, the driver should override this method to return false and log a warning letting the administrator know they have configured something that cannot be done.
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)¶Any initialization the volume driver does while starting.
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)¶Allow connection to connector and return connection info.
| Parameters: |
|
|---|---|
| Returns conn_info: | |
A dictionary of connection information. This can optionally include a “initiator_updates” field. |
|
The “initiator_updates” field must be a dictionary containing a “set_values” and/or “remove_values” field. The “set_values” field must be a dictionary of key-value pairs to be set/updated in the db. The “remove_values” field must be a list of keys, previously set with “set_values”, that will be deleted from the db.
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)¶Disallow connection from connector.
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.