Bases: cinder.volume.driver.ISCSIDriver
Executes volume driver commands on Nexenta Appliance.
Version history:
1.0.0 - Initial driver version.
1.0.1 - Fixed bug #1236626: catch "does not exist" exception of
lu_exists.
1.1.0 - Changed class name to NexentaISCSIDriver.
1.1.1 - Ignore "does not exist" exception of nms.snapshot.destroy.
1.1.2 - Optimized create_cloned_volume, replaced zfs send recv with zfs
clone.
1.1.3 - Extended volume stats provided by _update_volume_stats method.
1.2.0 - Added volume migration with storage assist method.
1.2.1 - Fixed bug #1263258: now migrate_volume update provider_location
of migrated volume; after migrating volume migrate_volume
destroy snapshot on migration destination.
1.3.0 - Added retype method.
1.3.0.1 - Target creation refactor.
Verify that the volume for our zvols exists.
Raise: | LookupError |
---|
Creates a clone of the specified volume.
Parameters: |
|
---|
Create new export for zvol.
Parameters: | volume – reference of volume to be exported |
---|---|
Returns: | iscsiadm-formatted provider location string |
Create snapshot of existing zvol on appliance.
Parameters: | snapshot – snapshot reference |
---|
Create a zvol on appliance.
Parameters: | volume – volume reference |
---|---|
Returns: | model update dict for volume reference |
Create new volume from other’s snapshot on appliance.
Parameters: |
|
---|
Delete volume’s snapshot on appliance.
Parameters: | snapshot – snapshot reference |
---|
Destroy a zvol on appliance.
Parameters: | volume – volume reference |
---|
Extend an existing volume.
Parameters: |
|
---|
Returns initialized nms object for url.
Get volume stats.
If ‘refresh’ is True, run update the stats first.
Return local path to existing local volume.
We never have local volumes, so it raises NotImplementedError.
Raise: | NotImplementedError |
---|
Migrate if volume and host are managed by Nexenta appliance.
Parameters: |
|
---|
Destroy all resources created to export zvol.
Parameters: | volume – reference of volume to be unexported |
---|
Convert the volume to be of the new type.
Parameters: |
|
---|