class PolicyRedistMap

A Map between policytags and where the route should be redistributed. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

This map normally resides in the RIB. As routes pass through the rib, their policytags need to be analyzed. According to these tags, the route must be sent to various routing protocols to enable export policies.

 PolicyRedistMap ()

PolicyRedistMap

 ~PolicyRedistMap ()

~PolicyRedistMap

void  insert (const string& protocol, const PolicyTags& tags)

insert

Configure redistribution to a protcol for these tags.

Parameters:

protocoldestination protocol for these tags.
tagspolicytags which need to be redistributed to the protocol.
void  reset ()

reset

Reset the redistribution map

void  get_protocols (set<string>& out, const PolicyTags& tags)

get_protocols

Obtain which protocols the route containing these tags should be sent to.

Parameters:

outwill be filled with protocols route should be sent to.
tagspolicytags that need to be resolved.

Generated by: pavlin on possum.icir.org on Wed Mar 21 11:23:40 2007, using kdoc $.