[Xorp-cvs] XORP cvs commit: xorp/etc/templates xorp/policy xorp/policy/test
xorp/rtrmgr xorp/xrl/interfaces xorp/xrl/targets
Pavlin Radoslavov
pavlin@icir.org
Sat, 2 Jul 2005 04:20:23 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2005-07-02 04:20:23 UTC
XORP CVS repository
Modified files:
etc/templates Makefile.am Makefile.in
policy Makefile.in
policy/test Makefile.in
rtrmgr cli.cc cli.hh master_conf_tree.cc
master_conf_tree.hh slave_conf_tree.cc
slave_conf_tree.hh xorpsh_main.cc xorpsh_main.hh
xrl_rtrmgr_interface.cc xrl_rtrmgr_interface.hh
xrl_xorpsh_interface.cc xrl_xorpsh_interface.hh
xrl/interfaces rtrmgr.xif rtrmgr_client.xif rtrmgr_client_xif.cc
rtrmgr_client_xif.hh rtrmgr_xif.cc rtrmgr_xif.hh
xrl/targets rtrmgr.xrls rtrmgr_base.cc rtrmgr_base.hh
xorpsh.xrls xorpsh_base.cc xorpsh_base.hh
Added files:
etc/templates rtrmgr.tp
Log message:
* Add support to the rtrmgr to run external programs when loading or
saving the configuration. The load and save xorpsh commands are still
same as before (e.g., "load <filename>" and "save <filename>"),
but now we recognize the following filename types:
- FILE URL (file://...)
- FTP URL (ftp://...)
- HTTP URL (http://...)
- TFTP URL (tftp://...)
Any other file names are assumed to be a load or a save operation
from/to a local file, and in that case we use the previously existing
code for loading/saving to/from the local file system.
* Add new template file rtrmgr.tp that can be used to (re)configure
the external commands (per URL type) that are to be executed when we
try to load or save the configuration.
Currently, only some of the load commands have meaningful default
values in the rtrmgr.tp template file.
* Change the XRL mechanism between the xorpsh and the rtrmgr for saving
the configuration. Previously the save operation was syncronous,
because it was eventually immediately saved to the disk.
Now the operation is asyncronous (xorpsh waits to receive
config_saved_done XRL to complete the operation) similar to the
configuration load mechanism.
Revision Changes Path
1.14 +2 -1; commitid: 850b42c6126d7ea6; xorp/etc/templates/Makefile.am
1.22 +1 -1; commitid: 850b42c6126d7ea6; xorp/etc/templates/Makefile.in
1.1 +198 -0 xorp/etc/templates/rtrmgr.tp (new)
1.26 +293 -277; commitid: 850b42c6126d7ea6; xorp/policy/Makefile.in
1.8 +262 -244; commitid: 850b42c6126d7ea6; xorp/policy/test/Makefile.in
1.67 +37 -12; commitid: 850b42c6126d7ea6; xorp/rtrmgr/cli.cc
1.28 +4 -2; commitid: 850b42c6126d7ea6; xorp/rtrmgr/cli.hh
1.48 +714 -4; commitid: 850b42c6126d7ea6; xorp/rtrmgr/master_conf_tree.cc
1.27 +34 -1; commitid: 850b42c6126d7ea6; xorp/rtrmgr/master_conf_tree.hh
1.27 +31 -1; commitid: 850b42c6126d7ea6; xorp/rtrmgr/slave_conf_tree.cc
1.17 +6 -1; commitid: 850b42c6126d7ea6; xorp/rtrmgr/slave_conf_tree.hh
1.41 +37 -5; commitid: 850b42c6126d7ea6; xorp/rtrmgr/xorpsh_main.cc
1.21 +16 -2; commitid: 850b42c6126d7ea6; xorp/rtrmgr/xorpsh_main.hh
1.35 +78 -38; commitid: 850b42c6126d7ea6; xorp/rtrmgr/xrl_rtrmgr_interface.cc
1.21 +10 -1; commitid: 850b42c6126d7ea6; xorp/rtrmgr/xrl_rtrmgr_interface.hh
1.21 +22 -6; commitid: 850b42c6126d7ea6; xorp/rtrmgr/xrl_xorpsh_interface.cc
1.12 +6 -1; commitid: 850b42c6126d7ea6; xorp/rtrmgr/xrl_xorpsh_interface.hh
1.3 +2 -2; commitid: 850b42c6126d7ea6; xorp/xrl/interfaces/rtrmgr.xif
1.4 +3 -1; commitid: 850b42c6126d7ea6; xorp/xrl/interfaces/rtrmgr_client.xif
1.15 +35 -1; commitid: 850b42c6126d7ea6; xorp/xrl/interfaces/rtrmgr_client_xif.cc
1.13 +16 -1; commitid: 850b42c6126d7ea6; xorp/xrl/interfaces/rtrmgr_client_xif.hh
1.15 +3 -1; commitid: 850b42c6126d7ea6; xorp/xrl/interfaces/rtrmgr_xif.cc
1.12 +2 -1; commitid: 850b42c6126d7ea6; xorp/xrl/interfaces/rtrmgr_xif.hh
1.12 +12 -4; commitid: 850b42c6126d7ea6; xorp/xrl/targets/rtrmgr.xrls
1.18 +4 -3; commitid: 850b42c6126d7ea6; xorp/xrl/targets/rtrmgr_base.cc
1.18 +12 -3; commitid: 850b42c6126d7ea6; xorp/xrl/targets/rtrmgr_base.hh
1.10 +3 -1; commitid: 850b42c6126d7ea6; xorp/xrl/targets/xorpsh.xrls
1.17 +32 -1; commitid: 850b42c6126d7ea6; xorp/xrl/targets/xorpsh_base.cc
1.17 +8 -1; commitid: 850b42c6126d7ea6; xorp/xrl/targets/xorpsh_base.hh