class PolicyRedistTable

This table redistributes routes to protocols according to policytags. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Members


Detailed Description

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:

routethe route with its new policy tags.
prevtagsthe previous policytags of the route.
callerthe table which invoked this method.

Reimplemented from RouteTable.


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:20 2005, using kdoc $.