xorp

FibConfigTableGet Class Reference

Inheritance diagram for FibConfigTableGet:
FibConfigTableGetDummy FibConfigTableGetIPHelper FibConfigTableGetSysctl

List of all members.

Public Member Functions

 FibConfigTableGet (FeaDataPlaneManager &fea_data_plane_manager)
 Constructor.
virtual ~FibConfigTableGet ()
 Virtual destructor.
FibConfigfibconfig ()
 Get the FibConfig instance.
FeaDataPlaneManagerfea_data_plane_manager ()
 Get the FeaDataPlaneManager instance.
virtual bool is_running () const
 Test whether this instance is running.
virtual int start (string &error_msg)=0
 Start operation.
virtual int stop (string &error_msg)=0
 Stop operation.
virtual int get_table4 (list< Fte4 > &fte_list)=0
 Obtain the IPv4 unicast forwarding table.
virtual int get_table6 (list< Fte6 > &fte_list)=0
 Obtain the IPv6 unicast forwarding table.
virtual int notify_table_id_change (uint32_t new_tbl)=0
 Routing table ID that we are interested in might have changed.

Protected Attributes

bool _is_running

Private Attributes

FibConfig_fibconfig
FeaDataPlaneManager_fea_data_plane_manager

Constructor & Destructor Documentation

FibConfigTableGet::FibConfigTableGet ( FeaDataPlaneManager fea_data_plane_manager) [inline]

Constructor.

Parameters:
fea_data_plane_managerthe corresponding data plane manager (FeaDataPlaneManager).

Member Function Documentation

FeaDataPlaneManager& FibConfigTableGet::fea_data_plane_manager ( ) [inline]

Get the FeaDataPlaneManager instance.

Returns:
the FeaDataPlaneManager instance.
FibConfig& FibConfigTableGet::fibconfig ( ) [inline]

Get the FibConfig instance.

Returns:
the FibConfig instance.
virtual int FibConfigTableGet::get_table4 ( list< Fte4 > &  fte_list) [pure virtual]

Obtain the IPv4 unicast forwarding table.

Parameters:
fte_listthe return-by-reference list with all entries in the IPv4 unicast forwarding table.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implemented in FibConfigTableGetDummy, FibConfigTableGetIPHelper, and FibConfigTableGetSysctl.

virtual int FibConfigTableGet::get_table6 ( list< Fte6 > &  fte_list) [pure virtual]

Obtain the IPv6 unicast forwarding table.

Parameters:
fte_listthe return-by-reference list with all entries in the IPv6 unicast forwarding table.
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implemented in FibConfigTableGetDummy, FibConfigTableGetIPHelper, and FibConfigTableGetSysctl.

virtual bool FibConfigTableGet::is_running ( ) const [inline, virtual]

Test whether this instance is running.

Returns:
true if the instance is running, otherwise false.
virtual int FibConfigTableGet::notify_table_id_change ( uint32_t  new_tbl) [pure virtual]

Routing table ID that we are interested in might have changed.

Maybe something can filter on this for increased efficiency.

Implemented in FibConfigTableGetDummy, FibConfigTableGetIPHelper, and FibConfigTableGetSysctl.

virtual int FibConfigTableGet::start ( string &  error_msg) [pure virtual]

Start operation.

Parameters:
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implemented in FibConfigTableGetDummy, FibConfigTableGetIPHelper, and FibConfigTableGetSysctl.

virtual int FibConfigTableGet::stop ( string &  error_msg) [pure virtual]

Stop operation.

Parameters:
error_msgthe error message (if error).
Returns:
XORP_OK on success, otherwise XORP_ERROR.

Implemented in FibConfigTableGetDummy, FibConfigTableGetIPHelper, and FibConfigTableGetSysctl.


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