Volume driver for HDS HNAS NFS storage.
Bases: cinder.volume.drivers.nfs.NfsDriver
Base class for Hitachi NFS driver.
Executes commands relating to Volumes.
Version 1.0.0: Initial driver version Version 2.2.0: Added support to SSH authentication Version 3.0.0: Added pool aware scheduling Version 4.0.0: Added manage/unmanage features Version 4.1.0: Fixed XML parser checks on blank options
Creates a clone of the specified volume.
Parameters: |
|
---|
Create a snapshot.
Parameters: | snapshot – dictionary snapshot reference |
---|
Creates a volume.
Parameters: | volume – volume reference |
---|
Creates a volume from a snapshot.
Deletes a snapshot.
Parameters: | snapshot – dictionary snapshot reference |
---|
Perform internal driver setup.
Extend an existing volume.
Parameters: |
|
---|
Get volume stats.
if ‘refresh’ is True, update the stats first.
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.
It 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 |
---|
Factory over-ride in self-tests.