Trees | Indices | Help |
|
---|
|
A DRBD status representation class.
Note that this class is meant to be used to parse one of the entries returned from DRBD8Info._JoinLinesPerMinor.
|
|||
|
|||
|
|||
Inherited from |
|
|||
UNCONF_RE = re.compile(r"\s*[0-9]+:\s*cs:Unconfigured$")
|
|||
LINE_RE = re.compile(r"\s*[0-9]+:\s*cs:(\S+)\s+(?:st|ro):([^/]
|
|||
SYNC_RE = re.compile(r"^.*\ssync'ed:\s*([0-9.]+)%.*" r"(?:\s|M
|
|||
CS_UNCONFIGURED = "Unconfigured"
|
|||
CS_STANDALONE = "StandAlone"
|
|||
CS_WFCONNECTION = "WFConnection"
|
|||
CS_WFREPORTPARAMS = "WFReportParams"
|
|||
CS_CONNECTED = "Connected"
|
|||
CS_STARTINGSYNCS = "StartingSyncS"
|
|||
CS_STARTINGSYNCT = "StartingSyncT"
|
|||
CS_WFBITMAPS = "WFBitMapS"
|
|||
CS_WFBITMAPT = "WFBitMapT"
|
|||
CS_WFSYNCUUID = "WFSyncUUID"
|
|||
CS_SYNCSOURCE = "SyncSource"
|
|||
CS_SYNCTARGET = "SyncTarget"
|
|||
CS_PAUSEDSYNCS = "PausedSyncS"
|
|||
CS_PAUSEDSYNCT = "PausedSyncT"
|
|||
CSET_SYNC = compat.UniqueFrozenset([CS_WFREPORTPARAMS, CS_STAR
|
|||
DS_DISKLESS = "Diskless"
|
|||
DS_ATTACHING = "Attaching"
|
|||
DS_FAILED = "Failed"
|
|||
DS_NEGOTIATING = "Negotiating"
|
|||
DS_INCONSISTENT = "Inconsistent"
|
|||
DS_OUTDATED = "Outdated"
|
|||
DS_DUNKNOWN = "DUnknown"
|
|||
DS_CONSISTENT = "Consistent"
|
|||
DS_UPTODATE = "UpToDate"
|
|||
RO_PRIMARY = "Primary"
|
|||
RO_SECONDARY = "Secondary"
|
|||
RO_UNKNOWN = "Unknown"
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
repr(x)
|
|
LINE_RE
|
SYNC_RE
|
CSET_SYNC
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jan 7 16:23:46 2016 | http://epydoc.sourceforge.net |