The cinder.volume.drivers.netapp.nfs Module

Volume driver for NetApp NFS storage.

class NetAppDirect7modeNfsDriver(*args, **kwargs)

Bases: cinder.volume.drivers.netapp.nfs.NetAppDirectNfsDriver

Executes commands related to volumes on 7 mode.

check_for_setup_error()

Checks if setup occured properly.

class NetAppDirectCmodeNfsDriver(*args, **kwargs)

Bases: cinder.volume.drivers.netapp.nfs.NetAppDirectNfsDriver

Executes commands related to volumes on c mode.

create_volume(volume)

Creates a volume.

Parameters:volume – volume reference
refresh_ssc_vols(*args, **kwargs)

Refreshes ssc_vols with latest entries.

class NetAppDirectNfsDriver(*args, **kwargs)

Bases: cinder.volume.drivers.netapp.nfs.NetAppNFSDriver

Executes commands related to volumes on NetApp filer.

check_for_setup_error()

Returns an error if prerequisites aren’t met.

do_setup(context)
class NetAppNFSDriver(*args, **kwargs)

Bases: cinder.volume.drivers.nfs.NfsDriver

Base class for NetApp NFS driver. Executes commands relating to Volumes.

VERSION = '1.0.0'
check_for_setup_error()

Returns an error if prerequisites aren’t met.

clone_image(volume, image_location, image_id)

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.

image_id is a string which represents id of the image. It can be used by the driver to introspect internal stores or registry to do an efficient image clone.

Returns a dict of volume properties eg. provider_location, boolean indicating whether cloning occurred.

copy_image_to_volume(context, volume, image_service, image_id)

Fetch the image from image_service and write it to the volume.

create_cloned_volume(volume, src_vref)

Creates a clone of the specified volume.

create_snapshot(snapshot)

Creates a snapshot.

create_volume_from_snapshot(volume, snapshot)

Creates a volume from a snapshot.

delete_snapshot(snapshot)

Deletes a snapshot.

do_setup(context)
extend_volume(volume, new_size)

Extend an existing volume to the new size.

set_execute(execute)

Previous topic

The cinder.volume.drivers.netapp.iscsi Module

Next topic

The cinder.volume.drivers.netapp.options Module

This Page