2 test boxess for 2 archs
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 31 Mar 2008 09:00:32 +0000 (09:00 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 31 Mar 2008 09:00:32 +0000 (09:00 +0000)
system/config_onelab_testbox32.py [moved from system/config_testbox2.py with 62% similarity]
system/config_onelab_testbox64.py [new file with mode: 0644]

similarity index 62%
rename from system/config_testbox2.py
rename to system/config_onelab_testbox32.py
index 749e9e0..5a657a3 100644 (file)
@@ -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 (file)
index 0000000..1d476b3
--- /dev/null
@@ -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()