[Xorp-cvs] XORP cvs commit: xorp/fea xorp/fea/tools

Pavlin Radoslavov pavlin@icir.org
Tue, 18 Oct 2005 01:03:19 GMT


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2005-10-18 01:03:19 UTC

XORP CVS repository


Modified files:
	fea           ifconfig_set.cc 
	fea/tools     show_interfaces.cc 

Log message:
	* Don't explicitly disable the vif inside the iftree with the
	  configuration if the interface is disabled, because such internal
	  modification will result in FEA configuration that is
	  out-of-sync from the rtrmgr configuration.
	  Similarly, don't explicitly disable the interface addresses inside
	  the iftree if the vif is disabled.
	
	  In any case, when we are pushing the interface configuration,
	  we consider the interface "enabled" flag when we manipulate the vifs,
	  and we consider the interface and vif "enabled" flags when we
	  manipulate the addresses so we don't need to modify the iftree
	  itself.
	
	* When printing the network interface status by the "show_interfaces"
	  command, an interface/vif is printed as ENABLED only if both
	  the interface and the vif "enabled" flags are true.
	
	This fixes bugzilla entry #196
	
	Bugzilla URL:   http://www.xorp.org/bugzilla/show_bug.cgi?id=196

Revision  Changes                               Path
1.34      +1 -10;  commitid: 3f58435448a77ea6;  xorp/fea/ifconfig_set.cc
1.15      +2 -2;  commitid: 3f58435448a77ea6;   xorp/fea/tools/show_interfaces.cc