Class representing a Cedar Backup peer.
As with all of the other classes that represent configuration
sections, all of these values are optional. It is up to some
higher-level construct to decide whether everything they need is filled
in. Some validation is done on non-None
assignments
through the use of the Python property()
construct.
|
__init__(self,
name=None,
collectDir=None,
remoteUser=None,
rcpCommand=None,
rshCommand=None,
cbackCommand=None,
managed=False,
managedActions=None,
ignoreFailureMode=None)
Constructor for the RemotePeer class. |
source code
|
|
|
|
|
|
|
|
|
|
|
_getName(self)
Property target used to get the peer name. |
source code
|
|
|
|
|
_getCollectDir(self)
Property target used to get the collect directory. |
source code
|
|
|
|
|
_getRemoteUser(self)
Property target used to get the remote user. |
source code
|
|
|
|
|
_getRcpCommand(self)
Property target used to get the rcp command. |
source code
|
|
|
|
|
_getRshCommand(self)
Property target used to get the rsh command. |
source code
|
|
|
|
|
_getCbackCommand(self)
Property target used to get the cback command. |
source code
|
|
|
|
|
_getManaged(self)
Property target used to get the managed flag. |
source code
|
|
|
|
|
_getManagedActions(self)
Property target used to get the managed actions list. |
source code
|
|
|
|
|
_getIgnoreFailureMode(self)
Property target used to get the ignoreFailure mode. |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|
|
name
Name of the peer, must be a valid hostname.
|
|
collectDir
Collect directory to stage files from on peer.
|
|
remoteUser
Name of backup user on remote peer.
|
|
rcpCommand
Overridden rcp-compatible copy command for peer.
|
|
rshCommand
Overridden rsh-compatible remote shell command for peer.
|
|
cbackCommand
Overridden cback-compatible command to use on remote peer.
|
|
managed
Indicates whether this is a managed peer.
|
|
managedActions
Overridden set of actions that are managed on the peer.
|
|
ignoreFailureMode
Ignore failure mode for peer.
|
Inherited from object :
__class__
|