The cinder.volume.drivers.nimble
Module¶
Volume driver for Nimble Storage.
This driver supports Nimble Storage controller CS-Series.
-
exception
NimbleAPIException
(message=None, **kwargs)¶ Bases:
cinder.exception.VolumeBackendAPIException
-
message
= u'Unexpected response from Nimble API'¶
-
-
class
NimbleAPIExecutor
(*args, **kwargs)¶ Bases:
object
Makes Nimble API calls.
-
add_acl
(*args, **kwargs)¶ Execute addAcl API.
-
clone_vol
(*args, **kwargs)¶ Execute cloneVol API.
-
create_initiator_group
(*args, **kwargs)¶ Execute createInitiatorGrp API.
-
create_vol
(volume, pool_name, reserve)¶ Execute createVol API.
-
delete_initiator_group
(*args, **kwargs)¶ Execute deleteInitiatorGrp API.
-
delete_snap
(*args, **kwargs)¶ Execute deleteSnap API.
-
delete_vol
(*args, **kwargs)¶ Execute deleteVol API.
-
dissociate_volcoll
(*args, **kwargs)¶ Execute dissocProtPol API.
-
edit_vol
(*args, **kwargs)¶ Execute editVol API.
-
get_group_config
()¶ Execute getGroupConfig API.
-
get_initiator_grp_list
()¶ Execute getInitiatorGrpList API.
-
get_netconfig
(name)¶ Execute getNetConfig API.
-
get_vol_info
(vol_name)¶ Execute getVolInfo API.
-
login
()¶ Execute Https Login API.
-
online_snap
(*args, **kwargs)¶ Execute onlineSnap API.
-
online_vol
(*args, **kwargs)¶ Execute onlineVol API.
-
remove_acl
(*args, **kwargs)¶ Execute removeVolAcl API.
-
snap_vol
(*args, **kwargs)¶ Execute snapVol API.
-
-
exception
NimbleDriverException
(message=None, **kwargs)¶ Bases:
cinder.exception.VolumeDriverException
-
message
= u'Nimble Cinder Driver exception'¶
-
-
class
NimbleISCSIDriver
(*args, **kwargs)¶ Bases:
cinder.volume.drivers.san.san.SanISCSIDriver
OpenStack driver to enable Nimble Controller.
- Version history:
1.0 - Initial driver 1.1.1 - Updated VERSION to Nimble driver version 1.1.2 - Update snap-quota to unlimited 2.0.0 - Added Extra Spec Capability
Correct capacity reporting Added Manage/Unmanage volume support2.0.1 - Added multi-initiator support through extra-specs 2.0.2 - Fixed supporting extra specs while cloning vols
-
VERSION
= '2.0.2'¶
-
create_cloned_volume
(volume, src_vref)¶ Create a clone of the specified volume.
-
create_export
(context, volume, connector)¶ Driver entry point to get the export info for a new volume.
-
create_snapshot
(snapshot)¶ Create a snapshot.
-
create_volume
(volume)¶ Create a new volume.
-
create_volume_from_snapshot
(volume, snapshot)¶ Create a volume from a snapshot.
-
delete_snapshot
(snapshot)¶ Delete a snapshot.
-
delete_volume
(volume)¶ Delete the specified volume.
-
do_setup
(context)¶ Setup the Nimble Cinder volume driver.
-
ensure_export
(context, volume)¶ Driver entry point to get the export info for an existing volume.
-
extend_volume
(volume, new_size)¶ Extend an existing volume.
-
get_volume_stats
(refresh=False)¶ Get volume stats. This is more of getting group stats.
-
initialize_connection
(volume, connector)¶ Driver entry point to attach a volume to an instance.
-
manage_existing
(volume, external_ref)¶ Manage an existing nimble volume (import to cinder)
-
manage_existing_get_size
(volume, external_ref)¶ Return size of an existing volume
-
terminate_connection
(volume, connector, **kwargs)¶ Driver entry point to unattach a volume from an instance.
-
unmanage
(volume)¶ Removes the specified volume from Cinder management.