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

Pavlin Radoslavov pavlin@icir.org
Wed, 20 Jul 2005 15:55:45 -0700


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

I don't know, because my memory is failing trying to recollect the
%delete-explicit conversation, and I couldn't find any email that
describes its behavior.

Pavlin

> 
>  - 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
> >
> 
> _______________________________________________
> Xorp-cvs mailing list
> Xorp-cvs@icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs