|
xorp
|
Command to set prefix of a virtual interface interface address. More...
#include <ifmgr_cmds.hh>
Public Member Functions | |
| IfMgrIPv4SetPrefix (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t prefix_len) | |
| uint32_t | prefix_len () 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 | _prefix_len |
Command to set prefix of a virtual interface interface address.
| bool IfMgrIPv4SetPrefix::execute | ( | IfMgrIfTree & | tree | ) | const [virtual] |
Execute Command to interface tree.
Implements IfMgrCommandBase.
| bool IfMgrIPv4SetPrefix::forward | ( | XrlSender & | sender, |
| const string & | xrl_target, | ||
| const IfMgrXrlSendCB & | xscb | ||
| ) | const [virtual] |