Commit 0d84ea8c authored by Cyril Rohr's avatar Cyril Rohr
Browse files

added lile generator

parent 30dc4c4f
site :lille do
name "Lille"
location "Lille, France"
web
description ""
latitude
longitude
email_contact
sys_admin_contact
security_contact
user_support_contact
%w{sid-x64-base-1.0}.each{|env_uid| environment env_uid, :refer_to => "grid5000/environments/#{env_uid}"}
cluster :chuque do
model "IBM eServer 326"
date_of_arrival nil
misc "deployment unavailable because reboot instruments are not enough dependable."
53.times do |i|
node "chuque-#{i+1}" do
architecture({
:smp_size => 2,
:smt_size => 2,
:platform_type => "x86_64"
})
processor({
:vendor => "AMD",
:model => "AMD Opteron",
:version => "248",
:clock_speed => 2.2.giga,
:instruction_set => "",
:other_description => "",
:cache_l1 => 1.MB,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => nil
})
main_memory({
:ram_size => 4.GB(true), # bytes
:virtual_size => nil
})
operating_system({
:name => nil,
:release => nil,
:version => nil
})
storage_devices [
{:interface => 'SATA', :size => 80.GB(false), :driver => "sata_sil"}
]
network_adapters [
{:interface => 'Ethernet', :rate => 1.giga, :enabled => true, :driver => "tg3"}
]
end
end
end # cluster chuque
cluster :chti do
model "IBM eServer 326m"
date_of_arrival nil
20.times do |i|
node "chti-#{i+1}" do
architecture({
:smp_size => 2,
:smt_size => 2,
:platform_type => "x86_64"
})
processor({
:vendor => "AMD",
:model => "AMD Opteron",
:version => "252",
:clock_speed => 2.6.giga,
:instruction_set => "",
:other_description => "",
:cache_l1 => 1.MB,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => nil
})
main_memory({
:ram_size => 4.GB(true), # bytes
:virtual_size => nil
})
operating_system({
:name => nil,
:release => nil,
:version => nil
})
storage_devices [
{:interface => 'SATA', :size => 80.GB(false), :driver => "sata_svw"}
]
network_adapters [
{:interface => 'Ethernet', :rate => 1.giga, :enabled => true, :driver => "tg3"}
]
end
end
end # cluster chti
cluster :chicon do
model "IBM eServer 326m"
date_of_arrival nil
26.times do |i|
node "chicon-#{i+1}" do
architecture({
:smp_size => 2,
:smt_size => 4,
:platform_type => "x86_64"
})
processor({
:vendor => "AMD",
:model => "AMD Opteron",
:version => "285",
:clock_speed => 2.6.giga,
:instruction_set => "",
:other_description => "",
:cache_l1 => 1.MB,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => nil
})
main_memory({
:ram_size => 4.GB(true), # bytes
:virtual_size => nil
})
operating_system({
:name => nil,
:release => nil,
:version => nil
})
storage_devices [
{:interface => 'SATA', :size => 80.GB(false), :driver => "sata_svw"}
]
network_adapters [
{:interface => 'Ethernet', :rate => 1.giga, :enabled => true, :driver => "tg3"}
]
end
end
end # cluster chicon
cluster :chinqchint do
model "Altix Xe 310"
date_of_arrival nil
46.times do |i|
node "chinqchint-#{i+1}" do
architecture({
:smp_size => 2,
:smt_size => 8,
:platform_type => "x86_64"
})
processor({
:vendor => "Intel",
:model => "Intel Xeon",
:version => "E5440 QC",
:clock_speed => 2.83.giga,
:instruction_set => "",
:other_description => "",
:cache_l1 => 4.MB,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => nil
})
main_memory({
:ram_size => 8.GB(true), # bytes
:virtual_size => nil
})
operating_system({
:name => nil,
:release => nil,
:version => nil
})
storage_devices [
{:interface => 'SATA II', :size => 250.GB(false), :driver => "ahci"}
]
network_adapters [
{:interface => 'Ethernet', :rate => 1.giga, :enabled => true, :driver => "e1000"}
]
end
end
end
end
\ No newline at end of file
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