[Xorp-cvs] XORP cvs commit: xorp/ospf
Atanu Ghosh
atanu at icir.org
Thu Nov 8 12:23:07 PST 2007
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: atanu at xorpc.icir.org 2007-11-08 20:23:07 UTC
XORP CVS repository
Modified files:
ospf routing_table.cc routing_table.hh
Log message:
If the routing computation causes a change in the internal routing
table then updated routes need to be sent to the RIB, either as
add,delete or replace routes. The add, delete and replace route
methods are also an entry point for generating or removing summary
information from other areas. Replace route is implemented as a call
to delete route followed by a call to add route, this works fine for
sending routes to tbe RIB but is causing a problem with summary
generation. A replace operation is currently causing a summary LSA to be
deleted then a new summary LSA to be added back, although the deleted LSA
is correctly set to MaxAge and withdrawn and then a new LSA is
generated, it is generated with the same original sequence number it
would be more efficient and less ambiguous if there was an explicit
summary replace operation.
This current change has added an argument to the add and delete
operations to determine whether a call should be made to the summary
code. The replace operation will still call delete followed by add but
will not call summary delete followed by summary add.
Revision Changes Path
1.64 +14 -12; commitid: 8a554733702a7ea6; xorp/ospf/routing_table.cc
1.44 +4 -3; commitid: 8a554733702a7ea6; xorp/ospf/routing_table.hh
More information about the Xorp-cvs
mailing list