5 # this default is for the Princeton test infrastructure
7 def config (plc_specs, options):
10 plcs = config_main.config([],options)
12 print '======================================== AFTER main'
13 for plc in plcs: TestPlc.TestPlc.display_mapping_plc(plc)
14 print '========================================'
16 ### side-effects on global config (was for onelab.eu initially)
17 from TestMapper import TestMapper
18 main_mapper = TestMapper (plcs,options)
19 plc_map = [ ( '*', {'PLC_ROOT_USER' : 'root@test.planet-lab.org',
20 'PLC_MAIL_ENABLED' : 'false',
22 plcs = main_mapper.map ( { 'plc' : plc_map } )
24 import config_ptestqemus
25 plcs = config_ptestqemus.config (plcs,options)
27 print '======================================== AFTER testqemus'
28 for plc in plcs: TestPlc.TestPlc.display_mapping_plc(plc)
29 print '========================================'
32 plcs = config_pvnodes.config(plcs,options)
34 print '======================================== AFTER vnodes'
35 for plc in plcs: TestPlc.TestPlc.display_mapping_plc(plc)
36 print '========================================'
39 plcs = config_pvplcs.config (plcs,options)
41 print '======================================== AFTER vservers'
42 for plc in plcs: TestPlc.TestPlc.display_mapping_plc(plc)
43 print '========================================'