cinder.volume.drivers.nexenta.ns5.iscsi
Modulecinder.volume.drivers.nexenta.ns5.iscsi
Module¶NexentaISCSIDriver
(*args, **kwargs)¶Bases: cinder.volume.driver.ISCSIDriver
Executes volume driver commands on Nexenta Appliance.
Version history:
1.0.0 - Initial driver version.
1.1.0 - Added HTTPS support.
Added use of sessions for REST calls.
CI_WIKI_NAME
= ‘Nexenta_CI’¶VERSION
= ‘1.1.0’¶backend_name
¶check_for_setup_error
()¶Verify that the zfs volumes exist.
Raise: | LookupError |
---|
create_cloned_volume
(volume, src_vref)¶Creates a clone of the specified volume.
Parameters: |
|
---|
create_export
(_ctx, volume, connector)¶Create new export for zfs volume.
Parameters: | volume – reference of volume to be exported |
---|---|
Returns: | iscsiadm-formatted provider location string |
create_snapshot
(snapshot)¶Creates a snapshot.
Parameters: | snapshot – snapshot reference |
---|
create_volume
(volume)¶Create a zfs volume on appliance.
Parameters: | volume – volume reference |
---|---|
Returns: | model update dict for volume reference |
create_volume_from_snapshot
(volume, snapshot)¶Create new volume from other’s snapshot on appliance.
Parameters: |
|
---|
delete_snapshot
(snapshot)¶Delete volume’s snapshot on appliance.
Parameters: | snapshot – snapshot reference |
---|
delete_volume
(volume)¶Destroy a zfs volume on appliance.
Parameters: | volume – volume reference |
---|
do_setup
(context)¶ensure_export
(_ctx, volume)¶Recreate parts of export if necessary.
Parameters: | volume – reference of volume to be exported |
---|
extend_volume
(volume, new_size)¶Extend an existing volume.
Parameters: |
|
---|
get_volume_stats
(refresh=False)¶Get volume stats.
If ‘refresh’ is True, run update the stats first.
remove_export
(_ctx, volume)¶Destroy all resources created to export zfs volume.
Parameters: | volume – reference of volume to be unexported |
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.