class PolicyTableImport

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

 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, const A& peer, const A& self)



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


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


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 on Wed Jan 7 19:11:04 2009, using kdoc 2.0a54+XORP.