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

Mark Handley m.handley@cs.ucl.ac.uk
Wed, 20 Jul 2005 08:42:23 +0100


Sounds like this is different from the %delete-explicit behaviour I
suggested before.

 - Marj

On 7/20/05, Pavlin Radoslavov <pavlin@icir.org> wrote:
> CVSROOT:        /usr/local/share/doc/apache/cvs
> Module name:    xorp
> Changes by:     pavlin@xorpc.icir.org   2005-07-20 01:55:06 UTC
> 
> XORP CVS repository
> 
> 
> Modified files:
>         rtrmgr        conf_tree_node.cc
> 
> Log message:
>         If we are deleting a subtree, then mark the whole subtree so
>         later the scanning of the tree will invoke the appropriate
>         method for each node.
> 
>         Note that this changes the %delete semantics for the rtrmgr template
>         trees (per other developers' request).
> 
>         Now if a node that is deleted does not have a %delete command, then
>         the %delete commands of its children are called instead.
>         This rule is applied recursively for each child that does not have
>         a %delete command.
> 
>         Previously, we had to add practically almost everywhere %delete methods
>         (in each level of the template tree hierarchy) otherwise deleting
>         a non-leaf node with no %delete method wouldn't invoke the %delete methods
>         below it.
> 
> Revision  Changes                               Path
> 1.74      +7 -1;  commitid: 17b6f42ddacd47ea6;  xorp/rtrmgr/conf_tree_node.cc
> _______________________________________________
> Xorp-cvs mailing list
> Xorp-cvs@icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs
>