Logo Search packages:      
Sourcecode: ganeti version File versions  Download package

lib::bdev::BaseDRBD Class Reference

Inheritance diagram for lib::bdev::BaseDRBD:

lib::bdev::BlockDev lib::bdev::DRBD8 lib::bdev::DRBDev

List of all members.


Detailed Description

Base DRBD class.

This class contains a few bits of common functionality between the
0.7 and 8.x versions of DRBD.

Definition at line 965 of file bdev.py.


Public Member Functions

def __init__
def __repr__
def Assemble
def Attach
def Close
def CombinedSyncStatus
def Create
def GetStatus
def GetSyncStatus
def Open
def Remove
def Rename
def SetInfo
def SetSyncSpeed
def Shutdown

Public Attributes

 dev_path
 major
 minor
 unique_id

Static Public Attributes

int STATUS_EXISTING = 1
dictionary STATUS_MAP
int STATUS_ONLINE = 3
int STATUS_STANDBY = 2
int STATUS_UNKNOWN = 0

Private Member Functions

def _CheckMetaSize
def _DevPath
def _GetProcData
def _GetUsedDevs
def _GetVersion
def _MassageProcData
def _SetFromMinor

Static Private Attributes

int _DRBD_MAJOR = 147
string _ST_CONNECTED = "Connected"
string _ST_UNCONFIGURED = "Unconfigured"
string _ST_WFCONNECTION = "WFConnection"
tuple _VERSION_RE

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index