No subject
Sat Dec 11 21:30:01 2004
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Sat, 11 Dec 2004 13:31:02 -0800
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.11/8.12.8) with ESMTP id iBBLV1EN010918
for <atanu@tigger.icir.org>; Sat, 11 Dec 2004 13:31:01 -0800 (PST)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id iBBLV1f9032751
for <atanu@icir.org>; Sat, 11 Dec 2004 13:31:01 -0800 (PST)
(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id iBBLV1UF025529;
Sat, 11 Dec 2004 13:31:01 -0800 (PST)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id iBBLU1UF025505
for <xorp-cvs@icsi.berkeley.edu>; Sat, 11 Dec 2004 13:30:01 -0800 (PST)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id iBBLU1f9032725
for <xorp-cvs@icir.org>; Sat, 11 Dec 2004 13:30:01 -0800 (PST)
(envelope-from mjh@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id iBBLU10d035201
for <xorp-cvs@icir.org>; Sat, 11 Dec 2004 13:30:01 -0800 (PST)
(envelope-from mjh@xorpc.icir.org)
Received: (from mjh@localhost)
by xorpc.icir.org (8.12.11/8.12.3/Submit) id iBBLU1dN035199
for xorp-cvs@icir.org; Sat, 11 Dec 2004 21:30:01 GMT
(envelope-from mjh)
Date: Sat, 11 Dec 2004 21:30:01 GMT
From: Mark Handley <mjh@icir.org>
Message-Id: <200412112130.iBBLU1dN035199@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/rtrmgr
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: mjh@xorpc.icir.org 2004-12-11 21:30:01 UTC
XORP CVS repository
Modified files:
rtrmgr Makefile.am Makefile.in conf_tree.cc conf_tree.hh
conf_tree_node.cc conf_tree_node.hh
generic_module_manager.cc generic_module_manager.hh
main_rtrmgr.cc master_conf_tree.cc
master_conf_tree.hh module_command.cc
module_command.hh module_manager.cc
module_manager.hh slave_conf_tree.cc
slave_conf_tree_node.cc slave_conf_tree_node.hh
task.cc task.hh template.yy template_commands.cc
template_commands.hh template_tree.cc
template_tree.hh template_tree_node.cc
template_tree_node.hh unexpanded_xrl.cc
unexpanded_xrl.hh xorpsh_main.cc
xrl_xorpsh_interface.cc xrldb.cc y.tplt_tab.cc
Added files:
rtrmgr master_conf_tree_node.cc master_conf_tree_node.hh
master_template_tree.cc master_template_tree.hh
master_template_tree_node.cc
master_template_tree_node.hh
template_base_command.cc template_base_command.hh
Log message:
Major refactoring of class hierarchy in rtrmgr and xorpsh.
Previously xorpsh needed to be linked with lots of code from rtrmgr
that was not used, just to satisfy compilation dependencies, even
though the code was not used. The code was getting too hard to work
with when anything needed to be added to xorpsh. This refactoring
removes almost all of the unused code, by introducting more
specialized subclasses of many of the classes for use in rtrmgr
(prefixed Master-). The less specialized versions continue to be used
in xorpsh.
This commit touches a lot of code. It has been tested, but not
desperately thoroughly. Next step is to modify the test code which is
currently not enabled to use the refactored classes. Currently the
tinderbox doesn't test anything in rtrmgr, which is not good.
Revision Changes Path
1.42 +11 -16 xorp/rtrmgr/Makefile.am
1.53 +23 -18 xorp/rtrmgr/Makefile.in
1.23 +15 -14 xorp/rtrmgr/conf_tree.cc
1.16 +6 -5 xorp/rtrmgr/conf_tree.hh
1.55 +114 -582 xorp/rtrmgr/conf_tree_node.cc
1.27 +8 -21 xorp/rtrmgr/conf_tree_node.hh
1.3 +29 -6 xorp/rtrmgr/generic_module_manager.cc
1.5 +10 -7 xorp/rtrmgr/generic_module_manager.hh
1.55 +41 -9 xorp/rtrmgr/main_rtrmgr.cc
1.41 +23 -21 xorp/rtrmgr/master_conf_tree.cc
1.24 +18 -2 xorp/rtrmgr/master_conf_tree.hh
1.4 +572 -0 xorp/rtrmgr/master_conf_tree_node.cc (new)
1.4 +64 -0 xorp/rtrmgr/master_conf_tree_node.hh (new)
1.1 +59 -0 xorp/rtrmgr/master_template_tree.cc (new)
1.1 +51 -0 xorp/rtrmgr/master_template_tree.hh (new)
1.1 +135 -0 xorp/rtrmgr/master_template_tree_node.cc (new)
1.1 +46 -0 xorp/rtrmgr/master_template_tree_node.hh (new)
1.30 +5 -4 xorp/rtrmgr/module_command.cc
1.20 +5 -4 xorp/rtrmgr/module_command.hh
1.39 +7 -17 xorp/rtrmgr/module_manager.cc
1.29 +2 -2 xorp/rtrmgr/module_manager.hh
1.23 +2 -3 xorp/rtrmgr/slave_conf_tree.cc
1.15 +49 -2 xorp/rtrmgr/slave_conf_tree_node.cc
1.8 +3 -1 xorp/rtrmgr/slave_conf_tree_node.hh
1.41 +6 -6 xorp/rtrmgr/task.cc
1.28 +6 -5 xorp/rtrmgr/task.hh
1.13 +5 -2 xorp/rtrmgr/template.yy
1.1 +215 -0 xorp/rtrmgr/template_base_command.cc (new)
1.1 +88 -0 xorp/rtrmgr/template_base_command.hh (new)
1.48 +10 -173 xorp/rtrmgr/template_commands.cc
1.23 +7 -55 xorp/rtrmgr/template_commands.hh
1.25 +48 -32 xorp/rtrmgr/template_tree.cc
1.16 +9 -9 xorp/rtrmgr/template_tree.hh
1.29 +31 -37 xorp/rtrmgr/template_tree_node.cc
1.19 +12 -11 xorp/rtrmgr/template_tree_node.hh
1.11 +2 -2 xorp/rtrmgr/unexpanded_xrl.cc
1.9 +4 -4 xorp/rtrmgr/unexpanded_xrl.hh
1.35 +27 -7 xorp/rtrmgr/xorpsh_main.cc
1.18 +1 -4 xorp/rtrmgr/xrl_xorpsh_interface.cc
1.11 +1 -2 xorp/rtrmgr/xrldb.cc
1.13 +50 -47 xorp/rtrmgr/y.tplt_tab.cc
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs