The cinder.volume.drivers.infortrend.eonstor_ds_cli.common_cli Module

Infortrend Common CLI.

class InfortrendCommon(protocol, configuration=None)

Bases: object

The Infortrend’s Common Command using CLI.

Version history:
1.0.0 - Initial driver 1.0.1 - Support DS4000
VERSION = '1.0.1'
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)

Previous topic

The cinder.volume.drivers.infortrend.eonstor_ds_cli.cli_factory Module

Next topic

The cinder.volume.drivers.infortrend.infortrend_fc_cli Module

This Page