class PolicyTableImport

Import policy tables also deal with propagating policy route dumps. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Import tables will detect policy route dumps [NULL in dump_peer]. It will then transport the dump to an add/delete/request based on the outcome of the filter.

 PolicyTableImport (const string& tablename, const Safi& safi, BGPRouteTable<A>* parent, PolicyFilters& pfs)

PolicyTableImport

Parameters:

tablenamename of the table.
safithe safe.
parentparent table.
pfsa reference to the global policy filters.
int  route_dump (const InternalMessage<A> &rtmsg, BGPRouteTable<A> *caller, const PeerHandler *dump_peer)

route_dump

If dump_peer is null, then it is a policy route dump and we need to deal with it.

Parameters:

rtmsgroute being dumped.
callertable that called this method.
dump_peerpeer we are dumping to. If policy dump, it will be NULL.

Returns: ADD_FILTERED if route is rejected. XORP_OK otherwise.

Reimplemented from PolicyTable.


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