|
|
MfeaNodeCli (MfeaNode& mfea_node)
| MfeaNodeCli |
Constructor for a given MFEA node.
Parameters:
mfea_node | the MfeaNode this node belongs to. |
~MfeaNodeCli ()
| ~MfeaNodeCli |
[virtual]
int start ()
| start |
Start the CLI operation.
Returns: XORP_OK on success, otherwise XORP_ERROR.
int stop ()
| stop |
Stop the CLI operation.
Returns: XORP_OK on success, otherwise XORP_ERROR.
void enable ()
| enable |
Enable node operation.
If an unit is not enabled, it cannot be start, or pending-start.
void disable ()
| disable |
Disable node operation.
If an unit is disabled, it cannot be start or pending-start. If the unit was runnning, it will be stop first.
int add_all_cli_commands ()
| add_all_cli_commands |
Install all MFEA-related CLI commands to the CLI.
Returns: XORP_OK on success, otherwise XORP_ERROR.