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

Pavlin Radoslavov pavlin@icir.org
Tue, 1 Nov 2005 18:55:57 GMT


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

XORP CVS repository


Modified files:
	rtrmgr        conf_tree_node.cc conf_tree_node.hh 

Log message:
	* Add new method ConfigTreeNode::set_value_without_verification()
	  that allows setting the value of a configuration node without
	  internal verification.
	  The value of that node can be verified at later stage with the
	  new method ConfigTreeNode::check_allowed_value(string& error_msg).
	
	  Note that currently we don't really need this method in vanilla XORP,
	  because we always use the existing set_value() method that internally
	  verifies the value and eventually rejects it if it is invalud.
	  However, the new set_value_without_verification() method provides
	  more design freedom to us if we modify the xorpsh design and
	  to other developers if they are to use the xorpsh/rtrmgr code as a
	  library.
	
	* Minor cleanup.
	
	Submitted by:   Marat Nepomnyashy

Revision  Changes                                Path
1.98      +23 -9;  commitid: 12d844367b7e87ea6;  xorp/rtrmgr/conf_tree_node.cc
1.57      +3 -1;  commitid: 12d844367b7e87ea6;   xorp/rtrmgr/conf_tree_node.hh