xorp

PimNodeCli Class Reference

Inheritance diagram for PimNodeCli:
ProtoNodeCli ProtoUnit ProtoState ServiceBase BugCatcher XrlPimNode

List of all members.

Public Member Functions

 PimNodeCli (PimNode &pim_node)
 PimNodeCli::PimNodeCli: : The PIM node to use.
int start ()
 Start the node operation.
int stop ()
 Stop the node operation.
void enable ()
 Enable node operation.
void disable ()
 Disable node operation.
int add_all_cli_commands ()

Private Member Functions

PimNodepim_node () const
string mifset_str (const Mifset &mifset) const
int cli_show_pim_bootstrap (const vector< string > &argv)
int cli_show_pim_bootstrap_rps (const vector< string > &argv)
int cli_show_pim_interface (const vector< string > &argv)
int cli_show_pim_interface_address (const vector< string > &argv)
int cli_show_pim_join (const vector< string > &argv)
int cli_show_pim_join_all (const vector< string > &argv)
int cli_show_pim_mfc (const vector< string > &argv)
int cli_show_pim_neighbors (const vector< string > &argv)
int cli_show_pim_mrib (const vector< string > &argv)
int cli_show_pim_rps (const vector< string > &argv)
int cli_show_pim_scope (const vector< string > &argv)
void cli_print_pim_mre_entries (const IPvXNet &group_range, bool is_print_all)
void cli_print_pim_mfc_entries (const IPvXNet &group_range)
void cli_print_pim_mre (const PimMre *pim_mre)
void cli_print_pim_mfc (const PimMfc *pim_mfc)

Private Attributes

PimNode_pim_node

Constructor & Destructor Documentation

PimNodeCli::PimNodeCli ( PimNode pim_node)

PimNodeCli::PimNodeCli: : The PIM node to use.

PimNodeCli constructor.


Member Function Documentation

void PimNodeCli::disable ( )

Disable node operation.

Disable the node operation.

If an unit is disabled, it cannot be start or pending-start. If the unit was runnning, it will be stop first.

Reimplemented from ProtoState.

void PimNodeCli::enable ( )

Enable node operation.

Enable the node operation.

If an unit is not enabled, it cannot be start, or pending-start.

Reimplemented from ProtoState.

int PimNodeCli::start ( )

Start the node operation.

Returns:
XORP_OK on success, otherwise XORP_ERROR.

Reimplemented from ProtoState.

int PimNodeCli::stop ( )

Stop the node operation.

Returns:
XORP_OK on success, otherwise XORP_ERROR.

Reimplemented from ProtoState.


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