xorp

IfMgrIPv4AtomToCommands Class Reference

Class to convert an IfMgrIPv4Atom object into a sequence of commands. More...

#include <ifmgr_cmd_queue.hh>

List of all members.

Public Member Functions

 IfMgrIPv4AtomToCommands (const string &ifn, const string &vifn, const IfMgrIPv4Atom &a)
 Constructor.
void convert (IfMgrCommandSinkBase &sink) const
 Convert the entire contents of IfMgrIfTree object to a sequence of configuration commands.

Protected Attributes

const string & _ifn
const string & _vifn
const IfMgrIPv4Atom_a

Detailed Description

Class to convert an IfMgrIPv4Atom object into a sequence of commands.


Constructor & Destructor Documentation

IfMgrIPv4AtomToCommands::IfMgrIPv4AtomToCommands ( const string &  ifn,
const string &  vifn,
const IfMgrIPv4Atom a 
) [inline]

Constructor.

Parameters:
ifnthe name of the interface the vif owning the address belongs to.
vifnthe name of the vif owning the address.
aaddress atom to be converted into a sequence of commands.

Member Function Documentation

void IfMgrIPv4AtomToCommands::convert ( IfMgrCommandSinkBase sink) const

Convert the entire contents of IfMgrIfTree object to a sequence of configuration commands.

Parameters:
sinkoutput target for commands that would generate interface state.

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations