[Xorp-cvs] XORP cvs commit: xorp/rtrmgr
Pavlin Radoslavov
pavlin@icir.org
Fri, 8 Jul 2005 16:42:36 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2005-07-08 16:42:36 UTC
XORP CVS repository
Modified files:
rtrmgr master_conf_tree.cc master_conf_tree.hh task.cc
task.hh xrl_rtrmgr_interface.cc
Log message:
* Add support for setting the execution ID (user ID and group ID)
when the router is reconfigured or when we load or save the
configuration via running external programs.
Note that the setting of the execution ID does not apply for
running the XORP processes (e.g., xorp_fea, etc). Instead, it
applies only for the external programs that may be used to reconfigure
those processes (or to load/save the configuration).
Currently, the setting of the execution ID is disabled by default.
To enable it, the value of MasterConfigTree::_enable_program_exec_id
needs to be set to true inside the MasterConfigTree constructor
(inside file master_conf_tree.cc).
* Remove the existing code for setting the user ID and group ID
and use the new RunCommand::ExecId class instead.
* Add a new method MasterConfigTree::apply_config_change()
and use it everywhere instead of commit_changes_pass1().
* Minor cleanup.
Revision Changes Path
1.53 +101 -97; commitid: 1598342ceaaec7ea6; xorp/rtrmgr/master_conf_tree.cc
1.30 +33 -27; commitid: 1598342ceaaec7ea6; xorp/rtrmgr/master_conf_tree.hh
1.51 +53 -20; commitid: 1598342ceaaec7ea6; xorp/rtrmgr/task.cc
1.32 +48 -13; commitid: 1598342ceaaec7ea6; xorp/rtrmgr/task.hh
1.37 +58 -58; commitid: 1598342ceaaec7ea6; xorp/rtrmgr/xrl_rtrmgr_interface.cc