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

Pavlin Radoslavov pavlin@icir.org
Thu, 3 Nov 2005 08:50:01 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-11-03 08:50:00 UTC

XORP CVS repository


Modified files:
	rib           xrl_target.cc 

Log message:
	Automatically assign the vif flags when a new vif is added
	by the rib/0.1/new_vif XRL. This XRL interface remains only
	for testing purpose and should go away in the future.
	
	Hence, instead of expanding this XRL interface (and to risk to
	break the test scripts that use it), for simplicity we just
	assign the vif flags internally with the appropriate values.
	
	Previously, vifs added with this test XRL interface (e.g., by
	some of the BGP test scripts) were considered DOWN.
	After the recent RIB refactoring to consider the UP/DOWN vif flag,
	some of those tests were failing because the RIB didn't have any
	interfaces that are UP.
	
	Bug found by:   Atanu Ghosh

Revision  Changes                               Path
1.55      +13 -1;  commitid: 8abb4369ce1b7ea6;  xorp/rib/xrl_target.cc