cinder.volume.drivers.infortrend.infortrend_fc_cli
Module¶Fibre Channel Driver for Infortrend Eonstor based on CLI.
InfortrendCLIFCDriver
(*args, **kwargs)¶Bases: cinder.volume.driver.FibreChannelDriver
Infortrend Fibre Channel Driver for Eonstor DS using CLI.
CI_WIKI_NAME
= 'Infortrend_Storage_CI'¶SUPPORTED
= False¶VERSION
= '1.0.2'¶check_for_setup_error
()¶create_cloned_volume
(volume, src_vref)¶Creates a clone of the specified volume.
create_export
(context, volume, connector)¶Exports the volume.
Can optionally return a Dictionary of changes to the volume object to be persisted.
create_snapshot
(snapshot)¶Creates a snapshot.
create_volume
(volume)¶Creates a volume.
Can optionally return a Dictionary of changes to the volume object to be persisted.
create_volume_from_snapshot
(volume, snapshot)¶Creates a volume from a snapshot.
delete_snapshot
(snapshot)¶Deletes a snapshot.
delete_volume
(volume)¶Deletes a volume.
ensure_export
(context, volume)¶Synchronously recreates an export for a volume.
extend_volume
(volume, new_size)¶Extend a volume.
get_volume_stats
(refresh=False)¶Get volume stats.
If ‘refresh’ is True, run update the stats first.
initialize_connection
(*args, **kwargs)¶manage_existing
(volume, existing_ref)¶Manage an existing lun in the array.
The lun should be in a manageable pool backend, otherwise error would return. Rename the backend storage object so that it matches the, volume[‘name’] which is how drivers traditionally map between a cinder volume and the associated backend storage object.
existing_ref:{
'id':lun_id
}
manage_existing_get_size
(volume, existing_ref)¶Return size of volume to be managed by manage_existing.
When calculating the size, round up to the next GB.
migrate_volume
(ctxt, volume, host)¶Migrate the volume to the specified host.
Returns a boolean indicating whether the migration occurred, as well as model_update.
Parameters: |
|
---|
remove_export
(context, volume)¶Removes an export for a volume.
retype
(ctxt, volume, new_type, diff, host)¶Convert the volume to be of the new type.
Parameters: |
|
---|
terminate_connection
(*args, **kwargs)¶unmanage
(volume)¶Removes the specified volume from Cinder management.
Does not delete the underlying backend storage object.
Parameters: | volume – Cinder volume to unmanage |
---|
update_migrated_volume
(ctxt, volume, new_volume, original_volume_status)¶Return model update for migrated volume.
Parameters: |
|
---|---|
Returns: | model_update to update DB with any needed changes |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.