Commit ae133f7f authored by Sebastien Badia's avatar Sebastien Badia
Browse files

[lille] Switch to refget sctuct for chinqchint/chicon

parent c0ec32ab
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
......@@ -39,7 +39,7 @@ site :lille do |site_uid|
network_adapters [{
:interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('lille-chicon',"#{node_uid}", 'mac_eth0'),
:mac => lookup('lille-chicon',"#{node_uid}", 'network_interfaces', 'eth0', 'mac'),
:vendor => 'Broadcom',
:version => 'NetXtreme BCM5780',
:enabled => true,
......@@ -49,12 +49,12 @@ site :lille do |site_uid|
:mounted => true,
:device => 'eth0',
:network_address => "#{node_uid}-eth0.#{site_uid}.grid5000.fr",
:ip => lookup('lille-chicon',"#{node_uid}", 'ip_eth0'),
:ip => lookup('lille-chicon',"#{node_uid}", 'network_interfaces', 'eth0', 'ip'),
:switch => 'gw'
},{
:interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('lille-chicon',"#{node_uid}", 'mac_eth1'),
:mac => lookup('lille-chicon',"#{node_uid}", 'network_interfaces', 'eth1', 'mac'),
:vendor => 'Broadcom',
:version => 'NetXtreme BCM5780',
:enabled => true,
......@@ -64,20 +64,20 @@ site :lille do |site_uid|
:mounted => true,
:device => 'eth1',
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:ip => lookup('lille-chicon',"#{node_uid}", 'ip_eth1'),
:ip => lookup('lille-chicon',"#{node_uid}", 'network_interfaces', 'eth1', 'ip'),
:switch => 'gw',
:switch_port => lookup('lille-chicon', "#{node_uid}", 'switch_port')
:switch_port => lookup('lille-chicon',"#{node_uid}", 'network_interfaces', 'eth1', 'switch_port')
},{
:interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('lille-chicon',"#{node_uid}", 'mac_mgt'),
:mac => lookup('lille-chicon',"#{node_uid}", 'network_interfaces', 'bmc', 'mac'),
:vendor => 'IBM',
:version => '1.18',
:enabled => true,
:management => true,
:mountable => false,
:network_address => "#{node_uid}-rsa.#{site_uid}.grid5000.fr",
:ip => lookup('lille-chicon',"#{node_uid}", 'ip_mgt'),
:ip => lookup('lille-chicon',"#{node_uid}", 'network_interfaces', 'bmc', 'ip'),
:switch => 'gw'
},{
:interface => 'Myrinet',
......@@ -92,7 +92,7 @@ site :lille do |site_uid|
:mounted => true,
:device => 'myri0',
:network_address => "#{node_uid}-myri0.#{site_uid}.grid5000.fr",
:ip => lookup('lille-chicon',"#{node_uid}", 'ip_myri0'),
:ip => lookup('lille-chicon',"#{node_uid}", 'network_interfaces', 'myri0', 'ip'),
:switch => nil
}]
end
......
---
chicon-1:
mac_eth0: 00:11:25:c4:d4:a0
ip_eth0: 192.168.160.74
mac_eth1: 00:11:25:c4:d4:a1
ip_eth1: 192.168.159.74
mac_myri0: 00:60:dd:47:49:df
ip_myri0: 192.168.162.74
ip_mgt: 192.168.158.74
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi3/34
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.74
eth0:
mac: 00:11:25:c4:d4:a0
ip: 192.168.160.74
eth1:
mac: 00:11:25:c4:d4:a1
ip: 192.168.159.74
switch_port: Gi3/34
myri0:
mac: 00:60:dd:47:49:df
ip: 192.168.162.74
chicon-2:
mac_eth0: 00:11:25:c4:d9:c4
ip_eth0: 192.168.160.75
mac_eth1: 00:11:25:c4:d9:c5
ip_eth1: 192.168.159.75
mac_myri0: 00:60:dd:47:4b:3f
ip_myri0: 192.168.162.75
ip_mgt: 192.168.158.75
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi3/35
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.75
eth0:
mac: 00:11:25:c4:d9:c4
ip: 192.168.160.75
eth1:
mac: 00:11:25:c4:d9:c5
ip: 192.168.159.75
switch_port: Gi3/35
myri0:
mac: 00:60:dd:47:4b:3f
ip: 192.168.162.75
chicon-3:
mac_eth0: 00:11:25:c4:d9:d8
ip_eth0: 192.168.160.76
mac_eth1: 00:11:25:c4:d9:d9
ip_eth1: 192.168.159.76
mac_myri0: 00:60:dd:47:4b:46
ip_myri0: 192.168.162.76
ip_mgt: 192.168.158.76
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi3/36
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.76
eth0:
mac: 00:11:25:c4:d9:d8
ip: 192.168.160.76
eth1:
mac: 00:11:25:c4:d9:d9
ip: 192.168.159.76
switch_port: Gi3/36
myri0:
mac: 00:60:dd:47:4b:46
ip: 192.168.162.76
chicon-4:
mac_eth0: 00:11:25:c4:d9:ba
ip_eth0: 192.168.160.77
mac_eth1: 00:11:25:c4:d9:bb
ip_eth1: 192.168.159.77
mac_myri0: 00:60:dd:47:4b:9e
ip_myri0: 192.168.162.77
ip_mgt: 192.168.158.77
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi3/37
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.77
eth0:
mac: 00:11:25:c4:d9:ba
ip: 192.168.160.77
eth1:
mac: 00:11:25:c4:d9:bb
ip: 192.168.159.77
switch_port: Gi3/37
myri0:
mac: 00:60:dd:47:4b:9e
ip: 192.168.162.77
chicon-5:
mac_eth0: 00:11:25:c4:d9:ac
ip_eth0: 192.168.160.78
mac_eth1: 00:11:25:c4:d9:ad
ip_eth1: 192.168.159.78
mac_myri0: 00:60:dd:47:4b:44
ip_myri0: 192.168.162.78
ip_mgt: 192.168.158.78
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi3/38
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.78
eth0:
mac: 00:11:25:c4:d9:ac
ip: 192.168.160.78
eth1:
mac: 00:11:25:c4:d9:ad
ip: 192.168.159.78
switch_port: Gi3/38
myri0:
mac: 00:60:dd:47:4b:44
ip: 192.168.162.78
chicon-6:
mac_eth0: 00:11:25:c4:c7:72
ip_eth0: 192.168.160.79
mac_eth1: 00:11:25:c4:c7:73
ip_eth1: 192.168.159.79
mac_myri0: 00:60:dd:47:4b:99
ip_myri0: 192.168.162.79
ip_mgt: 192.168.158.79
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi3/39
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.79
eth0:
mac: 00:11:25:c4:c7:72
ip: 192.168.160.79
eth1:
mac: 00:11:25:c4:c7:73
ip: 192.168.159.79
switch_port: Gi3/39
myri0:
mac: 00:60:dd:47:4b:99
ip: 192.168.162.79
chicon-7:
mac_eth0: 00:11:25:c4:d9:c2
ip_eth0: 192.168.160.80
mac_eth1: 00:11:25:c4:d9:c3
ip_eth1: 192.168.159.80
mac_myri0: 00:60:dd:47:4c:de
ip_myri0: 192.168.162.80
ip_mgt: 192.168.158.80
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi3/40
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.80
eth0:
mac: 00:11:25:c4:d9:c2
ip: 192.168.160.80
eth1:
mac: 00:11:25:c4:d9:c3
ip: 192.168.159.80
switch_port: Gi3/40
myri0:
mac: 00:60:dd:47:4c:de
ip: 192.168.162.80
chicon-8:
mac_eth0: 00:11:25:c4:d5:94
ip_eth0: 192.168.160.81
mac_eth1: 00:11:25:c4:d5:95
ip_eth1: 192.168.159.81
mac_myri0: 00:60:dd:47:4c:db
ip_myri0: 192.168.162.81
ip_mgt: 192.168.158.81
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/1
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.81
eth0:
mac: 00:11:25:c4:d5:94
ip: 192.168.160.81
eth1:
mac: 00:11:25:c4:d5:95
ip: 192.168.159.81
switch_port: Gi4/1
myri0:
mac: 00:60:dd:47:4c:db
ip: 192.168.162.81
chicon-9:
mac_eth0: 00:11:25:c4:d9:b0
ip_eth0: 192.168.160.82
mac_eth1: 00:11:25:c4:d9:b1
ip_eth1: 192.168.159.82
mac_myri0: 00:60:dd:47:4b:40
ip_myri0: 192.168.162.82
ip_mgt: 192.168.158.82
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/2
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.82
eth0:
mac: 00:11:25:c4:d9:b0
ip: 192.168.160.82
eth1:
mac: 00:11:25:c4:d9:b1
ip: 192.168.159.82
switch_port: Gi4/2
myri0:
mac: 00:60:dd:47:4b:40
ip: 192.168.162.82
chicon-10:
mac_eth0: 00:11:25:c4:d9:c8
ip_eth0: 192.168.160.83
mac_eth1: 00:11:25:c4:d9:c9
ip_eth1: 192.168.159.83
mac_myri0: 00:60:dd:47:49:ea
ip_myri0: 192.168.162.83
ip_mgt: 192.168.158.83
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/3
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.83
eth0:
mac: 00:11:25:c4:d9:c8
ip: 192.168.160.83
eth1:
mac: 00:11:25:c4:d9:c9
ip: 192.168.159.83
switch_port: Gi4/3
myri0:
mac: 00:60:dd:47:49:ea
ip: 192.168.162.83
chicon-11:
mac_eth0: 00:11:25:c4:d9:9c
ip_eth0: 192.168.160.84
mac_eth1: 00:11:25:c4:d9:9d
ip_eth1: 192.168.159.84
mac_myri0: 00:60:dd:47:4c:df
ip_myri0: 192.168.162.84
ip_mgt: 192.168.158.84
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/4
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.84
eth0:
mac: 00:11:25:c4:d9:9c
ip: 192.168.160.84
eth1:
mac: 00:11:25:c4:d9:9d
ip: 192.168.159.84
switch_port: Gi4/4
myri0:
mac: 00:60:dd:47:4c:df
ip: 192.168.162.84
chicon-12:
mac_eth0: 00:11:25:c4:d9:a2
ip_eth0: 192.168.160.85
mac_eth1: 00:11:25:c4:d9:a3
ip_eth1: 192.168.159.85
mac_myri0: 00:60:dd:47:49:a5
ip_myri0: 192.168.162.85
ip_mgt: 192.168.158.85
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/5
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.85
eth0:
mac: 00:11:25:c4:d9:a2
ip: 192.168.160.85
eth1:
mac: 00:11:25:c4:d9:a3
ip: 192.168.159.85
switch_port: Gi4/5
myri0:
mac: 00:60:dd:47:49:a5
ip: 192.168.162.85
chicon-13:
mac_eth0: 00:11:25:c4:d9:ae
ip_eth0: 192.168.160.86
mac_eth1: 00:11:25:c4:d9:af
ip_eth1: 192.168.159.86
mac_myri0: 00:60:dd:47:49:de
ip_myri0: 192.168.162.86
ip_mgt: 192.168.158.86
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/6
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.86
eth0:
mac: 00:11:25:c4:d9:ae
ip: 192.168.160.86
eth1:
mac: 00:11:25:c4:d9:af
ip: 192.168.159.86
switch_port: Gi4/6
myri0:
mac: 00:60:dd:47:49:de
ip: 192.168.162.86
chicon-14:
mac_eth0: 00:11:25:c4:f5:7e
ip_eth0: 192.168.160.87
mac_eth1: 00:11:25:c4:f5:7f
ip_eth1: 192.168.159.87
mac_myri0: 00:60:dd:47:49:b1
ip_myri0: 192.168.162.87
ip_mgt: 192.168.158.87
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/7
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.87
eth0:
mac: 00:11:25:c4:f5:7e
ip: 192.168.160.87
eth1:
mac: 00:11:25:c4:f5:7f
ip: 192.168.159.87
switch_port: Gi4/7
myri0:
mac: 00:60:dd:47:49:b1
ip: 192.168.162.87
chicon-15:
mac_eth0: 00:11:25:c4:d9:d6
ip_eth0: 192.168.160.88
mac_eth1: 00:11:25:c4:d9:d7
ip_eth1: 192.168.159.88
mac_myri0: 00:60:dd:47:4b:bc
ip_myri0: 192.168.162.88
ip_mgt: 192.168.158.88
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/8
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.88
eth0:
mac: 00:11:25:c4:d9:d6
ip: 192.168.160.88
eth1:
mac: 00:11:25:c4:d9:d7
ip: 192.168.159.88
switch_port: Gi4/8
myri0:
mac: 00:60:dd:47:4b:bc
ip: 192.168.162.88
chicon-16:
mac_eth0: 00:11:25:c4:d8:62
ip_eth0: 192.168.160.89
mac_eth1: 00:11:25:c4:d8:63
ip_eth1: 192.168.159.89
mac_myri0: 00:60:dd:47:49:99
ip_myri0: 192.168.162.89
ip_mgt: 192.168.158.89
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/9
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.89
eth0:
mac: 00:11:25:c4:d8:62
ip: 192.168.160.89
eth1:
mac: 00:11:25:c4:d8:63
ip: 192.168.159.89
switch_port: Gi4/9
myri0:
mac: 00:60:dd:47:49:99
ip: 192.168.162.89
chicon-17:
mac_eth0: 00:11:25:c4:e0:d8
ip_eth0: 192.168.160.90
mac_eth1: 00:11:25:c4:e0:d9
ip_eth1: 192.168.159.90
mac_myri0: 00:60:dd:47:49:ae
ip_myri0: 192.168.162.90
ip_mgt: 192.168.158.90
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/10
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.90
eth0:
mac: 00:11:25:c4:e0:d8
ip: 192.168.160.90
eth1:
mac: 00:11:25:c4:e0:d9
ip: 192.168.159.90
switch_port: Gi4/10
myri0:
mac: 00:60:dd:47:49:ae
ip: 192.168.162.90
chicon-18:
mac_eth0: 00:11:25:c4:d9:cc
ip_eth0: 192.168.160.91
mac_eth1: 00:11:25:c4:d9:cd
ip_eth1: 192.168.159.91
mac_myri0: 00:60:dd:47:49:b3
ip_myri0: 192.168.162.91
ip_mgt: 192.168.158.91
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/11
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.91
eth0:
mac: 00:11:25:c4:d9:cc
ip: 192.168.160.91
eth1:
mac: 00:11:25:c4:d9:cd
ip: 192.168.159.91
switch_port: Gi4/11
myri0:
mac: 00:60:dd:47:49:b3
ip: 192.168.162.91
chicon-19:
mac_eth0: 00:11:25:c4:d5:c6
ip_eth0: 192.168.160.92
mac_eth1: 00:11:25:c4:d5:c7
ip_eth1: 192.168.159.92
mac_myri0: 00:60:dd:47:49:a0
ip_myri0: 192.168.162.92
ip_mgt: 192.168.158.92
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/12
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.92
eth0:
mac: 00:11:25:c4:d5:c6
ip: 192.168.160.92
eth1:
mac: 00:11:25:c4:d5:c7
ip: 192.168.159.92
switch_port: Gi4/12
myri0:
mac: 00:60:dd:47:49:a0
ip: 192.168.162.92
chicon-20:
mac_eth0: 00:11:25:c4:d9:d0
ip_eth0: 192.168.160.93
mac_eth1: 00:11:25:c4:d9:d1
ip_eth1: 192.168.159.93
mac_myri0: 00:60:dd:47:49:9b
ip_myri0: 192.168.162.93
ip_mgt: 192.168.158.93
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/13
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.93
eth0:
mac: 00:11:25:c4:d9:d0
ip: 192.168.160.93
eth1:
mac: 00:11:25:c4:d9:d1
ip: 192.168.159.93
switch_port: Gi4/13
myri0:
mac: 00:60:dd:47:49:9b
ip: 192.168.162.93
chicon-21:
mac_eth0: 00:11:25:c4:d9:9e
ip_eth0: 192.168.160.94
mac_eth1: 00:11:25:c4:d9:9f
ip_eth1: 192.168.159.94
mac_myri0: 00:60:dd:47:49:a7
ip_myri0: 192.168.162.94
ip_mgt: 192.168.158.94
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/14
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.94
eth0:
mac: 00:11:25:c4:d9:9e
ip: 192.168.160.94
eth1:
mac: 00:11:25:c4:d9:9f
ip: 192.168.159.94
switch_port: Gi4/14
myri0:
mac: 00:60:dd:47:49:a7
ip: 192.168.162.94
chicon-22:
mac_eth0: 00:11:25:c4:f2:f4
ip_eth0: 192.168.160.95
mac_eth1: 00:11:25:c4:f2:f5
ip_eth1: 192.168.159.95
mac_myri0: 00:60:dd:47:49:a9
ip_myri0: 192.168.162.95
ip_mgt: 192.168.158.95
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/15
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.95
eth0:
mac: 00:11:25:c4:f2:f4
ip: 192.168.160.95
eth1:
mac: 00:11:25:c4:f2:f5
ip: 192.168.159.95
switch_port: Gi4/15
myri0:
mac: 00:60:dd:47:49:a9
ip: 192.168.162.95
chicon-23:
mac_eth0: 00:11:25:c4:c4:dc
ip_eth0: 192.168.160.96
mac_eth1: 00:11:25:c4:c4:dd
ip_eth1: 192.168.159.96
mac_myri0: 00:60:dd:47:49:a8
ip_myri0: 192.168.162.96
ip_mgt: 192.168.158.96
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/16
network_interfaces:
bmc:
mac: 00:19:A9:9F:48:C0
ip: 192.168.158.96
eth0:
mac: 00:11:25:c4:c4:dc
ip: 192.168.160.96
eth1:
mac: 00:11:25:c4:c4:dd
ip: 192.168.159.96
switch_port: Gi4/16
myri0:
mac: 00:60:dd:47:49:a8
ip: 192.168.162.96
chicon-24:
mac_eth0: 00:11:25:c4:d9:9a
ip_eth0: 192.168.160.97
mac_eth1: 00:11:25:c4:d9:9b