helper for rewriting some parts of a config - typically for running on another testbox
[tests.git] / system / config_testbox2.py
1 #
2 from TestMapper import TestMapper
3
4 # using mapper to do the reallocation job
5
6 def config (plcs, options):
7
8     mapper = {'plc': [ ('*' , {'hostname':'testbox2.inria.fr',
9                                'name':'%s2' } ) ],
10               'node': [ ('*' , {'host_box':'testbox2.inria.fr'} ) ],
11               }
12     
13     return TestMapper(plcs,mapper,options).map()