Branch: refs/heads/master
Home: https://github.com/greearb/xorp.ct
Commit: 5be4d5d4ebc71b724a8e2b82f429660ce8263479
https://github.com/greearb/xorp.ct/commit/5be4d5d4ebc71b724a8e2b82f429660ce8263479
Author: Igor Maravic <[email protected]>
Date: 2012-04-02 (Mon, 02 Apr 2012)
Changed paths:
M xorp/rtrmgr/template_tree_node.cc
M xorp/rtrmgr/template_tree_node.hh
Log Message:
-----------
xorp: rtrmgr: Use node type, when searching for TemplateTreeNode
Use node type when searching for template tree node.
Problem was when we were searching for parent node that have "twin" node,
of the same name and different type. This fix only affects those cases.
Signed-off-by: Igor Maravic <[email protected]>
Commit: 6b706babfe4af9c2f21b18024306fb2e30f543e0
https://github.com/greearb/xorp.ct/commit/6b706babfe4af9c2f21b18024306fb2e30f543e0
Author: Igor Maravic <[email protected]>
Date: 2012-04-02 (Mon, 02 Apr 2012)
Changed paths:
M xorp/rtrmgr/conf_tree_node.cc
M xorp/rtrmgr/conf_tree_node.hh
M xorp/rtrmgr/template_tree_node.cc
M xorp/rtrmgr/template_tree_node.hh
Log Message:
-----------
xorp: rtrmgr: Include new command %unique-in
With %unique-in command we can set the scope in which our variables are unique.
It takes only on parameter - one of variable parents (or some older ancestor).
Before commit can start it will be checked if the variable is unique in given
scope.
If it isn't, error will be returned.
It's only valid for leaf values.
Example template file:
grand-parent @: u32 {
parent @: u32 {
child: u32;
}
}
grand-parent @: u32 {
%create ...
%update ...
parent @: u32 {
%create ...
%update ...
child {
%unique-in: $(grand-parent.@);
%set ...
}
}
}
This template file means that all child nodes in grand-parent's scope should
have unique values.
With this template file this is allowed configuration:
grand-parent 2 {
parent 2 {
child: 3
}
parent 3 {
child: 4
}
}
grand-parent 3 {
parent 2 {
child: 4
}
parent 4 {
child: 5
}
}
This is not allowed configuration:
grand-parent 2 {
parent 2 {
child: 4
}
parent 3 {
child: 4
}
}
grand-parent 3 {
parent 2 {
child: 5
}
}
Signed-off-by: Igor Maravic <[email protected]>
Commit: ee419281d34016998f9318c9843753d8c13e91de
https://github.com/greearb/xorp.ct/commit/ee419281d34016998f9318c9843753d8c13e91de
Author: Igor Maravic <[email protected]>
Date: 2012-04-02 (Mon, 02 Apr 2012)
Changed paths:
M xorp/rtrmgr/template_tree_node.cc
Log Message:
-----------
xorp: rtrmgr: Fix searching for parents children
Fixed searching for parent's children, so now children, that aren't multi-value
nodes,
of some parent could be accessed.
Syntax for accessing parent's children is:
parent.child1.child2.@
Please note that child1 can't be multi-value node!
Commit: 75b61ef9d809669b9ba706da5f35e7d14c350642
https://github.com/greearb/xorp.ct/commit/75b61ef9d809669b9ba706da5f35e7d14c350642
Author: Igor Maravic <[email protected]>
Date: 2012-04-02 (Mon, 02 Apr 2012)
Changed paths:
M xorp/fea/data_plane/io/io_ip_dummy.cc
M xorp/fea/data_plane/io/io_ip_dummy.hh
M xorp/fea/data_plane/io/io_ip_socket.cc
M xorp/fea/data_plane/io/io_ip_socket.hh
M xorp/fea/io_ip.cc
M xorp/fea/io_ip.hh
M xorp/fea/io_ip_manager.cc
M xorp/fea/io_ip_manager.hh
Log Message:
-----------
trivial: ws fixes
Signed-off-by: Igor Maravic <[email protected]>
Commit: 7890073e08d4cc50ed5ce309e7a843c48ba67896
https://github.com/greearb/xorp.ct/commit/7890073e08d4cc50ed5ce309e7a843c48ba67896
Author: Igor Maravic <[email protected]>
Date: 2012-04-02 (Mon, 02 Apr 2012)
Changed paths:
M xorp/fea/data_plane/io/io_ip_dummy.cc
M xorp/fea/data_plane/io/io_ip_dummy.hh
M xorp/fea/data_plane/io/io_ip_socket.cc
M xorp/fea/data_plane/io/io_ip_socket.hh
M xorp/fea/io_ip.hh
M xorp/fea/io_ip_manager.cc
M xorp/fea/io_ip_manager.hh
Log Message:
-----------
xorp: fea: Create input socket before registering multicast listener
Enabled creation of input socket before calling the function
join_multicast group().
This enable us to get packages from the interface even if we
didn't registered multicast listener on if/vif.
Signed-off-by: Igor Maravic <[email protected]>
Compare: https://github.com/greearb/xorp.ct/compare/135772b...7890073
_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers