Commit 0b625b83 authored by Simon Delamare's avatar Simon Delamare
Browse files

[reims] Using network lookup functions (Florentin work)

parent 42251cd0
......@@ -40,7 +40,7 @@
"network_address": "stremi-1.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/1"
"switch_port": "GigabitEthernet0/1"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-10.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/10"
"switch_port": "GigabitEthernet0/10"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-11.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/11"
"switch_port": "GigabitEthernet0/11"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-12.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/12"
"switch_port": "GigabitEthernet0/12"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-13.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/13"
"switch_port": "GigabitEthernet0/13"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-14.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/14"
"switch_port": "GigabitEthernet0/14"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-15.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/15"
"switch_port": "GigabitEthernet0/15"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-16.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/16"
"switch_port": "GigabitEthernet0/16"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-17.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/17"
"switch_port": "GigabitEthernet0/17"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-18.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/18"
"switch_port": "GigabitEthernet0/18"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-19.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/19"
"switch_port": "GigabitEthernet0/19"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-2.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/2"
"switch_port": "GigabitEthernet0/2"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-20.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/20"
"switch_port": "GigabitEthernet0/20"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-21.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/21"
"switch_port": "GigabitEthernet0/21"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-22.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/22"
"switch_port": "GigabitEthernet0/22"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-23.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/23"
"switch_port": "GigabitEthernet0/23"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-24.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/24"
"switch_port": "GigabitEthernet0/24"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-25.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/25"
"switch_port": "GigabitEthernet0/25"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-26.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/26"
"switch_port": "GigabitEthernet0/26"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-27.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/27"
"switch_port": "GigabitEthernet0/27"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-28.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/28"
"switch_port": "GigabitEthernet0/28"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-29.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/29"
"switch_port": "GigabitEthernet0/29"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-3.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/3"
"switch_port": "GigabitEthernet0/3"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-30.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/30"
"switch_port": "GigabitEthernet0/30"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-31.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/31"
"switch_port": "GigabitEthernet0/31"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-32.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/32"
"switch_port": "GigabitEthernet0/32"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-33.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/34"
"switch_port": "GigabitEthernet0/34"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-34.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/33"
"switch_port": "GigabitEthernet0/33"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-35.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/35"
"switch_port": "GigabitEthernet0/35"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-36.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/36"
"switch_port": "GigabitEthernet0/36"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-37.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/37"
"switch_port": "GigabitEthernet0/37"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-38.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/38"
"switch_port": "GigabitEthernet0/38"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-39.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/39"
"switch_port": "GigabitEthernet0/39"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-4.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/4"
"switch_port": "GigabitEthernet0/4"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-40.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/40"
"switch_port": "GigabitEthernet0/40"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-41.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/41"
"switch_port": "GigabitEthernet0/41"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-42.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/42"
"switch_port": "GigabitEthernet0/42"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-43.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/43"
"switch_port": "GigabitEthernet0/43"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-44.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/44"
"switch_port": "GigabitEthernet0/44"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-5.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/5"
"switch_port": "GigabitEthernet0/5"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-6.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/6"
"switch_port": "GigabitEthernet0/6"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-7.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/7"
"switch_port": "GigabitEthernet0/7"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-8.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/8"
"switch_port": "GigabitEthernet0/8"
},
{
"bridged": false,
......
......@@ -40,7 +40,7 @@
"network_address": "stremi-9.reims.grid5000.fr",
"rate": 1000000000,
"switch": "gw-reims",
"switch_port": "Gi0/9"
"switch_port": "GigabitEthernet0/9"
},
{
"bridged": false,
......
......@@ -75,8 +75,8 @@ site :reims do |site_uid|
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:ip => lookup('stremi_generated', node_uid, 'network_interfaces', 'eth0', 'ip'),
:ip6 => lookup('stremi_generated', node_uid, 'network_interfaces', 'eth0', 'ip6'),
:switch => lookup('stremi_manual', node_uid, 'network_interfaces', 'eth0', 'switch_name'),
:switch_port => lookup('stremi_manual', node_uid, 'network_interfaces', 'eth0', 'switch_port'),
:switch => net_switch_lookup('reims', 'stremi', node_uid),
:switch_port => net_port_lookup('reims', 'stremi', node_uid),
:mac => lookup('stremi_generated', node_uid, 'network_interfaces', 'eth0', 'mac')
},
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment