class PolicyRedistMap
|
A Map between policytags and where the route should be redistributed.
More... |
|
|
Public Methods
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:
protocol | destination protocol for these tags.
|
tags | policytags which need to be redistributed to the protocol.
|
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:
out | will be filled with protocols route should be sent to.
|
tags | policytags that need to be resolved.
|
Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:25 2006, using kdoc $.