The cinder.volume.drivers.hpe.hpe_xp_fc Module

Fibre channel Cinder volume driver for Hewlett Packard Enterprise storage.

class HPEXPFCDriver(*args, **kwargs)

Bases: cinder.volume.driver.FibreChannelDriver

OpenStack Fibre Channel driver to enable HPE XP storage.

CI_WIKI_NAME = 'XP_Storage_CI'
SUPPORTED = False
after_volume_copy(*args, **kwargs)

Driver-specific actions after copyvolume data.

This method will be called after _copy_volume_data during volume migration

check_for_setup_error()

Setup errors are already checked for in do_setup so return pass.

copy_image_to_volume(*args, **kwargs)

Fetch the image from image_service and write it to the volume.

Call copy_image_to_volume() of super class and carry out original postprocessing.

create_cloned_volume(*args, **kwargs)

Create a clone of the specified volume.

create_export(context, volume, connector)
create_snapshot(*args, **kwargs)

Create a snapshot.

create_volume(*args, **kwargs)

Create a volume.

create_volume_from_snapshot(*args, **kwargs)

Create a volume from a snapshot.

delete_snapshot(*args, **kwargs)

Delete a snapshot.

delete_volume(*args, **kwargs)

Delete a volume.

do_setup(context)

Setup and verify HPE XP storage connection.

ensure_export(context, volume)
extend_volume(*args, **kwargs)

Extend a volume.

get_volume_stats(*args, **kwargs)

Get volume stats.

initialize_connection(*args, **kwargs)
local_path(volume)
manage_existing(*args, **kwargs)

Manage an existing HPE XP storage volume.

existing_ref is a dictionary of the form:

{‘ldev’: <logical device number on storage>,
‘storage_id’: <product number of storage system>}
manage_existing_get_size(*args, **kwargs)

Return size of volume for manage_existing.

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

Restore an existing backup to a new or existing volume.

Call restore_backup() of super class and carry out original postprocessing.

terminate_connection(*args, **kwargs)
unmanage(volume)

Remove the specified volume from Cinder management.