class XrlQueue

Helper class to queue route adds and deletes to the RIB. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 XrlQueue (EventLoop& eventloop, XrlRouter& xrl_router)

XrlQueue

void  set_io (XrlIO* io)

set_io

void  queue_add_route (string ribname, const IPv4Net& net, const IPv4& nexthop, uint32_t nexthop_id, uint32_t metric, const PolicyTags& policytags)

queue_add_route

Queue a route add to the RIB.

Parameters:

ribnamethe name of the RIB XRL target to send to.
netthe destination.
nexthopthe next hop.
nexthop_idthe libfeaclient ID of the outward interface.
metricthe route metric.
policytagsThe policy tags for the route.
void  queue_delete_route (string ribname, const IPv4Net& net)

queue_delete_route

Queue a route delete to the RIB.

Parameters:

ribnamethe name of the RIB XRL target to send to.
netthe destination.
bool  busy ()

busy

Returns: true if RIB commands are currently in flight.


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:15 2009, using kdoc 2.0a54+XORP.