class MfeaNodeCli

The class for MfeaNode CLI access. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 MfeaNodeCli (MfeaNode& mfea_node)

MfeaNodeCli

Constructor for a given MFEA node.

Parameters:

mfea_nodethe MfeaNode this node belongs to.
 ~MfeaNodeCli ()

~MfeaNodeCli

[virtual]

Destructor

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.


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:19 2006, using kdoc $.