The cinder.volume.drivers.nec.volume_helper Module

The cinder.volume.drivers.nec.volume_helper Module

class MStorageDSVDriver

Bases: cinder.volume.drivers.nec.volume_helper.MStorageDriver

M-Series Storage Snapshot helper class.

create_snapshot(snapshot)
create_volume_from_snapshot(volume, snapshot)
delete_snapshot(snapshot)
class MStorageDriver

Bases: cinder.volume.drivers.nec.volume_common.MStorageVolumeCommon

M-Series Storage helper class.

backup_use_temp_snapshot()
check_for_export(context, volume_id)
create_cloned_volume(volume, src_vref)
create_volume(volume)
delete_volume(volume)
extend_volume(volume, new_size)
fc_do_export(_ctx, volume, connector, ensure=False)
fc_do_export_snapshot(context, snapshot, connector, ensure=False)
fc_get_volume_stats(refresh=False)

Get volume status.

If ‘refresh’ is True, run update the stats first.

fc_initialize_connection(volume, connector)
fc_initialize_connection_snapshot(snapshot, connector)
fc_terminate_connection(volume, connector)
fc_terminate_connection_snapshot(snapshot, connector, **kwargs)
get_pool(volume)
iscsi_do_export(_ctx, volume, connector, ensure=False)
iscsi_do_export_snapshot(context, snapshot, connector)

Exports the snapshot.

iscsi_get_volume_stats(refresh=False)

Get volume status.

If ‘refresh’ is True, run update the stats first.

iscsi_initialize_connection(volume, connector)
iscsi_initialize_connection_snapshot(snapshot, connector, **kwargs)

Allow connection to connector and return connection info.

Parameters:
  • snapshot – The snapshot to be attached
  • connector – Dictionary containing information about what is being connected to.
Returns conn_info:
 

A dictionary of connection information. This can optionally include a “initiator_updates” field.

iscsi_terminate_connection(volume, connector)
iscsi_terminate_connection_snapshot(snapshot, connector, **kwargs)

Disallow connection from connector.

migrate_volume(context, volume, host)
remove_export(context, volume)
remove_export_snapshot(context, snapshot)

Removes an export for a snapshot.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.