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.FibreChannelDriverOpenStack Fibre Channel driver to enable HPE XP storage.
-
after_volume_copy(context, src_vol, dest_vol, remote=None)¶ 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(context, volume, image_service, image_id)¶ 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(volume, src_vref)¶ Create a clone of the specified volume.
-
create_export(context, volume, connector)¶
-
create_snapshot(snapshot)¶ Create a snapshot.
-
create_volume(volume)¶ Create a volume.
-
create_volume_from_snapshot(volume, snapshot)¶ Create a volume from a snapshot.
-
delete_snapshot(snapshot)¶ Delete a snapshot.
-
delete_volume(volume)¶ Delete a volume.
-
do_setup(context)¶ Setup and verify HPE XP storage connection.
-
ensure_export(context, volume)¶
-
extend_volume(volume, new_size)¶ Extend a volume.
-
get_volume_stats(refresh=False)¶ Get volume stats.
-
initialize_connection(*args, **kwargs)¶
-
local_path(volume)¶
-
manage_existing(volume, existing_ref)¶ 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(volume, existing_ref)¶ Return size of volume for manage_existing.
-
remove_export(context, volume)¶
-
restore_backup(context, backup, volume, backup_service)¶ 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.
-