[Xorp-cvs] XORP cvs commit: xorp/rtrmgr
Mark Handley
mjh@icir.org
Tue, 5 Jul 2005 20:28:05 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: mjh@xorpc.icir.org 2005-07-05 20:28:05 UTC
XORP CVS repository
Modified files:
rtrmgr conf_tree_node.cc conf_tree_node.hh
template_tree_node.cc
Log message:
Add template file support for extracting the node number of a
configuration node. The template file syntax is "$(#)"
Note that node numbers are not currently guaranteed to have any
meaningful values. However if you load the config from a config file
(as opposed to enter it in xorpsh), the default node numbers will be
vaguely sensible. Any nodes entered from xorpsh current get a node
number of 0.
A proper node number allocation algorithm is next on the to-do list.
Revision Changes Path
1.71 +36 -2; commitid: 2f2842caec847ea6; xorp/rtrmgr/conf_tree_node.cc
1.37 +3 -2; commitid: 2f2842caec847ea6; xorp/rtrmgr/conf_tree_node.hh
1.43 +11 -2; commitid: 2f2842caec847ea6; xorp/rtrmgr/template_tree_node.cc