Bases: cinder.volume.driver.ISCSIDriver
Executes volume driver commands on Nexenta Appliance.
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 – shapshot 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 |
|---|
Recreate parts of export if necessary.
| Parameters: | volume – reference of volume to be exported |
|---|
Extend an existing volume.
| Parameters: |
|
|---|
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 |
|---|
Destroy all resources created to export zvol.
| Parameters: | volume – reference of volume to be unexported |
|---|