The cinder.volume.drivers.san.hp.hp_xp_fc
Module¶
Fibre channel Cinder volume driver for Hewlett-Packard storage.
-
class
HPXPFCDriver
(*args, **kwargs)¶ Bases:
cinder.volume.driver.FibreChannelDriver
OpenStack Fibre Channel driver to enable HP XP storage.
-
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.
-
copy_volume_data
(context, src_vol, dest_vol, remote=None)¶ Copy data from src_vol to dest_vol.
Call copy_volume_data() 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 HP 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 HP 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.
-