The cinder.volume.drivers.san.hp.hp_lefthand_iscsi Module

Volume driver for HP LeftHand Storage array. This driver requires 11.5 or greater firmware on the LeftHand array, using the 1.0 or greater version of the hplefthandclient.

You will need to install the python hplefthandclient. sudo pip install hplefthandclient

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

volume_driver=cinder.volume.drivers.san.hp.hp_lefthand_iscsi.
HPLeftHandISCSIDriver

It also requires the setting of hplefthand_api_url, hplefthand_username, hplefthand_password for credentials to talk to the REST service on the LeftHand array.

class HPLeftHandISCSIDriver(*args, **kwargs)

Bases: cinder.volume.driver.TransferVD, cinder.volume.driver.ManageableVD, cinder.volume.driver.ExtendVD, cinder.volume.driver.CloneableVD, cinder.volume.driver.SnapshotVD, cinder.volume.driver.MigrateVD, cinder.volume.driver.BaseVD, cinder.volume.driver.ConsistencyGroupVD

Executes commands relating to HP/LeftHand SAN ISCSI volumes.

Version history:
1.0.0 - Initial driver 1.0.1 - Added support for retype 1.0.2 - Added support for volume migrate 1.0.3 - Fix for no handler for logger during tests 1.0.4 - Removing locks bug #1395953 1.0.5 - Adding support for manage/unmanage. 1.0.6 - Updated minimum client version. bug #1432757 1.0.7 - Update driver to use ABC metaclasses 1.0.8 - Adds consistency group support 1.0.9 - Added update_migrated_volume #1493546
VERSION = '1.0.9'
check_for_setup_error()
create_cgsnapshot(context, cgsnapshot)

Creates a consistency group snapshot.

create_cloned_volume(volume, src_vref)
create_consistencygroup(context, group)

Creates a consistency group.

create_consistencygroup_from_src(context, group, volumes, cgsnapshot=None, snapshots=None, source_cg=None, source_vols=None)

Creates a consistency group from a source

create_export(context, volume, connector)
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_cgsnapshot(context, cgsnapshot)

Deletes a consistency group snapshot.

delete_consistencygroup(context, group)

Deletes a consistency group.

delete_snapshot(snapshot)

Deletes a snapshot.

delete_volume(volume)

Deletes a volume.

do_setup(context)
ensure_export(context, volume)
extend_volume(volume, new_size)

Extend the size of an existing volume.

get_volume_stats(refresh=False)
initialize_connection(volume, connector)

Assigns the volume to a server.

manage_existing(volume, existing_ref)
manage_existing_get_size(volume, existing_ref)
migrate_volume(ctxt, volume, host)

Migrate directly if source and dest are managed by same storage.

remove_export(context, volume)
retype(context, volume, new_type, diff, host)

Convert the volume to be of the new type.

terminate_connection(volume, connector, **kwargs)

Unassign the volume from the host.

unmanage(volume)
update_consistencygroup(context, group, add_volumes=None, remove_volumes=None)

Updates a consistency group.

update_migrated_volume(context, volume, new_volume, original_volume_status)

Previous topic

The cinder.volume.drivers.san.hp.hp_lefthand_cliq_proxy Module

Next topic

The cinder.volume.drivers.san.hp.hp_lefthand_rest_proxy Module

Project Source

This Page