Commit b80cd9cd authored by Pascal Morillon's avatar Pascal Morillon

[admin] Add bios, mac address for eth1, bmc and storage devices informations...

[admin] Add bios, mac address for eth1, bmc and storage devices informations for the cluster paradent
parent 6ad623df
......@@ -8,59 +8,81 @@ site :rennes do |site_uid|
node "#{cluster_uid}-#{i+1}" do |node_uid|
supported_job_types({:deploy => true, :besteffort => true, :virtual => "ivt"})
architecture({
:smp_size => 2,
:smt_size => 8,
:platform_type => "x86_64"
:smp_size => 2,
:smt_size => 8,
:platform_type => "x86_64"
})
processor({
:vendor => "Intel",
:model => "Intel Xeon",
:version => "L5420",
:clock_speed => 2.5.G,
:instruction_set => "",
:other_description => "",
:cache_l1 => nil,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => nil
:vendor => "Intel",
:model => "Intel Xeon",
:version => "L5420",
:clock_speed => 2.5.G,
:instruction_set => "",
:other_description => "",
:cache_l1 => nil,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => nil
})
main_memory({
:ram_size => 32.GiB,
:ram_size => 32.GiB,
:virtual_size => nil
})
operating_system({
:name => "Debian",
:release => "5.0",
:version => nil,
:kernel => "2.6.26"
:name => "Debian",
:release => "5.0",
:version => nil,
:kernel => "2.6.26"
})
storage_devices [{
:interface => 'SATA',
:size => 160.GB,
:driver => "ata_piix"
:interface => 'SATA',
:size => 160.GB,
:driver => "ata_piix",
:device => "sda",
:model => lookup('rennes-paradent', node_uid, 'block_device', 'sda', 'model'),
:rev => lookup('rennes-paradent', node_uid, 'block_device', 'sda', 'rev')
}]
network_adapters [{
:interface => 'Ethernet',
:rate => 1.G,
:enabled => true,
:management => false,
:mountable => true,
:mounted => true,
:device => "eth0",
:driver => "e1000e",
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:ip => lookup('rennes-paradent', node_uid, 'network_interfaces', 'eth0', 'ip'),
:switch => "c6509-grid",
:switch_port => lookup('rennes-paradent', node_uid, 'network_interfaces', 'eth0', 'switch_port'),
:mac => lookup('rennes-paradent', node_uid, 'network_interfaces', 'eth0', 'mac')
:interface => 'Ethernet',
:rate => 1.G,
:enabled => true,
:management => true,
:mountable => false,
:mounted => false,
:device => "bmc",
:network_address => "#{node_uid}-bmc.#{site_uid}.grid5000.fr",
:ip => lookup('rennes-paradent', node_uid, 'network_interfaces', 'bmc', 'ip'),
:mac => lookup('rennes-paradent', node_uid, 'network_interfaces', 'bmc', 'mac')
},
{
:interface => 'Ethernet',
:rate => 1.G,
:enabled => true,
:management => false,
:mountable => true,
:mounted => true,
:device => "eth0",
:driver => "e1000e",
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:ip => lookup('rennes-paradent', node_uid, 'network_interfaces', 'eth0', 'ip'),
:switch => "c6509-grid",
:switch_port => lookup('rennes-paradent', node_uid, 'network_interfaces', 'eth0', 'switch_port'),
:mac => lookup('rennes-paradent', node_uid, 'network_interfaces', 'eth0', 'mac')
},
{
:interface => 'Ethernet',
:rate => 1.G,
:enabled => false,
:device => "eth1",
:driver => "e1000e"
}]
:interface => 'Ethernet',
:rate => 1.G,
:enabled => false,
:device => "eth1",
:driver => "e1000e",
:mac => lookup('rennes-paradent', node_uid, 'network_interfaces', 'eth1', 'mac')
}]
bios({
:version => lookup('rennes-paradent', node_uid, 'bios', 'version'),
:vendor => lookup('rennes-paradent', node_uid, 'bios', 'vendor'),
:release_date => lookup('rennes-paradent', node_uid, 'bios', 'release_date')
})
#chassis({:serial_number => lookup('rennes-paradent', node_uid, 'chassis', 'serial_number')})
end
end
end
......
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