The cinder.volume.drivers.violin.v7000_fcp Module

Violin 7000 Series All-Flash Array Volume Driver

Provides fibre channel specific LUN services for V7000 series flash arrays.

This driver requires Concerto v7.0.0 or newer software on the array.

You will need to install the Violin Memory REST client library: sudo pip install vmemclient

Set the following in the cinder.conf file to enable the VMEM V7000 Fibre Channel Driver along with the required flags:

volume_driver=cinder.volume.drivers.violin.v7000_fcp.V7000FCDriver

NOTE: this driver file requires the use of synchronization points for certain types of backend operations, and as a result may not work properly in an active-active HA configuration. See OpenStack Cinder driver documentation for more information.

class V7000FCPDriver(*args, **kwargs)

Bases: cinder.volume.driver.FibreChannelDriver

Executes commands relating to fibre channel based Violin Memory arrays.

Version history:
1.0 - Initial driver
CI_WIKI_NAME = ‘Violin_Memory_CI’
SUPPORTED = False
VERSION = ‘1.0’
check_for_setup_error()

Returns an error if prerequisites aren’t met.

create_cloned_volume(volume, src_vref)

Creates a clone of the specified volume.

create_export(context, volume, connector)

Exports the volume.

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 driver does while starting.

ensure_export(context, volume)

Synchronously checks and re-exports volumes at cinder start time.

extend_volume(volume, new_size)

Extend an existing volume’s size.

get_volume_stats(refresh=False)

Get volume stats.

If ‘refresh’ is True, update the stats first.

initialize_connection(*args, **kwargs)
remove_export(context, volume)

Removes an export for a logical volume.

terminate_connection(*args, **kwargs)