|
|
Class for managing clients interested in FIB changes notifications.
XrlFibClientManager (FibConfig& fibconfig,
XrlRouter& xrl_router)
| XrlFibClientManager |
Constructor
Parameters:
fibconfig | the FibConfig configuration object (FibConfig). |
~XrlFibClientManager ()
| ~XrlFibClientManager |
EventLoop& eventloop ()
| eventloop |
Get a reference to the EventLoop instance.
Returns: a reference to the EventLoop instance.
void process_fib_changes (const list<Fte4>& fte_list)
| process_fib_changes |
Process a list of IPv4 FIB route changes.
The FIB route changes come from the underlying system.
Parameters:
fte_list | the list of Fte entries to add or delete. |
Reimplemented from FibTableObserverBase.
void process_fib_changes (const list<Fte6>& fte_list)
| process_fib_changes |
Process a list of IPv6 FIB route changes.
The FIB route changes come from the underlying system.
Parameters:
fte_list | the list of Fte entries to add or delete. |
Reimplemented from FibTableObserverBase.
XrlCmdError add_fib_client4 (const string& client_target_name,
const bool send_updates,
const bool send_resolves)
| add_fib_client4 |
Add an IPv4 FIB client.
Parameters:
client_target_name | the target name of the client to add. |
send_updates | whether updates should be sent. |
send_resolves | whether resolve requests should be sent. |
Returns: the XRL command error.
XrlCmdError add_fib_client6 (const string& client_target_name,
const bool send_updates,
const bool send_resolves)
| add_fib_client6 |
Add an IPv6 FIB client.
Parameters:
client_target_name | the target name of the client to add. |
send_updates | whether updates should be sent. |
send_resolves | whether resolve requests should be sent. |
Returns: the XRL command error.
XrlCmdError delete_fib_client4 (const string& client_target_name)
| delete_fib_client4 |
Delete an IPv4 FIB client.
Parameters:
client_target_name | the target name of the client to delete. |
Returns: the XRL command error.
XrlCmdError delete_fib_client6 (const string& client_target_name)
| delete_fib_client6 |
Delete an IPv6 FIB client.
Parameters:
client_target_name | the target name of the client to delete. |
Returns: the XRL command error.
int send_fib_client_add_route (const string& target_name,
const Fte4& fte)
| send_fib_client_add_route |
Send an XRL to a FIB client to add an IPv4 route.
Parameters:
target_name | the target name of the FIB client. |
fte | the Fte with the route information to add. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
See also: Fte4.
int send_fib_client_add_route (const string& target_name,
const Fte6& fte)
| send_fib_client_add_route |
Send an XRL to a FIB client to add an IPv6 route.
Parameters:
target_name | the target name of the FIB client. |
fte | the Fte with the route information to add. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
See also: Fte6.
int send_fib_client_delete_route (const string& target_name,
const Fte4& fte)
| send_fib_client_delete_route |
Send an XRL to a FIB client to delete an IPv4 route.
Parameters:
target_name | the target name of the FIB client. |
fte | the Fte with the route information to delete. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
See also: Fte4.
int send_fib_client_delete_route (const string& target_name,
const Fte6& fte)
| send_fib_client_delete_route |
Send an XRL to a FIB client to delete an IPv6 route.
Parameters:
target_name | the target name of the FIB client. |
fte | the Fte with the route information to delete. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
See also: Fte6.
int send_fib_client_resolve_route (const string& target_name,
const Fte4& fte)
| send_fib_client_resolve_route |
Send an XRL to a FIB client to inform it of an IPv4 route miss.
Parameters:
target_name | the target name of the FIB client. |
fte | the Fte with the destination to resolve. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
See also: Fte4.
int send_fib_client_resolve_route (const string& target_name,
const Fte6& fte)
| send_fib_client_resolve_route |
Send an XRL to a FIB client to inform it of an IPv6 route miss.
Parameters:
target_name | the target name of the FIB client. |
fte | the Fte with the destination to resolve. |
Returns: XORP_OK on success, otherwise XORP_ERROR.
See also: Fte6.
FibConfig& _fibconfig | _fibconfig |
[protected]