From c15f3e993044f4e943a0876fb8dc972b3f7b06b4 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 24 Apr 2013 16:46:35 +0200 Subject: [PATCH] has option -X (old) and -S (new) to select between a vs- or an lxc-hosted vplc - default is lxc --- system/TestMain.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/TestMain.py b/system/TestMain.py index ae4a861..a325223 100755 --- a/system/TestMain.py +++ b/system/TestMain.py @@ -171,7 +171,9 @@ steps refer to a method in TestPlc or to a step_* module help="Specify the set of hostnames for the boxes that host the nodes") parser.add_option("-N","--nodes",action="append", dest="ips_vnode", default=[], help="Specify the set of hostname/IP's to use for vnodes") - parser.add_option ('-X', "--lxc",action='store_true',dest='plcs_use_lxc', + parser.add_option ('-X', "--lxc",action='store_true',dest='plcs_use_lxc',default=True, + help='use lxc-enabled plc boxes instead of vs-enabled ones') + parser.add_option ('-S', "--vs",action='store_false',dest='plcs_use_lxc', help='use lxc-enabled plc boxes instead of vs-enabled ones') parser.add_option("-s","--size",action="store",type="int",dest="size",default=1, help="sets test size in # of plcs - default is 1") -- 2.43.0