Base class for DRBD command generators.
This class defines the interface for the command generators and holds
shared code.
|
__init__(self,
version)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
GenLocalInitCmds(self,
minor,
data_dev,
meta_dev,
size_mb,
params) |
source code
|
|
|
GenNetInitCmd(self,
minor,
family,
lhost,
lport,
rhost,
rport,
protocol,
dual_pri,
hmac,
secret,
params) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GenDisconnectCmd(self,
minor,
family,
lhost,
lport,
rhost,
rport) |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|