No subject



Sun Nov 16 16:21:51 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Sun, 16 Nov 2003 16:22:10 -0800
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.9p1/8.12.3) with ESMTP id hAH0M9pt009084
	for <atanu@tigger.icir.org>; Sun, 16 Nov 2003 16:22:09 -0800 (PST)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.icsi.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.9p1/8.12.3) with ESMTP id hAH0M5Ns009959;
	Sun, 16 Nov 2003 16:22:05 -0800 (PST)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.icsi.Berkeley.EDU (localhost [127.0.0.1])
	by fruitcake.icsi.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id hAH0M1iK021621;
	Sun, 16 Nov 2003 16:22:01 -0800 (PST)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by fruitcake.icsi.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id hAH0LpiK021605
	for <xorp-cvs@icsi.berkeley.edu>; Sun, 16 Nov 2003 16:21:51 -0800 (PST)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.9p1/8.12.3) with ESMTP id hAH0LpNs009955
	for <xorp-cvs@icir.org>; Sun, 16 Nov 2003 16:21:51 -0800 (PST)
	(envelope-from pavlin@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.9p1/8.12.3) with ESMTP id hAH0LpFw037429
	for <xorp-cvs@icir.org>; Sun, 16 Nov 2003 16:21:51 -0800 (PST)
	(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
	by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id hAH0LpGb037428;
	Sun, 16 Nov 2003 16:21:51 -0800 (PST)
	(envelope-from pavlin)
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200311170021.hAH0LpGb037428@xorpc.icir.org>
Date:     Sun, 16 Nov 2003 16:21:51  ()
To: xorp-cvs@icir.org
Reply-To: pavlin@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/etc/templates/ bgp.tp fea.tp ospf.tp rib.tp snmp.tp  xorp/rtrmgr/ conf_tree_node.cc conf_tree_node.hh  	              module_command.cc module_command.hh  	              template_commands.cc template_commands.hh  	              template_tree.cc template_tree_node.cc  ...template_tree_node.hh
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>

CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Repository:	xorp/rtrmgr/
Changes by:	pavlin@xorpc.icir.org.	03/11/16 16:21:51

Modified files:
	xorp/etc/templates/: bgp.tp fea.tp ospf.tp rib.tp snmp.tp 
	xorp/rtrmgr/: conf_tree_node.cc conf_tree_node.hh 
	              module_command.cc module_command.hh 
	              template_commands.cc template_commands.hh 
	              template_tree.cc template_tree_node.cc 
	              template_tree_node.hh 

Log message:
	Add support for optional configuration of the the XRL target name
	rather than always using a hardcoded value.
	At high-level, the modification is:
	
	* Added new variable "targetname: text" to each template in
	etc/templates/*.tp, and set its default value as
	appropriate.
	
	* All XRL specifications in the template files are modified
	to use the above variable. E.g.:
	OLD: %get: xrl "bgp/bgp/0.2/get_bgp_id->id:ipv4";
	NEW: %get: xrl "$(bgp.targetname)/bgp/0.2/get_bgp_id->id:ipv4";
	
	The new specification of a target name is not mandatory,
	hence the old specification is also acceptable.
	
	* Added a new %modinfo subcommand. E.g.:
	%modinfo: default_targetname "bgp";
	
	This subcommand is used to specify the value of the XRL target
	name that should be used by default when validating an XRL
	specification (e.g., if that specification uses a variable
	inside that module to specify the XRL target name).
	
	The syntax of the router manager configuration file is not affected,
	hence they don't need modification. Only if the default target name
	of a module needs to be overwritten, then a configuration file should
	contain variable "targetname" with the appropriate new value.

_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs