The cinder.volume.drivers.drbdmanagedrv Module

This driver connects Cinder to an installed DRBDmanage instance, see
http://oss.linbit.com/drbdmanage/ http://git.linbit.com/drbdmanage.git/

for more details.

class DrbdManageDriver(*args, **kwargs)

Bases: cinder.volume.driver.VolumeDriver

Cinder driver that uses DRBDmanage for storage.

VERSION = '1.0.0'
call_or_reconnect(fn, *args)

Call DBUS function; on a disconnect try once to reconnect.

check_for_setup_error()

Verify that requirements are in place to use DRBDmanage driver.

create_cloned_volume(volume, src_vref)
create_export(context, volume, connector)
create_snapshot(snapshot)

Creates a snapshot.

create_volume(volume)

Creates a DRBD resource.

We address it later on via the ID that gets stored as a private property.

create_volume_from_snapshot(volume, snapshot)

Creates a volume from a snapshot.

dbus_connect()
delete_snapshot(snapshot)

Deletes a snapshot.

delete_volume(volume)

Deletes a resource.

do_setup(context)

Any initialization the volume driver does while starting.

drbdmanage_dbus_interface = '/interface'
drbdmanage_dbus_name = 'org.drbd.drbdmanaged'
ensure_export(context, volume)
extend_volume(volume, new_size)
get_volume_stats(refresh=True)

Get volume status.

initialize_connection(volume, connector)
is_clean_volume_name(name, prefix)
local_path(volume)
remove_export(context, volume)
snapshot_name_from_cinder_snapshot(snapshot)
terminate_connection(volume, connector, **kwargs)
validate_connector(connector)

Previous topic

The cinder.volume.drivers.dothill.dothill_iscsi Module

Next topic

The cinder.volume.drivers.emc.emc_cli_fc Module

Project Source

This Page