From: Thierry Parmentelat Date: Mon, 31 Mar 2008 09:00:32 +0000 (+0000) Subject: 2 test boxess for 2 archs X-Git-Tag: tests-4.2-4~134 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0bc0b500a439465d65163caa8dafb8ebef32fc10;p=tests.git 2 test boxess for 2 archs --- diff --git a/system/config_testbox2.py b/system/config_onelab_testbox32.py similarity index 62% rename from system/config_testbox2.py rename to system/config_onelab_testbox32.py index 749e9e0..5a657a3 100644 --- a/system/config_testbox2.py +++ b/system/config_onelab_testbox32.py @@ -5,9 +5,9 @@ from TestMapper import TestMapper def config (plcs, options): - mapper = {'plc': [ ('*' , {'hostname':'testbox2.inria.fr', + mapper = {'plc': [ ('*' , {'hostname':'testbox32.one-lab.org', 'name':'%s2' } ) ], - 'node': [ ('*' , {'host_box':'testbox2.inria.fr'} ) ], + 'node': [ ('*' , {'host_box':'testbox32.one-lab.org'} ) ], } return TestMapper(plcs,mapper,options).map() diff --git a/system/config_onelab_testbox64.py b/system/config_onelab_testbox64.py new file mode 100644 index 0000000..1d476b3 --- /dev/null +++ b/system/config_onelab_testbox64.py @@ -0,0 +1,13 @@ +# +from TestMapper import TestMapper + +# using mapper to do the reallocation job + +def config (plcs, options): + + mapper = {'plc': [ ('*' , {'hostname':'testbox64.one-lab.org', + 'name':'%s2' } ) ], + 'node': [ ('*' , {'host_box':'testbox64.one-lab.org'} ) ], + } + + return TestMapper(plcs,mapper,options).map()