cinder.volume.drivers.nexenta.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 - Auto sharing for enclosing folder.
1.1.1 - Added caching for NexentaStor appliance 'volroot' value.
1.1.2 - Ignore "folder does not exist" error in delete_volume and
delete_snapshot method.
1.1.3 - Redefined volume_backend_name attribute inherited from
RemoteFsDriver.
1.2.0 - Added migrate and retype methods.
1.3.0 - Extend volume method.
1.3.1 - Cache capacity info and check shared folders on setup.
CI_WIKI_NAME = ‘Nexenta_CI’¶VERSION = ‘1.3.1’¶VOLUME_FILE_NAME = ‘volume’¶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_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 |
|---|
migrate_volume(ctxt, volume, host)¶Migrate if volume and host are managed by Nexenta appliance.
| Parameters: |
|
|---|
remote_path(volume)¶Get volume path (mounted remotely fs path) for given volume.
| Parameters: | volume – volume reference |
|---|
retype(context, volume, new_type, diff, host)¶Convert the volume to be of the new type.
| Parameters: |
|
|---|
volume_backend_name = ‘NexentaNfsDriver’¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.