cinder.volume.drivers.nexenta.ns5.nfs Module¶NexentaNfsDriver(*args, **kwargs)¶Bases: cinder.volume.drivers.nfs.NfsDriver
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.
1.2.0 - Support for extend volume.
Support for extending the volume in
create_volume_from_snapshot if the size of new volume
is larger than original volume size.
CI_WIKI_NAME = ‘Nexenta_CI’¶VERSION = ‘1.2.0’¶backend_name¶check_for_setup_error()¶Verify that the volume for our folder exists.
| Raise: | LookupError |
|---|
create_cloned_volume(volume, src_vref)¶Creates a clone of the specified volume.
| Parameters: |
|
|---|
create_snapshot(snapshot)¶Creates a snapshot.
| Parameters: | snapshot – snapshot reference |
|---|
create_volume(volume)¶Creates a volume.
| Parameters: | volume – volume reference |
|---|---|
| Returns: | provider_location update dict for database |
create_volume_from_snapshot(volume, snapshot)¶Create new volume from other’s snapshot on appliance.
| Parameters: |
|
|---|
delete_snapshot(snapshot)¶Deletes a snapshot.
| Parameters: | snapshot – snapshot reference |
|---|
delete_volume(volume)¶Deletes a logical volume.
| Parameters: | volume – volume reference |
|---|
do_setup(context)¶driver_prefix = ‘nexenta’¶extend_volume(volume, new_size)¶Extend an existing volume.
| Parameters: |
|
|---|
initialize_connection(volume, connector)¶Allow connection to connector and return connection info.
| Parameters: |
|
|---|
local_path(volume)¶Get volume path (mounted locally fs path) for given volume.
| Parameters: | volume – volume reference |
|---|
volume_backend_name = ‘NexentaNfsDriver’¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.