From: Thierry Parmentelat Date: Wed, 24 Apr 2013 14:46:35 +0000 (+0200) Subject: has option -X (old) and -S (new) to select between a X-Git-Tag: tests-5.2-3~2 X-Git-Url: http://git.onelab.eu/?p=tests.git;a=commitdiff_plain;h=c15f3e993044f4e943a0876fb8dc972b3f7b06b4 has option -X (old) and -S (new) to select between a vs- or an lxc-hosted vplc - default is lxc --- 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")