+# Thierry Parmentelat <thierry.parmentelat@inria.fr>
+# Copyright (C) 2010 INRIA
+#
# a configuration module is expected:
# (*) to define a config method
# (*) that takes two arguments
'node_fields': {'hostname': 'wlab02.inria.fr', 'model':'Dell Latitude 830'},
'owner' : 'pi',
'nodegroups' : 'wifi',
- 'network_fields': { 'method':'dhcp', 'type' : 'ipv4', 'ip':'138.96.250.162',},
- 'extra_interfaces' : [ { 'network_fields' : { 'method' : 'dhcp',
+ 'interface_fields': { 'method':'dhcp', 'type' : 'ipv4', 'ip':'138.96.250.162',},
+ 'extra_interfaces' : [ { 'interface_fields' : { 'method' : 'dhcp',
'type' : 'ipv4',
'mac' : '00:1B:77:70:F4:C6',
'ip' : '138.96.250.192', },
'node_fields': {'hostname': 'wlab17.inria.fr', 'model':'Dell Latitude 830'},
'owner' : 'pi',
'nodegroups' : ['wifi','x86_64'] ,
- 'network_fields': { 'method':'dhcp', 'type' : 'ipv4', 'ip':'138.96.250.177',},
- 'extra_interfaces' : [ { 'network_fields' : { 'method' : 'dhcp',
+ 'interface_fields': { 'method':'dhcp', 'type' : 'ipv4', 'ip':'138.96.250.177',},
+ 'extra_interfaces' : [ { 'interface_fields' : { 'method' : 'dhcp',
'type' : 'ipv4',
'mac' : '00:1c:bf:51:3c:19',
'ip' : '138.96.250.207',},
'node_fields': {'hostname': 'wlab05.inria.fr', 'model':'Dell Latitude 830'},
'owner' : 'pi',
'nodegroups' : 'wifi',
- 'network_fields': { 'method':'dhcp', 'type' : 'ipv4', 'ip':'138.96.250.165',},
- 'extra_interfaces' : [ { 'network_fields' : { 'method' : 'static',
+ 'interface_fields': { 'method':'dhcp', 'type' : 'ipv4', 'ip':'138.96.250.165',},
+ 'extra_interfaces' : [ { 'interface_fields' : { 'method' : 'static',
'type' : 'ipv4',
'mac' : '00:1B:77:70:FC:84',
'ip' : '138.96.250.215',
'settings' : { 'essid' : 'guest-inria-sophia',
'ifname' : 'wlan0',},
},
- { 'network_fields' : { 'method' : 'dhcp',
+ { 'interface_fields' : { 'method' : 'dhcp',
'type' : 'ipv4',
'mac' : '00:20:A6:4E:FF:E6',
'ip' : '138.96.250.50',
'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',
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',
'PLC_ROOT_PASSWORD' : 'test++',
'PLC_NAME' : 'WifiLab',
'PLC_MAIL_ENABLED':'true',
- 'PLC_MAIL_SUPPORT_ADDRESS' : 'thierry.parmentelat@sophia.inria.fr',
+ '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',
}
def config (plc_specs,options):
+ print "config_wifilab is obsolete .."
+ import sys
+ sys.exit(1)
return plc_specs + [ plc() ]