-ips_node, ips_plc and ips_qemu defaults to the last value used, as stored in arg-ips-{node,plc,qemu},
+ips_vnode, ips_vplc and ips_qemu defaults to the last value used, as stored in arg-ips-{node,vplc,qemu},
help="Run all default steps")
parser.add_option("-l","--list",action="store_true",dest="list_steps", default=False,
help="List known steps")
help="Run all default steps")
parser.add_option("-l","--list",action="store_true",dest="list_steps", default=False,
help="List known steps")
- parser.add_option("-N","--nodes",action="append", dest="ips_node", default=[],
+ parser.add_option("-N","--nodes",action="append", dest="ips_vnode", default=[],
- parser.add_option("-P","--plcs",action="append", dest="ips_plc", default=[],
+ parser.add_option("-P","--plcs",action="append", dest="ips_vplc", 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")
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")
- for optname in ['config','exclude','ips_node','ips_plc','ips_qemu']:
+ for optname in ['config','exclude','ips_vnode','ips_vplc','ips_qemu']:
setattr(self.options,optname, flatten ( [ arg.split() for arg in getattr(self.options,optname) ] ))
# handle defaults and option persistence
for (recname,filename,default,need_reverse) in (
('build_url','arg-build-url',TestMain.default_build_url,None) ,
setattr(self.options,optname, flatten ( [ arg.split() for arg in getattr(self.options,optname) ] ))
# handle defaults and option persistence
for (recname,filename,default,need_reverse) in (
('build_url','arg-build-url',TestMain.default_build_url,None) ,
- ('ips_node','arg-ips-node',[],True) ,
- ('ips_plc','arg-ips-plc',[],True) ,
+ ('ips_vnode','arg-ips-vnode',[],True) ,
+ ('ips_vplc','arg-ips-vplc',[],True) ,
('ips_qemu','arg-ips-qemu',[],True) ,
('config','arg-config',TestMain.default_config,False) ,
('arch_rpms_url','arg-arch-rpms-url',"",None) ,
('ips_qemu','arg-ips-qemu',[],True) ,
('config','arg-config',TestMain.default_config,False) ,
('arch_rpms_url','arg-arch-rpms-url',"",None) ,
- ('personality','arg-personality',"linux32",None),
- ('pldistro','arg-pldistro',"planetlab",None),
- ('fcdistro','arg-fcdistro','centos5',None),
+ ('personality','arg-personality',"linux64",None),
+ ('pldistro','arg-pldistro',"onelab",None),
+ ('fcdistro','arg-fcdistro','f14',None),
for plc_spec in all_plc_specs:
for site_spec in plc_spec['sites']:
for node_spec in site_spec['nodes']:
for plc_spec in all_plc_specs:
for site_spec in plc_spec['sites']:
for node_spec in site_spec['nodes']:
# ditto for qemu boxes
ips_qemu_file=open('arg-ips-qemu','w')
for plc_spec in all_plc_specs:
# ditto for qemu boxes
ips_qemu_file=open('arg-ips-qemu','w')
for plc_spec in all_plc_specs: