|
|||||||||||
|
[Design] changes in testing sub-system: umlplutotest
From: Michael Richardson <mcr(at)sandelman.ottawa.on.ca>
Date: Thu Feb 20 2003 - 14:05:52 EST
The current test "umlplutotest" can manage at most two such systems. I started by generalizing the "2host-test.tcl" to 3, and decided to do 'X' systems instead. I then rewrote the umlplutotest to actually use the X-capable test, "Xhost-test.tcl" (Maybe I should called it "Nhost-test") There are three things which have similar sounding names which may get confusing:
Usually, the "EAST" slot contains the "east" machine, which connects to the "east" network and the "public" network, but this doesn't have to be the case. The oe-snat-01 test, for instance, needing only two machines under management, has:
EAST=sunset
WEST=west
I realize that this can be confusing. The Xhost test now has a list. A test may define: XHOST_LIST="EAST WEST FOO BAR" to create slots by those names. It could equally well be: XHOST_LIST="HOST1 HOST2 HOST3 HOST4" For each host defined, there are five variables that must be set for Xhost-test.tcl.
${host}_START - program to start UML. Usually set
for you by functions.sh
${host}_{INIT,RUN,FINAL}_SCRIPT - script to run during init,
during runtime, and to shutdown the UML.
REF_${host}_CONSOLE_OUTPUT - copy of console output to be
compared against.
This code is in HEAD, and snapshots, but is not expected to release with 2.00. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] mcr(at)sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [ -----BEGIN PGP SIGNATURE-----
iQCVAwUBPlUnDoqHRg3pndX9AQHxzQP9EjHYlqYtm65P4duKCavG+km+TCH1Xe5p
xHsoAIhV49rPAHL9k1QbpwuDvVfCoKoABjuc/pmknpPVRdmg+4zmC49AmXF4LAHf
J3J3HgKilQjNi0QlDBEtUbFS5jvrp9LhUDQXETvSWa5BmNEP4qOtIlXBECllxTw7
G8fH7HQ9N8Y=
Design mailing list Design@lists.freeswan.org http://lists.freeswan.org/mailman/listinfo/design Received on Thu Feb 20 14:33:32 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:32 EDT |
||||||||||
|
|||||||||||