X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FLocalSubstrate.inria.py;h=74e8a0d8f3b40f1af65c2a3c28205cea5fe03616;hb=0a1a5d0802b341b20b4e4485be4cd2a845027a99;hp=2569d9a3249675017dc3d138504ce8f13a88a159;hpb=ba07e86e24c9c6ef286fb7194c4cac4cfbcfef26;p=tests.git diff --git a/system/LocalSubstrate.inria.py b/system/LocalSubstrate.inria.py index 2569d9a..74e8a0d 100755 --- a/system/LocalSubstrate.inria.py +++ b/system/LocalSubstrate.inria.py @@ -23,8 +23,13 @@ class OnelabSubstrate (Substrate): return [ 'liquid', 'reed', 'velvet', ] # the vs-capable box for PLCs - def plc_boxes_spec (self): - return [ ('vs64-1', 20), # how many plcs max in this box + def plc_vs_boxes_spec (self): + return [ ('vs64-1', 35), # how many plcs max in this box + ] + + # the lxc-capable box for PLCs + def plc_lxc_boxes_spec (self): + return [ ('lxc64-1', 35), # how many plcs max in this box ] # vplc01 to 40 @@ -54,12 +59,15 @@ class OnelabSubstrate (Substrate): return 'pl.sophia.inria.fr' def network_settings (self): - return { 'interface_fields:gateway':'138.96.112.250', - 'interface_fields:network':'138.96.112.0', - 'interface_fields:broadcast':'138.96.119.255', - 'interface_fields:netmask':'255.255.248.0', - 'interface_fields:dns1': '138.96.112.1', - 'interface_fields:dns2': '138.96.112.2', + return { 'interface_fields:gateway': '138.96.112.250', + 'route_fields:next_hop': '138.96.112.250', + 'interface_fields:network': '138.96.112.0', + 'interface_fields:broadcast': '138.96.119.255', + 'interface_fields:netmask': '255.255.248.0', + 'interface_fields:dns1': '138.96.112.1', + 'interface_fields:dns2': '138.96.112.2', + 'node_fields_nint:dns': '138.96.112.1,138.96.112.2', + 'ipaddress_fields:netmask': '255.255.248.0', } # the hostname for the testmaster - in case we'd like to run this remotely