class External

Handle AS-external-LSAs. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Handle AS-external-LSAs.

 External (Ospf<A>& ospf, map<OspfTypes::AreaID, AreaRouter<A> *>& areas)

External

bool  announce (OspfTypes::AreaID area, Lsa::LsaRef lsar)

announce

Candidate for announcing to other areas. Store this LSA for future replay into other areas. Also arrange for the MaxAge timer to start running.

Parameters:

areathe AS-external-LSA came from.

Returns: true if this LSA should be propogated to other areas.

bool  announce_complete (OspfTypes::AreaID area)

announce_complete

Called to complete a series of calls to announce().

void  push (AreaRouter<A> *area_router)

push

Provide this area with the stored AS-external-LSAs.

bool  announce (IPNet<A> net, A nexthop, uint32_t metric, const PolicyTags& policytags)

announce

A true external route redistributed from the RIB (announce).

bool  withdraw (const IPNet<A>& net)

withdraw

A true external route redistributed from the RIB (withdraw).

bool  clear_database ()

clear_database

Clear the AS-external-LSA database.

void  suppress_lsas (OspfTypes::AreaID area)

suppress_lsas

Suppress or remove AS-external-LSAs that are originated by this router that should yield to externally generated AS-external-LSAs as described in RFC 2328 Section 12.4.4. By time this method is called the routing table should have been updated so it should be clear if the other router is reachable.

void  suppress_route_announce (OspfTypes::AreaID area, IPNet<A> net, RouteEntry<A>& rt)

suppress_route_announce

A route has just been added to the routing table.

void  suppress_route_withdraw (OspfTypes::AreaID area, IPNet<A> net, RouteEntry<A>& rt)

suppress_route_withdraw

A route has just been withdrawn from the routing table.

bool  as_boundary_router_p ()

as_boundary_router_p

[const]

Is this an AS boundary router?

void  push_routes ()

push_routes

Re-run the policy filters on all routes.


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:07 2009, using kdoc 2.0a54+XORP.