Commit eac6e692 authored by Émile Morel's avatar Émile Morel
Browse files

[admin] Toulouse - add missings values

parent 4020adbd
......@@ -31,19 +31,19 @@ options = {:simulate => false}
option_parser = OptionParser.new do |opts|
opts.banner = %{
A tool to generate the Grid5000 reference data.
Usage:
./grid5000 input_files [config_files] [options]
Notes:
* input_files MUST be .rb files.
* config_files MUST be .yml or .yaml files.
Examples:
./grid5000 input/*.rb input/*.yaml -s
./grid5000 input/nancy.rb input/nancy.yaml
./grid5000 input/rennes.rb input/lille.rb -s
Options:}
opts.on("-s", "--simulate", "Run in simulation mode (do not write changes). Default to false.") do |v|
options[:simulate] = v
......@@ -52,7 +52,7 @@ option_parser = OptionParser.new do |opts|
puts opts
exit
end
end
option_parser.parse!
......
......@@ -16,25 +16,32 @@ site :toulouse do |site_uid|
:vendor => "AMD",
:model => "AMD Opteron",
:version => "2218",
:clock_speed => 2613.M,
:instruction_set => "",
:other_description => "",
:cache_l1 => nil,
:cache_l1i => nil,
:cache_l1d => nil,
:clock_speed => 2600000000,
:instruction_set => "x86-64",
:other_description => "Dual-Core AMD Opteron(tm) Processor 2218",
:cache_l1 => 65536,
:cache_l1i => 65536,
:cache_l1d => 65536,
:cache_l3 => 0,
:cache_l2 => 1.MiB
})
main_memory({
:ram_size => 8.GiB, # bytes
:ram_size => 8395284480,#8.GiB, # bytes
:virtual_size => nil
})
operating_system({
:name => nil,
:release => nil,
:version => nil
:name => "debian",
:release => "Squeeze",
:version => "6.0",
:kernel => "#1 SMP Debian 3.2.35-2"
})
storage_devices [
{:interface => 'SATA', :size => 250.GB, :driver => "sata_nv"}
{:interface => 'SATA',
:size => 250056000000,#250.GB, #bytes
:driver => "sata_nv",
:device => "sda",
:version => "V5DO"
}
]
network_adapters [
{ :interface => 'Ethernet',
......@@ -60,6 +67,7 @@ site :toulouse do |site_uid|
:mac => lookup('pastel', node_uid, 'network_interfaces','eth1','mac'),
:vendor => "NVIDIA",
:version => "MCP55 Pro",
:driver => "forcedeth",
:enabled => false,
:management => false,
:mountable => false,
......@@ -82,6 +90,16 @@ site :toulouse do |site_uid|
:switch => '<unknown>'
}
]
bios({
:version => lookup('pastel', node_uid, 'bios', 'version'),
:vendor => lookup('pastel', node_uid, 'bios', 'vendor'),
:release_date => lookup('pastel', node_uid, 'bios', 'release_date')
})
chassis({
:serial => lookup('pastel', node_uid, 'chassis', 'serial_number'),
:name => lookup('pastel', node_uid, 'chassis', 'product_name'),
:manufacturer => lookup('pastel', node_uid, 'chassis', 'manufacturer')
})
gpu({
:gpu => false
})
......
......@@ -12,17 +12,18 @@ pastel-1:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:E0:8E:3E
mac: 00:16:36:e0:8e:3e
ip: 172.17.112.1
eth0:
mac: 00:16:36:E0:82:92
mac: 00:16:36:e0:82:92
ip: 172.16.112.1
switch_name: r4
switch_port: Gi1/1
eth1:
mac: 00:16:36:E0:82:93
mac: 00:16:36:e0:82:93
pastel-2:
bios:
version: S39_3B13
......@@ -36,17 +37,18 @@ pastel-2:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:1B:24:2D:FC:4C
mac: 00:1b:24:2d:fc:4c
ip: 172.17.112.2
eth0:
mac: 00:1B:24:2D:F8:83
mac: 00:1b:24:2d:f8:83
ip: 172.16.112.2
switch_name: r4
switch_port: Gi1/2
eth1:
mac: 00:1B:24:2D:F8:84
mac: 00:1b:24:2d:f8:84
pastel-3:
bios:
version: S39_3B13
......@@ -60,17 +62,18 @@ pastel-3:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:DF:0A:75
mac: 00:16:36:df:0a:75
ip: 172.17.112.3
eth0:
mac: 00:16:36:DF:09:12
mac: 00:16:36:df:09:12
ip: 172.16.112.3
switch_name: r4
switch_port: Gi1/3
eth1:
mac: 00:16:36:DF:09:13
mac: 00:16:36:df:09:13
pastel-4:
bios:
version: S39_3B13
......@@ -84,17 +87,18 @@ pastel-4:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:E0:8D:40
mac: 00:16:36:e0:8d:40
ip: 172.17.112.4
eth0:
mac: 00:16:36:E0:7E:D6
mac: 00:16:36:e0:7e:d6
ip: 172.16.112.4
switch_name: r4
switch_port: Gi1/4
eth1:
mac: 00:16:36:E0:7E:D7
mac: 00:16:36:e0:7e:d7
pastel-5:
bios:
version: S39_3B13
......@@ -108,17 +112,18 @@ pastel-5:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:E0:8B:B1
mac: 00:16:36:e0:8b:b1
ip: 172.17.112.5
eth0:
mac: 00:16:36:E0:78:2E
mac: 00:16:36:e0:78:2e
ip: 172.16.112.5
switch_name: r4
switch_port: Gi1/5
eth1:
mac: 00:16:36:E0:78:2F
mac: 00:16:36:e0:78:2f
pastel-6:
bios:
version: S39_3B13
......@@ -132,17 +137,18 @@ pastel-6:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:D2:F7:DD
mac: 00:16:36:d2:f7:dd
ip: 172.17.112.6
eth0:
mac: 00:16:36:D2:EE:F8
mac: 00:16:36:d2:ee:f8
ip: 172.16.112.6
switch_name: r4
switch_port: Gi1/6
eth1:
mac: 00:16:36:D2:EE:F9
mac: 00:16:36:d2:ee:f9
pastel-7:
bios:
version: S39_3B13
......@@ -156,17 +162,18 @@ pastel-7:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:DF:0A:6E
mac: 00:16:36:df:0a:6e
ip: 172.17.112.7
eth0:
mac: 00:16:36:D2:EF:38
mac: 00:16:36:d2:ef:38
ip: 172.16.112.7
switch_name: r4
switch_port: Gi1/7
eth1:
mac: 00:16:36:D2:EF:39
mac: 00:16:36:d2:ef:39
pastel-8:
bios:
version: S39_3B13
......@@ -180,17 +187,18 @@ pastel-8:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:E0:8B:D2
mac: 00:16:36:e0:8b:d2
ip: 172.17.112.8
eth0:
mac: 00:16:36:E0:78:B2
mac: 00:16:36:e0:78:b2
ip: 172.16.112.8
switch_name: r4
switch_port: Gi1/8
eth1:
mac: 00:16:36:E0:78:B3
mac: 00:16:36:e0:78:b3
pastel-9:
bios:
version: S39_3B13
......@@ -204,17 +212,18 @@ pastel-9:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:76:56:C5
mac: 00:16:36:76:56:c5
ip: 172.17.112.9
eth0:
mac: 00:16:36:76:52:AB
mac: 00:16:36:76:52:ab
ip: 172.16.112.9
switch_name: r4
switch_port: Gi1/9
eth1:
mac: 00:16:36:76:52:AC
mac: 00:16:36:76:52:ac
pastel-10:
bios:
version: S39_3B13
......@@ -228,17 +237,18 @@ pastel-10:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:E0:8E:8D
mac: 00:16:36:e0:8e:8d
ip: 172.17.112.10
eth0:
mac: 00:16:36:E0:80:1A
mac: 00:16:36:e0:80:1a
ip: 172.16.112.10
switch_name: r4
switch_port: Gi1/10
eth1:
mac: 00:16:36:E0:80:1B
mac: 00:16:36:e0:80:1b
pastel-11:
bios:
version: S39_3B13
......@@ -252,17 +262,18 @@ pastel-11:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:DF:0A:99
mac: 00:16:36:df:0a:99
ip: 172.17.112.11
eth0:
mac: 00:16:36:D2:EF:48
mac: 00:16:36:d2:ef:48
ip: 172.16.112.11
switch_name: r4
switch_port: Gi1/11
eth1:
mac: 00:16:36:D2:EF:49
mac: 00:16:36:d2:ef:49
pastel-12:
bios:
version: S39_3B13
......@@ -276,17 +287,18 @@ pastel-12:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:1B:24:2D:FC:EC
mac: 00:1b:24:2d:fc:ec
ip: 172.17.112.12
eth0:
mac: 00:1B:24:2D:F7:13
mac: 00:1b:24:2d:f7:13
ip: 172.16.112.12
switch_name: r4
switch_port: Gi1/12
eth1:
mac: 00:1B:24:2D:F7:14
mac: 00:1b:24:2d:f7:14
pastel-13:
bios:
version: S39_3B13
......@@ -300,17 +312,18 @@ pastel-13:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:E0:8C:16
mac: 00:16:36:e0:8c:16
ip: 172.17.112.13
eth0:
mac: 00:16:36:E0:79:C2
mac: 00:16:36:e0:79:c2
ip: 172.16.112.13
switch_name: r4
switch_port: Gi1/13
eth1:
mac: 00:16:36:E0:79:C3
mac: 00:16:36:e0:79:c3
pastel-14:
bios:
version: S39_3B13
......@@ -324,17 +337,18 @@ pastel-14:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:D2:F8:1C
mac: 00:16:36:d2:f8:1c
ip: 172.17.112.14
eth0:
mac: 00:16:36:D2:F1:C4
mac: 00:16:36:d2:f1:c4
ip: 172.16.112.14
switch_name: r4
switch_port: Gi1/14
eth1:
mac: 00:16:36:D2:F1:C5
mac: 00:16:36:d2:f1:c5
pastel-15:
bios:
version: S39_3B13
......@@ -348,17 +362,18 @@ pastel-15:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:7B:48:7C
mac: 00:16:36:7b:48:7c
ip: 172.17.112.15
eth0:
mac: 00:16:36:7B:46:51
mac: 00:16:36:7b:46:51
ip: 172.16.112.15
switch_name: r4
switch_port: Gi1/15
eth1:
mac: 00:16:36:7B:46:52
mac: 00:16:36:7b:46:52
pastel-16:
bios:
version: S39_3B13
......@@ -372,17 +387,18 @@ pastel-16:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:DF:0A:74
mac: 00:16:36:df:0a:74
ip: 172.17.112.16
eth0:
mac: 00:16:36:DF:09:0E
mac: 00:16:36:df:09:0e
ip: 172.16.112.16
switch_name: r4
switch_port: Gi1/16
eth1:
mac: 00:16:36:DF:09:0F
mac: 00:16:36:df:09:0f
pastel-17:
bios:
version: S39_3B13
......@@ -396,17 +412,18 @@ pastel-17:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:1B:24:2D:FD:4A
mac: 00:1b:24:2d:fd:4a
ip: 172.17.112.17
eth0:
mac: 00:1B:24:2D:F5:C3
mac: 00:1b:24:2d:f5:c3
ip: 172.16.112.17
switch_name: r4
switch_port: Gi1/17
eth1:
mac: 00:1B:24:2D:F5:C4
mac: 00:1b:24:2d:f5:c4
pastel-18:
bios:
version: S39_3B13
......@@ -420,17 +437,18 @@ pastel-18:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:D2:F7:A0
mac: 00:16:36:d2:f7:a0
ip: 172.17.112.18
eth0:
mac: 00:16:36:D2:F0:40
mac: 00:16:36:d2:f0:40
ip: 172.16.112.18
switch_name: r4
switch_port: Gi1/18
eth1:
mac: 00:16:36:D2:F0:41
mac: 00:16:36:d2:f0:41
pastel-19:
bios:
version: S39_3B13
......@@ -444,17 +462,18 @@ pastel-19:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:D7:5B:DC
mac: 00:16:36:d7:5b:dc
ip: 172.17.112.19
eth0:
mac: 00:16:36:D7:4D:40
mac: 00:16:36:d7:4d:40
ip: 172.16.112.19
switch_name: r4
switch_port: Gi1/19
eth1:
mac: 00:16:36:D7:4D:41
mac: 00:16:36:d7:4d:41
pastel-20:
bios:
version: S39_3B13
......@@ -468,17 +487,18 @@ pastel-20:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:16:36:D7:5C:C2
mac: 00:16:36:d7:5c:c2
ip: 172.17.112.20
eth0:
mac: 00:16:36:D7:4E:F4
mac: 00:16:36:d7:4e:f4
ip: 172.16.112.20
switch_name: r4
switch_port: Gi1/20
eth1:
mac: 00:16:36:D7:4E:F5
mac: 00:16:36:d7:4e:f5
pastel-21:
bios:
version: S39_3B13
......@@ -492,17 +512,18 @@ pastel-21:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:1B:24:3D:CB:95
mac: 00:1b:24:3d:cb:95
ip: 172.17.112.21
eth0:
mac: 00:1B:24:3D:CA:9D
mac: 00:1b:24:3d:ca:9d
ip: 172.16.112.21
switch_name: r4
switch_port: Gi1/21
eth1:
mac: 00:1B:24:3D:CA:9E
mac: 00:1b:24:3d:ca:9e
pastel-22:
bios:
version: S39_3B13
......@@ -516,17 +537,18 @@ pastel-22:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:1B:24:2D:FC:69
mac: 00:1b:24:2d:fc:69
ip: 172.17.112.22
eth0:
mac: 00:1B:24:2D:F8:63
mac: 00:1b:24:2d:f8:63
ip: 172.16.112.22
switch_name: r4
switch_port: Gi1/22
eth1:
mac: 00:1B:24:2D:F8:64
mac: 00:1b:24:2d:f8:64
pastel-23:
bios:
version: S39_3B13
......@@ -540,17 +562,18 @@ pastel-23:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:1B:24:2D:FC:E0
mac: 00:1b:24:2d:fc:e0
ip: 172.17.112.23
eth0:
mac: 00:1B:24:2D:F6:E7
mac: 00:1b:24:2d:f6:e7
ip: 172.16.112.23
switch_name: r4
switch_port: Gi1/23
eth1:
mac: 00:1B:24:2D:F6:E8
mac: 00:1b:24:2d:f6:e8
pastel-24:
bios:
version: S39_3B13
......@@ -564,17 +587,18 @@ pastel-24:
chassis:
manufacturer: Sun Microsystems
product_name: Sun Fire X2200 M2
serial_number: 0723QBT063
network_interfaces:
bmc:
mac: 00:1B:24:2D:FB:ED
mac: 00:1b:24:2d:fb:ed
ip: 172.17.112.24
eth0:
mac: 00:1B:24:2D:FA:7F
mac: 00:1b:24:2d:fa:7f
ip: 172.16.112.24
switch_name: r4
switch_port: Gi1/24
eth1:
mac: 00:1B:24:2D:FA:80
mac: 00:1b:24:2d:fa:80
pastel-25:
bios:
version: S39_3B13
......@@ -588,17 +612,18 @@ pastel-25:
chassis:
manufacturer: Sun Microsystems