class documentation

class DRBD8Status(object):

View In Hierarchy

A DRBD status representation class.

Note that this class is meant to be used to parse one of the entries returned from DRBD8Info._JoinLinesPerMinor.

Method __init__ Undocumented
Method __repr__ Undocumented
Constant CS_CONNECTED Undocumented
Constant CS_PAUSEDSYNCS Undocumented
Constant CS_PAUSEDSYNCT Undocumented
Constant CS_STANDALONE Undocumented
Constant CS_STARTINGSYNCS Undocumented
Constant CS_STARTINGSYNCT Undocumented
Constant CS_SYNCSOURCE Undocumented
Constant CS_SYNCTARGET Undocumented
Constant CS_UNCONFIGURED Undocumented
Constant CS_WFBITMAPS Undocumented
Constant CS_WFBITMAPT Undocumented
Constant CS_WFCONNECTION Undocumented
Constant CS_WFREPORTPARAMS Undocumented
Constant CS_WFSYNCUUID Undocumented
Constant CSET_SYNC Undocumented
Constant DS_ATTACHING Undocumented
Constant DS_CONSISTENT Undocumented
Constant DS_DISKLESS Undocumented
Constant DS_DUNKNOWN Undocumented
Constant DS_FAILED Undocumented
Constant DS_INCONSISTENT Undocumented
Constant DS_NEGOTIATING Undocumented
Constant DS_OUTDATED Undocumented
Constant DS_UPTODATE Undocumented
Constant LINE_RE Undocumented
Constant RO_PRIMARY Undocumented
Constant RO_SECONDARY Undocumented
Constant RO_UNKNOWN Undocumented
Constant SYNC_RE Undocumented
Constant UNCONF_RE Undocumented
Instance Variable both_primary Undocumented
Instance Variable both_secondary Undocumented
Instance Variable cstatus Undocumented
Instance Variable est_time Undocumented
Instance Variable is_connected Undocumented
Instance Variable is_disk_uptodate Undocumented
Instance Variable is_diskless Undocumented
Instance Variable is_in_resync Undocumented
Instance Variable is_in_use Undocumented
Instance Variable is_primary Undocumented
Instance Variable is_secondary Undocumented
Instance Variable is_standalone Undocumented
Instance Variable is_unconfigured Undocumented
Instance Variable is_wfconn Undocumented
Instance Variable ldisk Undocumented
Instance Variable lrole Undocumented
Instance Variable peer_disk_uptodate Undocumented
Instance Variable peer_primary Undocumented
Instance Variable peer_secondary Undocumented
Instance Variable rdisk Undocumented
Instance Variable rrole Undocumented
Instance Variable sync_percent Undocumented
def __init__(self, procline):

Undocumented

def __repr__(self):

Undocumented

CS_CONNECTED: str =

Undocumented

Value
'Connected'
CS_PAUSEDSYNCS: str =

Undocumented

Value
'PausedSyncS'
CS_PAUSEDSYNCT: str =

Undocumented

Value
'PausedSyncT'
CS_STANDALONE: str =

Undocumented

Value
'StandAlone'
CS_STARTINGSYNCS: str =

Undocumented

Value
'StartingSyncS'
CS_STARTINGSYNCT: str =

Undocumented

Value
'StartingSyncT'
CS_SYNCSOURCE: str =

Undocumented

Value
'SyncSource'
CS_SYNCTARGET: str =

Undocumented

Value
'SyncTarget'
CS_UNCONFIGURED: str =

Undocumented

Value
'Unconfigured'
CS_WFBITMAPS: str =

Undocumented

Value
'WFBitMapS'
CS_WFBITMAPT: str =

Undocumented

Value
'WFBitMapT'
CS_WFCONNECTION: str =

Undocumented

Value
'WFConnection'
CS_WFREPORTPARAMS: str =

Undocumented

Value
'WFReportParams'
CS_WFSYNCUUID: str =

Undocumented

Value
'WFSyncUUID'
DS_ATTACHING: str =

Undocumented

Value
'Attaching'
DS_CONSISTENT: str =

Undocumented

Value
'Consistent'
DS_DISKLESS: str =

Undocumented

Value
'Diskless'
DS_DUNKNOWN: str =

Undocumented

Value
'DUnknown'
DS_FAILED: str =

Undocumented

Value
'Failed'
DS_INCONSISTENT: str =

Undocumented

Value
'Inconsistent'
DS_NEGOTIATING: str =

Undocumented

Value
'Negotiating'
DS_OUTDATED: str =

Undocumented

Value
'Outdated'
DS_UPTODATE: str =

Undocumented

Value
'UpToDate'
LINE_RE =

Undocumented

Value
re.compile(r'\s*[0-9]+:\s*cs:(\S+)\s+(?:st|ro):([^/]+)/(\S+)\s+ds:([^/]+)/(\S+)\
s+.*$')
RO_PRIMARY: str =

Undocumented

Value
'Primary'
RO_SECONDARY: str =

Undocumented

Value
'Secondary'
RO_UNKNOWN: str =

Undocumented

Value
'Unknown'
SYNC_RE =

Undocumented

Value
re.compile(r'^.*\ssync\'ed:\s*([0-9\.]+)%.*(?:\s|M)finish: ([0-9]+):([0-9]+):([0
-9]+)\s.*$')
UNCONF_RE =

Undocumented

Value
re.compile(r'\s*[0-9]+:\s*cs:Unconfigured$')
both_primary =

Undocumented

both_secondary =

Undocumented

cstatus =

Undocumented

est_time =

Undocumented

is_connected =

Undocumented

is_disk_uptodate =

Undocumented

is_diskless =

Undocumented

is_in_resync =

Undocumented

is_in_use =

Undocumented

is_primary =

Undocumented

is_secondary =

Undocumented

is_standalone =

Undocumented

is_unconfigured =

Undocumented

is_wfconn =

Undocumented

ldisk =

Undocumented

lrole =

Undocumented

peer_disk_uptodate =

Undocumented

peer_primary =

Undocumented

peer_secondary =

Undocumented

rdisk =

Undocumented

rrole =

Undocumented

sync_percent =

Undocumented