FibConfigTableSet (FeaDataPlaneManager& fea_data_plane_manager)
| FibConfigTableSet |
Constructor.
Parameters:
fea_data_plane_manager | the corresponding data plane manager (FeaDataPlaneManager). |
~FibConfigTableSet ()
| ~FibConfigTableSet |
[virtual]
FibConfig& fibconfig ()
| fibconfig |
Get the FibConfig instance.
Returns: the FibConfig instance.
FeaDataPlaneManager& fea_data_plane_manager ()
| fea_data_plane_manager |
Get the FeaDataPlaneManager instance.
Returns: the FeaDataPlaneManager instance.
bool is_running ()
| is_running |
[const virtual]
Test whether this instance is running.
Returns: true if the instance is running, otherwise false.
int start (string& error_msg)
| start |
[pure virtual]
Start operation.
Parameters:
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int stop (string& error_msg)
| stop |
[pure virtual]
Stop operation.
Parameters:
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int start_configuration (string& error_msg)
| start_configuration |
[virtual]
Start a configuration interval.
All modifications to must be within a marked "configuration" interval.
This method provides derived classes with a mechanism to perform any actions necessary before forwarding table modifications can be made.
Parameters:
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int end_configuration (string& error_msg)
| end_configuration |
[virtual]
End of configuration interval.
This method provides derived classes with a mechanism to perform any actions necessary at the end of a configuration, eg write a file.
Parameters:
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int set_table4 (const list<Fte4>& fte_list)
| set_table4 |
[pure virtual]
Set the IPv4 unicast forwarding table.
Parameters:
fte_list | the list with all entries to install into the IPv4 unicast forwarding table. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int delete_all_entries4 ()
| delete_all_entries4 |
[pure virtual]
Delete all entries in the IPv4 unicast forwarding table.
Must be within a configuration interval.
Returns: XORP_OK on success, otherwise XORP_ERROR.
int set_table6 (const list<Fte6>& fte_list)
| set_table6 |
[pure virtual]
Set the IPv6 unicast forwarding table.
Parameters:
fte_list | the list with all entries to install into the IPv6 unicast forwarding table. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int delete_all_entries6 ()
| delete_all_entries6 |
[pure virtual]
Delete all entries in the IPv6 unicast forwarding table.
Must be within a configuration interval.
Returns: XORP_OK on success, otherwise XORP_ERROR.
int mark_configuration_start (string& error_msg)
| mark_configuration_start |
[protected]
Mark start of a configuration.
Parameters:
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
int mark_configuration_end (string& error_msg)
| mark_configuration_end |
[protected]
Mark end of a configuration.
Parameters:
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
bool in_configuration ()
| in_configuration |
[protected const]
bool _is_running | _is_running |
[protected]