Hi
I am trying to delete a top level tree item with no success
For example using the following template file in xorp-ct Version 1.8-CT
bridges{
bridge @: txt {
}
}
bridges{
%modinfo:provides brdg;
%modinfo:default_targetname "brdg";
bridge @: txt {
%create: xrl "brdg/brdg/0.1/bridge_add?bridge:txt=$(@)";
%delete: xrl "brdg/brdg/0.1/bridge_delete?bridge:txt=$(@)";
}
}
In xorpsh running
root@XORP# delete bridges
Deleting:
bridges {
bridge one {
}
}
OK
[edit]
root@XORP# commit
OK
[edit]
Doesn't call the child's bridge(one) bridge_delete() method has expected
On the other hand running
root@XORP# delete bridges bridge one
Deleting:
one {
}
OK
[edit]
root@XORP# commit
OK
[edit]
Works OK calling has expected the bridge_delete() method
What is wrong here
Thanks for your help
Uri
_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers