The cinder.volume.drivers.dell_emc.unity.driver Module

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.BaseVD

Unity Driver.

Version history:

1.0.0 - Initial version
2.0.0 - Add thin clone support
2.0.1 - Fixes bug 1759175 to detach the lun correctly when auto zone
        was enabled and the lun was the last one attached to the host.
2.0.2 - Support remove empty host
2.0.3 - Cherry-pick the fix for 1773305 to return the targets which
        connect to the logged-out initiators
2.0.4 - Fixes bug 1775518 to make sure driver succeed to initialize
        even though the value of unity_io_ports and
        unity_storage_pool_names are empty
2.0.5 - Update unity tests to use Unity test base.
        Fixes logging issue of volume creation.
2.0.6 - Enalbe SSL support
VERSION = '02.00.06'
check_for_export(context, volume_id)

Make sure volume is exported.

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.


Creates a snapshot.


Creates a volume.

create_volume_from_snapshot(volume, snapshot)

Creates a volume from a snapshot.


Deletes a snapshot.


Deletes a volume.

ensure_export(context, volume)

Driver entry point to get the export info for an existing volume.

extend_volume(volume, new_size)

Extend a volume.


Returns the pool name of a volume.


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.

  • 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 mount point the snapshot for backup.

Not necessary to create on Unity.

terminate_connection(*args, **kwargs)
terminate_connection_snapshot(snapshot, connector, **kwargs)

Unmanages a volume.


Retrieve stats info from volume group.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.