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

[lille] Split yaml and add ip for bmc

parent f11df4e8
......@@ -39,7 +39,7 @@ site :lille do |site_uid|
network_adapters [{
:interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('lille',"#{node_uid}", 'mac_eth0'),
:mac => lookup('lille-chicon',"#{node_uid}", 'mac_eth0'),
: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 => dns_lookup("#{node_uid}-eth0.#{site_uid}.grid5000.fr"),
:ip => lookup('lille-chicon',"#{node_uid}", 'ip_eth0'),
:switch => 'gw'
},{
:interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('lille',"#{node_uid}", 'mac_eth1'),
:mac => lookup('lille-chicon',"#{node_uid}", 'mac_eth1'),
: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 => dns_lookup("#{node_uid}.#{site_uid}.grid5000.fr"),
:ip => lookup('lille-chicon',"#{node_uid}", 'ip_eth1'),
:switch => 'gw',
:switch_port => lookup('lille', "#{node_uid}", 'switch_port')
:switch_port => lookup('lille-chicon', "#{node_uid}", 'switch_port')
},{
:interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('lille',"#{node_uid}", 'mac_mgt'),
:mac => lookup('lille-chicon',"#{node_uid}", 'mac_mgt'),
:vendor => 'IBM',
:version => '1.18',
:enabled => true,
:management => true,
:mountable => false,
:network_address => "#{node_uid}-rsa.#{site_uid}.grid5000.fr",
:ip => dns_lookup("#{node_uid}-rsa.#{site_uid}.grid5000.fr"),
:ip => lookup('lille-chicon',"#{node_uid}", 'ip_mgt'),
: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 => dns_lookup("#{node_uid}-myri0.#{site_uid}.grid5000.fr"),
:ip => lookup('lille-chicon',"#{node_uid}", 'ip_myri0'),
: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
chicon-24:
mac_eth0: 00:11:25:c4:d9:9a
ip_eth0: 192.168.160.97
mac_eth1: 00:11:25:c4:d9:9b
ip_eth1: 192.168.159.97
mac_myri0: 00:60:dd:47:49:b0
ip_myri0: 192.168.162.97
ip_mgt: 192.168.158.97
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/17
chicon-25:
mac_eth0: 00:11:25:c4:d5:ba
ip_eth0: 192.168.160.98
mac_eth1: 00:11:25:c4:d5:bb
ip_eth1: 192.168.159.98
mac_myri0: 00:60:dd:47:4b:b9
ip_myri0: 192.168.162.98
ip_mgt: 192.168.158.98
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/18
chicon-26:
mac_eth0: 00:11:25:c4:d5:b4
ip_eth0: 192.168.160.99
mac_eth1: 00:11:25:c4:d5:b5
ip_eth1: 192.168.159.99
mac_myri0: 00:60:dd:47:4c:8c
ip_myri0: 192.168.162.99
ip_mgt: 192.168.158.99
mac_mgt: 00:19:A9:9F:48:C0
switch_port: Gi4/19
......@@ -42,7 +42,7 @@ site :lille do |site_uid|
network_adapters [{
:interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('lille', node_uid, 'network_interfaces', 'eth0', 'mac'),
:mac => lookup('lille-chimint', node_uid, 'network_interfaces', 'eth0', 'mac'),
:vendor => 'Broadcom',
:version => 'NetXtreme II BCM5716',
:enabled => true,
......@@ -52,12 +52,12 @@ site :lille do |site_uid|
:mounted => true,
:device => 'eth0',
:network_address => "#{node_uid}-eth0.#{site_uid}.grid5000.fr",
:ip => dns_lookup("#{node_uid}-eth0.#{site_uid}.grid5000.fr"),
:ip => lookup('lille-chimint', node_uid, 'network_interfaces', 'eth0', 'ip'),
:switch => 'gw'
},{
:interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('lille', node_uid, 'network_interfaces', 'eth1', 'mac'),
:mac => lookup('lille-chimint', node_uid, 'network_interfaces', 'eth1', 'mac'),
:vendor => 'Broadcom',
:version => 'NetXtreme II BCM5716',
:enabled => true,
......@@ -67,20 +67,20 @@ site :lille do |site_uid|
:mounted => true,
:device => 'eth1',
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:ip => dns_lookup("#{node_uid}.#{site_uid}.grid5000.fr"),
:ip => lookup('lille-chimint', node_uid, 'network_interfaces', 'eth1', 'ip'),
:switch => 'gw',
:switch_port => lookup('lille', node_uid, 'network_interfaces', 'eth1', 'switch_port')
:switch_port => lookup('lille-chimint', node_uid, 'network_interfaces', 'eth1', 'switch_port')
},{
:interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('lille', node_uid, 'network_interfaces', 'bmc', 'mac'),
:mac => lookup('lille-chimint', node_uid, 'network_interfaces', 'bmc', 'mac'),
:vendor => 'Dell',
:version => '1.54',
:enabled => true,
:management => true,
:mountable => false,
:network_address => "#{node_uid}-ipmi.#{site_uid}.grid5000.fr",
:ip => dns_lookup("#{node_uid}-ipmi.#{site_uid}.grid5000.fr"),
:ip => lookup('lille-chimint', node_uid, 'network_interfaces', 'bmc', 'ip'),
:switch => 'gw'
}]
end
......
chimint-1:
bios:
version: 1.5.3
vendor: Dell Inc.
release_date: 10/22/2010
network_interfaces:
bmc:
mac: 84:2b:2b:72:d4:81
ip: 192.168.158.1
eth0:
mac: 84:2b:2b:72:d4:7f
ip: 192.168.160.1
eth1:
mac: 84:2b:2b:72:d4:80
ip: 192.168.159.1
chassis:
serial_number: DQM1Z4J
manufacturer: Dell Inc.
product_name: PowerEdge R410
block_devices:
sda:
model: PERC H700
size: 570949632
rev: 2.10
vendor: DELL
chimint-2:
bios:
version: 1.5.3
vendor: Dell Inc.
release_date: 10/22/2010
network_interfaces:
bmc:
mac: 84:2b:2b:70:4f:4e
ip: 192.168.158.2
eth0:
mac: 84:2b:2b:70:4f:4c
ip: 192.168.160.2
eth1:
mac: 84:2b:2b:70:4f:4d
ip: 192.168.159.2
chassis:
serial_number: 8RM1Z4J
manufacturer: Dell Inc.
product_name: PowerEdge R410
block_devices:
sda:
model: PERC H700
size: 570949632
rev: 2.10
vendor: DELL
chimint-3:
bios:
version: 1.5.3
vendor: Dell Inc.
release_date: 10/22/2010
network_interfaces:
bmc:
mac: 84:2b:2b:70:4e:20
ip: 192.168.158.3
eth0:
mac: 84:2b:2b:70:4e:1e
ip: 192.168.160.3
eth1:
mac: 84:2b:2b:70:4e:1f
ip: 192.168.159.3
chassis:
serial_number: 2RM1Z4J
manufacturer: Dell Inc.
product_name: PowerEdge R410
block_devices:
sda:
model: PERC H700
size: 570949632
rev: 2.10
vendor: DELL
chimint-4:
bios:
version: 1.5.3
vendor: Dell Inc.
release_date: 10/22/2010
network_interfaces:
bmc:
mac: 84:2b:2b:70:cc:8b
ip: 192.168.158.4
eth0:
mac: 84:2b:2b:70:cc:89
ip: 192.168.160.4
eth1:
mac: 84:2b:2b:70:cc:8a
ip: 192.168.159.4
chassis:
serial_number: 3RM1Z4J
manufacturer: Dell Inc.
product_name: PowerEdge R410
block_devices:
sda:
model: PERC H700
size: 570949632
rev: 2.10
vendor: DELL
chimint-5:
bios:
version: 1.5.3
vendor: Dell Inc.
release_date: 10/22/2010
network_interfaces:
bmc:
mac: 84:2b:2b:70:cc:94
ip: 192.168.158.5
eth0:
mac: 84:2b:2b:70:cc:92
ip: 192.168.160.5
eth1:
mac: 84:2b:2b:70:cc:93
ip: 192.168.159.5
chassis:
serial_number: 6RM1Z4J
manufacturer: Dell Inc.
product_name: PowerEdge R410
block_devices:
sda:
model: PERC H700
size: 570949632
rev: 2.10
vendor: DELL
chimint-6:
bios:
version: 1.5.3
vendor: Dell Inc.
release_date: 10/22/2010
network_interfaces:
bmc:
mac: 84:2b:2b:72:d5:a0
ip: 192.168.158.6
eth0:
mac: 84:2b:2b:72:d5:9e
ip: 192.168.160.6
eth1:
mac: 84:2b:2b:72:d5:9f
ip: 192.168.159.6
chassis:
serial_number: FQM1Z4J
manufacturer: Dell Inc.
product_name: PowerEdge R410
block_devices:
sda:
model: PERC H700
size: 570949632
rev: 2.10
vendor: DELL
chimint-7:
bios:
version: 1.5.3
vendor: Dell Inc.
release_date: 10/22/2010
network_interfaces:
bmc:
mac: 84:2b:2b:72:b3:46
ip: 192.168.158.7
eth0:
mac: 84:2b:2b:72:b3:44
ip: 192.168.160.7
eth1:
mac: 84:2b:2b:72:b3:45
ip: 192.168.159.7
chassis:
serial_number: 5RM1Z4J
manufacturer: Dell Inc.
product_name: PowerEdge R410
block_devices:
sda:
model: PERC H700
size: 570949632
rev: 2.10
vendor: DELL
chimint-8:
bios:
version: 1.5.3
vendor: Dell Inc.
release_date: 10/22/2010
network_interfaces:
bmc:
mac: 84:2b:2b:72:da:c5
ip: 192.168.158.8
eth0:
mac: 84:2b:2b:72:da:c3
ip: 192.168.160.8
eth1:
mac: 84:2b:2b:72:da:c4
ip: 192.168.159.8
chassis:
serial_number: CRM1Z4J
manufacturer: Dell Inc.
product_name: PowerEdge R410
block_devices:
sda:
model: PERC H700
size: 570949632
rev: 2.10
vendor: DELL
chimint-9:
bios:
version: 1.5.3
vendor: Dell Inc.
release_date: 10/22/2010
network_interfaces:
bmc:
mac: 84:2b:2b:72:cb:e5
ip: 192.168.158.9
eth0:
mac: 84:2b:2b:72:cb:e3
ip: 192.168.160.9
eth1:
mac: 84:2b:2b:72:cb:e4
ip: 192.168.159.9
chassis:
serial_number: 4RM1Z4J
manufacturer: Dell Inc.
product_name: PowerEdge R410
block_devices:
sda:
model: PERC H700
size: 570949632
rev: 2.10
vendor: DELL
chimint-10:
bios:
version: 1.5.3
vendor: Dell Inc.
release_date: 10/22/2010
network_interfaces:
bmc:
mac: 84:2b:2b:72:d4:4b
ip: 192.168.158.10
eth0:
mac: 84:2b:2b:72:d4:49
ip: 192.168.160.10
eth1:
mac: 84:2b:2b:72:d4:4a
ip: 192.168.159.10
chassis:
serial_number: 9QM1Z4J
manufacturer: Dell Inc.
product_name: PowerEdge R410
block_devices:
sda: