xorp

IfMgrVifSetVifIndex Class Reference

Command to associate a virtual interface id with a virtual interface. More...

#include <ifmgr_cmds.hh>

Inheritance diagram for IfMgrVifSetVifIndex:
IfMgrVifCommandBase IfMgrIfCommandBase IfMgrCommandBase

List of all members.

Public Member Functions

 IfMgrVifSetVifIndex (const string &ifname, const string &vifname, uint32_t vif_index)
uint32_t vif_index () const
bool execute (IfMgrIfTree &tree) const
 Execute Command to interface tree.
bool forward (XrlSender &sender, const string &xrl_target, const IfMgrXrlSendCB &xscb) const
 Forward Command as an Xrl call to a remote target.
string str () const
 Render command as string.

Protected Attributes

uint32_t _vif_index

Detailed Description

Command to associate a virtual interface id with a virtual interface.


Member Function Documentation

bool IfMgrVifSetVifIndex::execute ( IfMgrIfTree tree) const [virtual]

Execute Command to interface tree.

Returns:
true on success, false on failure.

Implements IfMgrCommandBase.

bool IfMgrVifSetVifIndex::forward ( XrlSender sender,
const string &  xrl_target,
const IfMgrXrlSendCB &  xscb 
) const [virtual]

Forward Command as an Xrl call to a remote target.

Parameters:
senderxrl router to use as the command sender.
xrl_targetthe target to direct the command to.
xscbcallback to invoke with Xrl result.
Returns:
true on success, false on failure.

Implements IfMgrCommandBase.


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