+# Thierry Parmentelat <thierry.parmentelat@inria.fr>
+# Copyright (C) 2010 INRIA
+#
# a configuration module is expected:
# (*) to define a config method
# (*) that takes two arguments
# I'm pretty sure that yum.conf.php still needs hacking, at least for centos5
########## unclear stuff
-onelab="one-lab.org"
+onelab="onelab.eu"
# these are real nodes, they dont get started by the framework
def nodes():
'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.one-lab.org',
+ 'url':'http://test.onelab.eu',
},
'address_fields' : {'line1':'route des lucioles',
'city':'sophia',
}]
##########
-public_key="""ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4jNj8yT9ieEc6nSJz/ESu4fui9WrJ2y/MCfqIZ5WcdVKhBFUYyIenmUaeTduMcSqvoYRQ4QnFR1BFdLG8XR9D6FWZ5zTKUgpkew22EVNeqai4IXeWYKyt1Qf3ehaz9E3o1PG/bmQNIM6aQay6TD1Y4lqXI+eTVXVQev4K2fixySjFQpp9RB4UHbeA8c28yoa/cgAYHqCqlvm9uvpGMjgm/Qa4M+ZeO7NdjowfaF/wF4BQIzVFN9YRhvQ/d8WDz84B5Pr0J7pWpaX7EyC4bvdskxl6kmdNIwIRcIe4OcuIiX5Z9oO+7h/chsEVJWF4vqNIYlL9Zvyhnr0hLLhhuk2bw== root@test.one-lab.org
+public_key="""ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4jNj8yT9ieEc6nSJz/ESu4fui9WrJ2y/MCfqIZ5WcdVKhBFUYyIenmUaeTduMcSqvoYRQ4QnFR1BFdLG8XR9D6FWZ5zTKUgpkew22EVNeqai4IXeWYKyt1Qf3ehaz9E3o1PG/bmQNIM6aQay6TD1Y4lqXI+eTVXVQev4K2fixySjFQpp9RB4UHbeA8c28yoa/cgAYHqCqlvm9uvpGMjgm/Qa4M+ZeO7NdjowfaF/wF4BQIzVFN9YRhvQ/d8WDz84B5Pr0J7pWpaX7EyC4bvdskxl6kmdNIwIRcIe4OcuIiX5Z9oO+7h/chsEVJWF4vqNIYlL9Zvyhnr0hLLhhuk2bw== root@test.onelab.eu
"""
private_key="""-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEA4jNj8yT9ieEc6nSJz/ESu4fui9WrJ2y/MCfqIZ5WcdVKhBFU
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() ]