[Xorp-hackers] transaction fix for nodes shared across modules

Pavlin Radoslavov pavlin at icir.org
Thu Jun 1 11:46:13 PDT 2006


> I've attached a diff file that fixes a problem in the rtrmgr when
> more than one module is assigned (via modinfo) on a common
> node. Xorp only allows a single transaction to be assigned per
> module/node and therefore when more than one module is assigned
> transactions will be grouped once on the last loaded module.
> 
> The fix is the assign actions to transactions based on the module
> and not on the module assigned to the node. This approach allows
> for multiple transactions to execute within the context of the
> same node (on different modules). The following files where
> changed:
> 
> M      master_template_tree_node.cc
> M      module_command.cc
> M      template_commands.cc
> M      module_command.hh
> M      template_commands.h
> 
> The module assignment is stored per action and not per node in
> these changes. The majority of the changes are in passing the
> additional argument.

Mike,

Could you send a short sample template file with a brief description
of how the semantics have changed, so it would be easier to
understand the original issue.

Thanks,
Pavlin



More information about the Xorp-hackers mailing list