|
|
Based on the policy-tags in a route, this table will request a protocol to start or end a redistribution of a route, depending whether the route is being added or deleted.
static const string table_name | table_name |
PolicyRedistTable (RouteTable<A>* parent, XrlRouter& rtr, PolicyRedistMap&,
bool multicast)
| PolicyRedistTable |
int add_route (const IPRouteEntry<A>& route, RouteTable<A>* caller)
| add_route |
Reimplemented from RouteTable.
int delete_route (const IPRouteEntry<A>* route, RouteTable<A>* caller)
| delete_route |
Reimplemented from RouteTable.
const IPRouteEntry<A>* lookup_route (const IPNet<A>& net)
| lookup_route |
[const]
Reimplemented from RouteTable.
const IPRouteEntry<A>* lookup_route (const A& addr)
| lookup_route |
[const]
Reimplemented from RouteTable.
RouteRange<A>* lookup_route_range (const A& addr)
| lookup_route_range |
[const]
Reimplemented from RouteTable.
TableType type ()
| type |
[const]
Reimplemented from RouteTable.
RouteTable<A>* parent ()
| parent |
Reimplemented from RouteTable.
void replumb (RouteTable<A>* old_parent, RouteTable<A>* new_parent)
| replumb |
Reimplemented from RouteTable.
string str ()
| str |
[const]
Reimplemented from RouteTable.
void xrl_cb (const XrlError&, string)
| xrl_cb |
void replace_policytags (const IPRouteEntry<A>& route,
const PolicyTags& prevtags,
RouteTable<A>* caller)
| replace_policytags |
If policy-tags of a route changed, this table will need to figure out which protocol should stop advertising a route, and which protocol should continue or start.
Parameters:
route | the route with its new policy tags. |
prevtags | the previous policytags of the route. |
caller | the table which invoked this method. |
Reimplemented from RouteTable.