+#!/usr/bin/python
+# Thierry Parmentelat <thierry.parmentelat@inria.fr>
+# Copyright (C) 2010 INRIA
#
-# $Id: LocalTestResources.sample.inria 17428 2010-03-22 11:56:23Z thierry $
-#
-# this is only an example file
-# the actual file is installed in your testmaster box as /root/LocalTestResources.py
-#
+# this is the file that gets installed at onelab
+# in our testmaster box as /root/LocalTestResources.py
#
+if __name__ == '__main__':
+ import sys, os.path
+ sys.path.append(os.path.expanduser("~/git-tests/system"))
+
from TestResources import TestResources
class OnelabTestResources (TestResources):
return [
('qemu64-1.pl.sophia.inria.fr', None, None),
('qemu64-2.pl.sophia.inria.fr', None, None),
-# ('qemu64-3.pl.sophia.inria.fr', None, None),
+ ('qemu64-3.pl.sophia.inria.fr', None, None),
# ('qemu32-1.pl.sophia.inria.fr', None, None),
('qemu32-2.pl.sophia.inria.fr', None, None),
('qemu32-3.pl.sophia.inria.fr', None, None),
-# ('qemu32-4.pl.sophia.inria.fr', None, None),
+ ('qemu32-4.pl.sophia.inria.fr', None, None),
+# ('qemu32-5.pl.sophia.inria.fr', None, None),
]
def max_qemus (self):
return None
local_resources = OnelabTestResources ()
+
+if __name__ == '__main__':
+ for (h,_,__) in local_resources.qemus_ip_pool(): print h