X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2Fconfig_wifilab.py;h=4da5c9da43ed463cbbea7b8017d5f6345bb937c4;hb=daa6101bf7c504d89de2eb6bbd06821e2f550539;hp=0aafdcf9373f1150d8bab2336ae097b8d5f1c57b;hpb=d09cbd5b5d9d02ceadf6f09c446b17c8c1cb6f5e;p=tests.git diff --git a/system/config_wifilab.py b/system/config_wifilab.py index 0aafdcf..4da5c9d 100644 --- a/system/config_wifilab.py +++ b/system/config_wifilab.py @@ -1,3 +1,6 @@ +# Thierry Parmentelat +# Copyright (C) 2010 INRIA +# # a configuration module is expected: # (*) to define a config method # (*) that takes two arguments @@ -140,7 +143,7 @@ def sites (): 'login_base':'wifi', 'abbreviated_name':'wifi', 'max_slices':100, - 'url':'http://testbox1.onelab.eu', + 'url':'http://test.onelab.eu', }, 'address_fields' : {'line1':'route des lucioles', 'city':'sophia', @@ -232,6 +235,7 @@ def slices (): def plc () : return { + 'index' : index, 'name' : 'wifilab', # as of yet, not sure we can handle foreign hosts, but this is required though 'hostname' : 'wlab24.inria.fr', @@ -239,18 +243,20 @@ def plc () : # 'vservername': 'somename' # 'vserverip': '138.96.250.131' 'role' : 'root', - 'PLC_ROOT_USER' : 'root@wlab24.inria.fr', - 'PLC_ROOT_PASSWORD' : 'test++', - 'PLC_NAME' : 'WifiLab', - 'PLC_MAIL_ENABLED':'true', - 'PLC_MAIL_SUPPORT_ADDRESS' : 'thierry.parmentelat@sophia.inria.fr', - 'PLC_DB_HOST' : 'wlab24.inria.fr', - 'PLC_API_HOST' : 'wlab24.inria.fr', - 'PLC_WWW_HOST' : 'wlab24.inria.fr', - 'PLC_BOOT_HOST' : 'wlab24.inria.fr', - 'PLC_NET_DNS1' : '138.96.0.10', - 'PLC_NET_DNS2' : '138.96.0.11', - 'PLC_DNS_ENABLED' : 'false', + 'settings': { + 'PLC_ROOT_USER' : 'root@wlab24.inria.fr', + 'PLC_ROOT_PASSWORD' : 'test++', + 'PLC_NAME' : 'WifiLab', + 'PLC_MAIL_ENABLED':'true', + 'PLC_MAIL_SUPPORT_ADDRESS' : 'thierry.parmentelat@inria.fr', + 'PLC_DB_HOST' : 'wlab24.inria.fr', + 'PLC_API_HOST' : 'wlab24.inria.fr', + 'PLC_WWW_HOST' : 'wlab24.inria.fr', + 'PLC_BOOT_HOST' : 'wlab24.inria.fr', + 'PLC_NET_DNS1' : '138.96.0.10', + 'PLC_NET_DNS2' : '138.96.0.11', + 'PLC_DNS_ENABLED' : 'false', + }, 'sites' : sites(), 'keys' : keys(), 'initscripts': initscripts(), @@ -258,4 +264,7 @@ def plc () : } def config (plc_specs,options): + print "config_wifilab is obsolete .." + import sys + sys.exit(1) return plc_specs + [ plc() ]