|
xorp
|
Public Member Functions | |
| FibConfigTableGet (FeaDataPlaneManager &fea_data_plane_manager) | |
| Constructor. | |
| virtual | ~FibConfigTableGet () |
| Virtual destructor. | |
| FibConfig & | fibconfig () |
| Get the FibConfig instance. | |
| FeaDataPlaneManager & | fea_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 |
| FibConfigTableGet::FibConfigTableGet | ( | FeaDataPlaneManager & | fea_data_plane_manager | ) | [inline] |
Constructor.
| fea_data_plane_manager | the corresponding data plane manager (FeaDataPlaneManager). |
| FeaDataPlaneManager& FibConfigTableGet::fea_data_plane_manager | ( | ) | [inline] |
Get the FeaDataPlaneManager instance.
| FibConfig& FibConfigTableGet::fibconfig | ( | ) | [inline] |
| virtual int FibConfigTableGet::get_table4 | ( | list< Fte4 > & | fte_list | ) | [pure virtual] |
Obtain the IPv4 unicast forwarding table.
| fte_list | the return-by-reference list with all entries in the IPv4 unicast forwarding table. |
Implemented in FibConfigTableGetDummy, FibConfigTableGetIPHelper, and FibConfigTableGetSysctl.
| virtual int FibConfigTableGet::get_table6 | ( | list< Fte6 > & | fte_list | ) | [pure virtual] |
Obtain the IPv6 unicast forwarding table.
| fte_list | the return-by-reference list with all entries in the IPv6 unicast forwarding table. |
Implemented in FibConfigTableGetDummy, FibConfigTableGetIPHelper, and FibConfigTableGetSysctl.
| virtual bool FibConfigTableGet::is_running | ( | ) | const [inline, virtual] |
Test whether this instance is running.
| 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.
| error_msg | the error message (if error). |
Implemented in FibConfigTableGetDummy, FibConfigTableGetIPHelper, and FibConfigTableGetSysctl.
| virtual int FibConfigTableGet::stop | ( | string & | error_msg | ) | [pure virtual] |
Stop operation.
| error_msg | the error message (if error). |
Implemented in FibConfigTableGetDummy, FibConfigTableGetIPHelper, and FibConfigTableGetSysctl.