[Xorp-cvs] XORP cvs commit: xorp/rtrmgr
Pavlin Radoslavov
pavlin@icir.org
Tue, 4 Oct 2005 06:08:19 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2005-10-04 06:08:19 UTC
XORP CVS repository
Modified files:
rtrmgr cli.cc conf_tree.cc conf_tree_node.cc
conf_tree_node.hh slave_conf_tree_node.cc
slave_conf_tree_node.hh template_tree_node.cc
template_tree_node.hh
Log message:
* Add support for read-only configuration/template nodes.
If a template node is marked as:
%read-only:;
OR
%read-only: "Optional reason for the node being read-only";
then its value (in case of a leaf node that contains a value)
cannot be changed from the default template value.
If a non-leaf node is marked as read-only, then its children
(and the children's children) can be modified.
However, it is unclear what exactly a read-only non-leaf node
means. Currently, a read-only non-leaf node can be added as part
of the initial configuration, but that node itself cannot
be deleted or added later via xorpsh.
* Allow to see the value of a leaf node (only) inside xorpsh by
specifying the path to that node. Now we can see the node even
if it has a default value.
Revision Changes Path
1.96 +79 -23; commitid: 19a0434215107ea6; xorp/rtrmgr/cli.cc
1.44 +9 -1; commitid: 19a0434215107ea6; xorp/rtrmgr/conf_tree.cc
1.87 +80 -17; commitid: 19a0434215107ea6; xorp/rtrmgr/conf_tree_node.cc
1.49 +4 -1; commitid: 19a0434215107ea6; xorp/rtrmgr/conf_tree_node.hh
1.25 +26 -16; commitid: 19a0434215107ea6; xorp/rtrmgr/slave_conf_tree_node.cc
1.17 +5 -3; commitid: 19a0434215107ea6; xorp/rtrmgr/slave_conf_tree_node.hh
1.61 +27 -4; commitid: 19a0434215107ea6; xorp/rtrmgr/template_tree_node.cc
1.37 +7 -1; commitid: 19a0434215107ea6; xorp/rtrmgr/template_tree_node.hh