Volume driver for NetApp NFS storage.
Bases: cinder.volume.driver.ManageableVD, cinder.volume.driver.CloneableImageVD, cinder.volume.driver.SnapshotVD, cinder.volume.drivers.nfs.NfsDriver
Base class for NetApp NFS driver for Data ONTAP.
Returns an error if prerequisites aren’t met.
Create a volume efficiently from an existing image.
image_location is a string whose format depends on the image service backend in use. The driver should use it to determine whether cloning is possible.
Returns a dict of volume properties eg. provider_location, boolean indicating whether cloning occurred.
Fetch the image from image_service and write it to the volume.
Creates a clone of the specified volume.
Creates a snapshot.
Creates a volume.
Parameters: | volume – volume reference |
---|
Creates a volume from a snapshot.
Deletes a snapshot.
Extend an existing volume to the new size.
Get the default filter_function string.
Get the default goodness_function string.
Return pool name where volume resides.
Parameters: | volume – The volume hosted by the driver. |
---|---|
Returns: | Name of the pool where given volume is hosted. |
Manages an existing volume.
The specified Cinder volume is to be taken into Cinder management. The driver will verify its existence and then rename it to the new Cinder volume name. It is expected that the existing volume reference is an NFS share point and some [/path]/volume; e.g., 10.10.32.1:/openstack/vol_to_manage
or 10.10.32.1:/openstack/some_directory/vol_to_manage
Parameters: |
|
---|
Returns the size of volume to be managed by manage_existing.
When calculating the size, round up to the next GB.
Parameters: |
|
---|
Removes the specified volume from Cinder management.
Does not delete the underlying backend storage object. A log entry will be made to notify the Admin that the volume is no longer being managed.
Parameters: | volume – Cinder volume to unmanage |
---|