Trees | Indices | Help |
|
---|
|
Represents information DRBD exports (usually via /proc/drbd).
An instance of this class is created by one of the CreateFrom... methods.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|||
|
|
|||
_VERSION_RE = re.compile(r"^version: (\d+)\.(\d+)\.(\d+)(?:\.(
|
|||
_VALID_LINE_RE = re.compile("^ *([0-9]+): cs:([^ ]+).*$")
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Return the DRBD version. This will return a dict with keys:
|
Return a list of minor for which information is available. This list is ordered in exactly the order which was found in the underlying data. |
Transform the raw lines into a dictionary based on the minor.
|
|
_VERSION_RE
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Apr 4 13:44:08 2016 | http://epydoc.sourceforge.net |