The cinder.volume.drivers.netapp.dataontap.nfs_cmode Module¶
Volume driver for NetApp NFS storage.
-
class
NetAppCmodeNfsDriver(*args, **kwargs)¶ Bases:
cinder.volume.drivers.netapp.dataontap.nfs_base.NetAppNfsDriver,cinder.volume.drivers.netapp.dataontap.utils.data_motion.DataMotionMixinNetApp NFS driver for Data ONTAP (Cluster-mode).
-
REQUIRED_CMODE_FLAGS= [‘netapp_vserver’]¶
-
check_for_setup_error(*args, **kwargs)¶ Check that the driver is working and can communicate.
-
copy_image_to_volume(*args, **kwargs)¶ Fetch the image from image_service and write it to the volume.
-
delete_cgsnapshot(*args, **kwargs)¶ Delete files backing each snapshot in the cgsnapshot.
Returns: An implicit update of snapshot models that the manager will interpret and subsequently set the model state to deleted.
-
delete_snapshot(*args, **kwargs)¶ Deletes a snapshot.
-
delete_volume(*args, **kwargs)¶ Deletes a logical volume.
-
do_setup(*args, **kwargs)¶ Do the customized set up on client for cluster mode.
-
failover_host(*args, **kwargs)¶ Failover a backend to a secondary replication target.
-
unmanage(*args, **kwargs)¶ 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
-