The cinder.volume.drivers.drbdmanagedrv Module

This driver connects Cinder to an installed DRBDmanage instance, see http://drbd.linbit.com/users-guide-9.0/ch-openstack.html for more details.

class DrbdManageBaseDriver(*args, **kwargs)

Bases: cinder.volume.driver.VolumeDriver

Cinder driver that uses DRBDmanage for storage.

CI_WIKI_NAME = 'Cinder_Jenkins'
VERSION = '1.1.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_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'
extend_volume(volume, new_size)
is_clean_volume_name(name, prefix)
local_path(volume)
snapshot_name_from_cinder_snapshot(snapshot)
class DrbdManageDrbdDriver(*args, **kwargs)

Bases: cinder.volume.drivers.drbdmanagedrv.DrbdManageBaseDriver

Cinder driver that uses the DRBD protocol.

create_export(context, volume, connector)
ensure_export(context, volume)
get_volume_stats(refresh=False)

Get volume status.

initialize_connection(volume, connector)
remove_export(context, volume)
terminate_connection(volume, connector, force=False, **kwargs)
DrbdManageDriver

alias of DrbdManageIscsiDriver

class DrbdManageIscsiDriver(*args, **kwargs)

Bases: cinder.volume.drivers.drbdmanagedrv.DrbdManageBaseDriver

Cinder driver that uses the iSCSI protocol.

create_export(context, volume, connector)
ensure_export(context, volume)
get_volume_stats(refresh=False)

Get volume status.

initialize_connection(volume, connector)
remove_export(context, volume)
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_vmax_common Module

This Page