The cinder.volume.drivers.ibm.flashsystem_common Module

Volume driver for IBM FlashSystem storage systems.

Limitations: 1. Cinder driver only works when open_access_enabled=off.

class FlashSystemDriver(*args, **kwargs)

Bases: cinder.volume.drivers.san.san.SanDriver, cinder.volume.driver.ManageableVD, cinder.volume.driver.BaseVD

IBM FlashSystem volume driver.

Version history:

1.0.0 - Initial driver
1.0.1 - Code clean up
1.0.2 - Add lock into vdisk map/unmap, connection
        initialize/terminate
1.0.3 - Initial driver for iSCSI
1.0.4 - Split Flashsystem driver into common and FC
1.0.5 - Report capability of volume multiattach
1.0.6 - Fix bug #1469581, add I/T mapping check in
        terminate_connection
1.0.7 - Fix bug #1505477, add host name check in
        _find_host_exhaustive for FC
1.0.8 - Fix bug #1572743, multi-attach attribute
        should not be hardcoded, only in iSCSI
1.0.9 - Fix bug #1570574, Cleanup host resource
        leaking, changes only in iSCSI
1.0.10 - Fix bug #1585085, add host name check in
         _find_host_exhaustive for iSCSI
1.0.11 - Update driver to use ABC metaclasses
1.0.12 - Update driver to support Manage/Unmanage
         existing volume
MULTI_HOST_MAP_ERRORS = ['CMMVC6045E', 'CMMVC6071E']
VERSION = '1.0.12'
check_for_setup_error()

Ensure that the flags are set properly.

create_cloned_volume(volume, src_volume)

Create volume from a source volume.

create_snapshot(snapshot)

Create snapshot from volume.

create_volume(volume)

Create volume.

create_volume_from_snapshot(volume, snapshot)

Create volume from snapshot.

delete_snapshot(snapshot)

Delete snapshot.

delete_volume(volume)

Delete volume.

extend_volume(volume, new_size)

Extend volume.

get_volume_stats(refresh=False)

Get volume stats.

If we haven’t gotten stats yet or ‘refresh’ is True, run update the stats first.

manage_existing(volume, existing_ref)

Manages an existing vdisk.

Renames the vdisk to match the expected name for the volume.

manage_existing_get_size(volume, existing_ref)

Return size of volume to be managed by manage_existing.

unmanage(volume)

Removes the specified volume from Cinder management.