Previous topic

The cinder.volume.drivers.emc.emc_smis_iscsi Module

Next topic

The cinder.volume.drivers.huawei.huawei_iscsi 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.drivers.glusterfs Module

class GlusterfsDriver(*args, **kwargs)

Bases: cinder.volume.drivers.nfs.RemoteFsDriver

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

check_for_setup_error()

Just to override parent behavior.

create_cloned_volume(volume, src_vref)
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.

get_volume_stats(refresh=False)

Get volume stats.

If ‘refresh’ is True, update the stats first.

initialize_connection(volume, connector)

Allow connection to connector and return connection info.

remove_export(ctx, volume)

Removes an export for a logical volume.

terminate_connection(volume, connector, **kwargs)

Disallow connection from connector.