xorp
|
Command to set enabled condition on a virtual interface. More...
#include <ifmgr_cmds.hh>
Public Member Functions | |
IfMgrVifSetEnabled (const string &ifname, const string &vifname, bool enabled) | |
bool | enabled () 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 | |
bool | _enabled |
Command to set enabled condition on a virtual interface.
bool IfMgrVifSetEnabled::execute | ( | IfMgrIfTree & | tree | ) | const [virtual] |
Execute Command to interface tree.
Implements IfMgrCommandBase.
bool IfMgrVifSetEnabled::forward | ( | XrlSender & | sender, |
const string & | xrl_target, | ||
const IfMgrXrlSendCB & | xscb | ||
) | const [virtual] |