[Xorp-cvs] XORP cvs commit: xorp/rip

Pavlin Radoslavov pavlin@icir.org
Wed, 25 Jan 2006 05:10:34 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2006-01-25 05:10:34 UTC

XORP CVS repository


Modified files:
	rip           peer.hh redist.hh route_entry.cc route_entry.hh 
	              xrl_rib_notifier.cc 

Log message:
	* Add "is_rib_origin" booleal flag to class RouteEntryOrigin. This
	  flag is set to true if the origin is the RIB.
	
	* Don't redistribute the RIB routes back to the RIB. Otherwise,
	  if we are exporting routes from a protocol X with worse admin
	  distance into RIP, we may end-up with oscillation: if an exported
	  route is added again to RIB as a RIP route, the original route
	  from protocol X won't be a winner anymore, and the RIB will withdraw it
	  from RIP. If the RIP propagates the withdraw back to RIB, then the
	  original route from protocol X will again become a winner, the RIB
	  will add it again to RIP and so on.
	  [Observation made by Atanu Ghosh].
	
	This fixes bugzilla entry #306
	
	Bugzilla URL:   http://www.xorp.org/bugzilla/show_bug.cgi?id=306

Revision  Changes                                Path
1.8       +3 -2;  commitid: 1830143d706567ea6;   xorp/rip/peer.hh
1.7       +2 -2;  commitid: 1830143d706567ea6;   xorp/rip/redist.hh
1.12      +3 -2;  commitid: 1830143d706567ea6;   xorp/rip/route_entry.cc
1.12      +12 -2;  commitid: 1830143d706567ea6;  xorp/rip/route_entry.hh
1.13      +5 -1;  commitid: 1830143d706567ea6;   xorp/rip/xrl_rib_notifier.cc