cinder.volume.drivers.infortrend.raidcmd_cli.common_cli
Modulecinder.volume.drivers.infortrend.raidcmd_cli.common_cli
Module¶Infortrend Common CLI.
InfortrendCommon
(protocol, configuration=None)¶Bases: object
The Infortrend’s Common Command using CLI.
VERSION
= ‘1.0.2’¶check_for_setup_error
()¶constants
= {‘ISCSI_PORT’: 3260, ‘MAX_LUN_MAP_PER_CHL’: 128}¶create_cloned_volume
(volume, src_vref)¶Create a clone of the volume by volume copy.
create_export
(context, volume)¶create_snapshot
(snapshot)¶Creates a snapshot.
create_volume
(volume)¶Create a Infortrend partition.
create_volume_from_snapshot
(volume, snapshot)¶delete_snapshot
(snapshot)¶Delete the snapshot.
delete_volume
(volume)¶Delete the specific volume.
extend_volume
(volume, new_size)¶get_volume_stats
(refresh=False)¶Get volume status.
If refresh is True, update the status first.
initialize_connection
(*args, **kwargs)¶manage_existing
(volume, ref)¶manage_existing_get_size
(volume, ref)¶Return size of volume to be managed by manage_existing.
migrate_volume
(volume, host, new_extraspecs=None)¶provisioning_values
= [‘thin’, ‘full’]¶retype
(ctxt, volume, new_type, diff, host)¶Convert the volume to be of the new type.
terminate_connection
(*args, **kwargs)¶tiering_values
= [‘0’, ‘2’, ‘3’, ‘4’]¶unmanage
(volume)¶update_migrated_volume
(ctxt, volume, new_volume, original_volume_status)¶Return model update for migrated volume.
gi_to_mi
(gi_size)¶log_func
(func)¶mi_to_gi
(mi_size)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.