class IfMgrXrlReplicationManager
|
Class that builds and maintains replicator state for
multiple remote targets.
More... |
|
|
Public Types
- typedef IfMgrCommandSinkBase::Cmd Cmd
Public Methods
IfMgrXrlReplicationManager (XrlRouter& rtr)
| IfMgrXrlReplicationManager |
~IfMgrXrlReplicationManager ()
| ~IfMgrXrlReplicationManager |
bool add_mirror (const string& xrl_target_name)
| add_mirror |
Add a remote mirror. The name of the mirror is added to list
of known targets and immediately sent a copy of the
configuration tree.
Parameters:
xrl_target_name | target to be added.
|
Returns: true on success, false if target already exists.
bool remove_mirror (const string& xrl_target_name)
| remove_mirror |
Remove remote mirror.
Parameters:
xrl_target_name | target to be removed.
|
void push (const Cmd& c)
| push |
Apply command to local configuration tree and forward Xrls to
targets to replicate state remotely if application to local tree
succeeds.
Reimplemented from IfMgrCommandSinkBase.
[const]
Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:02 2005, using kdoc $.