- parser.add_option("-N","--nodes",action="callback", callback=TestMain.optparse_list, dest="ips_node",
- nargs=1,type="string",
- help="Specify the set of IP addresses to use for nodes (scanning disabled)")
- parser.add_option("-P","--plcs",action="callback", callback=TestMain.optparse_list, dest="ips_plc",
- nargs=1,type="string",
- help="Specify the set of IP addresses to use for plcs (scanning disabled)")
- parser.add_option("-1","--small",action="store_true",dest="small_test",default=False,
- help="run a small test -- typically only one node")
+ parser.add_option("-N","--nodes",action="append", dest="ips_node", default=[],
+ help="Specify the set of hostname/IP's to use for nodes")
+ parser.add_option("-P","--plcs",action="append", dest="ips_plc", default=[],
+ help="Specify the set of hostname/IP's to use for plcs")
+ parser.add_option("-Q","--qemus",action="append", dest="ips_qemu", default=[],
+ help="Specify the set of hostname/IP's to use for qemu boxes")
+ parser.add_option("-s","--size",action="store",type="int",dest="size",default=1,
+ help="sets test size in # of plcs - default is 1")
+ parser.add_option("-q","--qualifier",action="store",type="int",dest="qualifier",default=None,
+ help="run steps only on plc numbered <qualifier>, starting at 1")
+ parser.add_option("-k","--keep-going",action="store",dest="keep_going",default=False,
+ help="proceeds even if some steps are failing")