The cinder.volume.drivers.ibm.ibmnas
Module¶
IBM NAS Volume Driver. Currently, it supports the following IBM Storage Systems: 1. IBM Scale Out NAS (SONAS) 2. IBM Storwize V7000 Unified 3. NAS based IBM GPFS Storage Systems
Notes: 1. If you specify both a password and a key file, this driver will use the
key file only.
- When using a key file for authentication, it is up to the user or system administrator to store the private key in a safe manner.
-
class
IBMNAS_NFSDriver
(execute=<function execute>, *args, **kwargs)¶ Bases:
cinder.volume.drivers.nfs.NfsDriver
,cinder.volume.drivers.san.san.SanDriver
IBMNAS NFS based cinder driver.
Creates file on NFS share for using it as block device on hypervisor. Version history: 1.0.0 - Initial driver 1.1.0 - Support for NFS based GPFS storage backend
-
VERSION
= '1.1.0'¶
-
check_for_setup_error
()¶ Ensure that the flags are set properly.
-
create_cloned_volume
(volume, src_vref)¶ Creates a clone of the specified volume.
Extends the volume if the new volume size is more than the source volume size.
-
create_snapshot
(snapshot)¶ Creates a volume snapshot.
-
create_volume_from_snapshot
(volume, snapshot)¶ Creates a volume from an existing volume snapshot.
Extends the volume if the volume size is more than the snapshot size.
-
delete_snapshot
(snapshot)¶ Deletes a volume snapshot.
-
delete_volume
(volume)¶ Deletes a logical volume.
-
do_setup
(context)¶ Any initialization the volume driver does while starting.
-
driver_volume_type
= 'nfs'¶
-
extend_volume
(volume, new_size)¶ Extend an existing volume to the new size.
-