2 from TestMapper import TestMapper
4 # using mapper to do the reallocation job
6 target = 'testbox64.one-lab.org'
8 def config (plcs, options):
10 mapper = {'plc': [ ('*' , {'hostname':target,
12 'PLC_API_HOST':target,
13 'PLC_BOOT_HOST':target,
14 'PLC_WWW_HOST':target,
16 'node': [ ('*' , {'host_box': target } ) ],
19 return TestMapper(plcs,options).map(mapper)