The nova.volume.nfs Module

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

Bases: nova.volume.driver.VolumeDriver

NFS based volume 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

Previous topic

The nova.volume.nexenta.volume Module

Next topic

The nova.volume.san Module

This Page