Previous topic

The cinder.volume.nexenta.volume Module

Next topic

The cinder.volume.san Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.volume.nfs Module

class NfsDriver(execute=<function execute at 0xf62a1e2c>, *args, **kwargs)

Bases: cinder.volume.driver.VolumeDriver

NFS based cinder driver. Creates file on NFS share for using it as block device on hypervisor.

check_for_export(context, volume_id)

Make sure volume is exported.

check_for_setup_error()

Just to override parent behavior

create_export(ctx, volume)

Exports the volume. Can optionally return a Dictionary of changes to the volume object to be persisted.

create_volume(volume)

Creates a volume

delete_volume(volume)

Deletes a logical volume.

do_setup(context)

Any initialization the volume driver does while starting

ensure_export(ctx, volume)

Synchronously recreates an export for a logical volume.

initialize_connection(volume, connector)

Allow connection to connector and return connection info.

local_path(volume)

Get volume path (mounted locally fs path) for given volume :param volume: volume reference

remove_export(ctx, volume)

Removes an export for a logical volume.

terminate_connection(volume, connector)

Disallow connection from connector