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} ...@@ -31,19 +31,19 @@ options = {:simulate => false}
option_parser = OptionParser.new do |opts| option_parser = OptionParser.new do |opts|
opts.banner = %{ opts.banner = %{
A tool to generate the Grid5000 reference data. A tool to generate the Grid5000 reference data.
Usage: Usage:
./grid5000 input_files [config_files] [options] ./grid5000 input_files [config_files] [options]
Notes: Notes:
* input_files MUST be .rb files. * input_files MUST be .rb files.
* config_files MUST be .yml or .yaml files. * config_files MUST be .yml or .yaml files.
Examples: Examples:
./grid5000 input/*.rb input/*.yaml -s ./grid5000 input/*.rb input/*.yaml -s
./grid5000 input/nancy.rb input/nancy.yaml ./grid5000 input/nancy.rb input/nancy.yaml
./grid5000 input/rennes.rb input/lille.rb -s ./grid5000 input/rennes.rb input/lille.rb -s
Options:} Options:}
opts.on("-s", "--simulate", "Run in simulation mode (do not write changes). Default to false.") do |v| opts.on("-s", "--simulate", "Run in simulation mode (do not write changes). Default to false.") do |v|
options[:simulate] = v options[:simulate] = v
...@@ -52,7 +52,7 @@ option_parser = OptionParser.new do |opts| ...@@ -52,7 +52,7 @@ option_parser = OptionParser.new do |opts|
puts opts puts opts
exit exit
end end
end end
option_parser.parse! option_parser.parse!
......
...@@ -16,25 +16,32 @@ site :toulouse do |site_uid| ...@@ -16,25 +16,32 @@ site :toulouse do |site_uid|
:vendor => "AMD", :vendor => "AMD",
:model => "AMD Opteron", :model => "AMD Opteron",
:version => "2218", :version => "2218",
:clock_speed => 2613.M, :clock_speed => 2600000000,
:instruction_set => "", :instruction_set => "x86-64",
:other_description => "", :other_description => "Dual-Core AMD Opteron(tm) Processor 2218",
:cache_l1 => nil, :cache_l1 => 65536,
:cache_l1i => nil, :cache_l1i => 65536,
:cache_l1d => nil, :cache_l1d => 65536,
:cache_l3 => 0,
:cache_l2 => 1.MiB :cache_l2 => 1.MiB
}) })
main_memory({ main_memory({
:ram_size => 8.GiB, # bytes :ram_size => 8395284480,#8.GiB, # bytes
:virtual_size => nil :virtual_size => nil
}) })
operating_system({ operating_system({
:name => nil, :name => "debian",
:release => nil, :release => "Squeeze",
:version => nil :version => "6.0",
:kernel => "#1 SMP Debian 3.2.35-2"
}) })
storage_devices [ 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 [ network_adapters [
{ :interface => 'Ethernet', { :interface => 'Ethernet',
...@@ -60,6 +67,7 @@ site :toulouse do |site_uid| ...@@ -60,6 +67,7 @@ site :toulouse do |site_uid|
:mac => lookup('pastel', node_uid, 'network_interfaces','eth1','mac'), :mac => lookup('pastel', node_uid, 'network_interfaces','eth1','mac'),
:vendor => "NVIDIA", :vendor => "NVIDIA",
:version => "MCP55 Pro", :version => "MCP55 Pro",
:driver => "forcedeth",
:enabled => false, :enabled => false,
:management => false, :management => false,
:mountable => false, :mountable => false,
...@@ -82,6 +90,16 @@ site :toulouse do |site_uid| ...@@ -82,6 +90,16 @@ site :toulouse do |site_uid|
:switch => '<unknown>' :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({
:gpu => false :gpu => false
}) })
......
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