* new interactive option
[tests.git] / system / config_wifilab.py
index 3fe7e0d..0aafdcf 100644 (file)
@@ -38,8 +38,8 @@ 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', },
@@ -52,8 +52,8 @@ def nodes():
               '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',},
@@ -66,8 +66,8 @@ def nodes():
               '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',
@@ -80,7 +80,7 @@ def nodes():
                                        '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',