Commit 8616574c authored by Sebastien Badia's avatar Sebastien Badia
Browse files

[toulouse] Remove compilation server, Switch to refget struct and remove dns_lookup

parent 61b07bc5
{
"description": "",
"email_contact": null,
"compilation_server": false,
"description": "Toulouse Grid'5000 Site",
"latitude": 43.6167,
"location": "Toulouse, France",
"longitude": 1.4333,
"name": "Toulouse",
"security_contact": null,
"sys_admin_contact": null,
"security_contact": "toulouse-staff@lists.grid5000.fr",
"sys_admin_contact": "toulouse-staff@lists.grid5000.fr",
"type": "site",
"uid": "toulouse",
"user_support_contact": null,
"web": null
"user_support_contact": "toulouse-staff@lists.grid5000.fr",
"web": "https://www.grid5000.fr/mediawiki/index.php/Toulouse:Home"
}
\ No newline at end of file
site :toulouse do |site_uid|
cluster :pastel do |cluster_uid|
model "Sun Fire X2200 M2"
created_at Time.parse("2007-11-29").httpdate
80.times do |i|
node "#{cluster_uid}-#{i+1}" do |node_uid|
supported_job_types({:deploy => true, :besteffort => true, :virtual => "amd-v"})
architecture({
:smp_size => 2,
:smt_size => 4,
:platform_type => "x86_64"
})
processor({
:vendor => "AMD",
:model => "AMD Opteron",
:version => "2218",
:clock_speed => 2613.M,
:instruction_set => "",
:other_description => "",
:cache_l1 => nil,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => 1.MiB
})
main_memory({
:ram_size => 8.GiB, # bytes
:virtual_size => nil
})
operating_system({
:name => nil,
:release => nil,
:version => nil
})
storage_devices [
{:interface => 'SATA', :size => 250.GB, :driver => "sata_nv"}
]
network_adapters [
{ :interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('toulouse-pastel', node_uid, 'network_interfaces','eth0','mac'),
:vendor => "NVIDIA",
:version => "MCP55 Pro",
:driver => "forcedeth",
:enabled => true,
:management => false,
:mountable => true,
:mounted => true,
:device => "eth0",
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:ip => lookup('toulouse-pastel', node_uid,'network_interfaces','eth0','ip'),
:ip6 => nil,
:switch => "r4"
},
{ :interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('toulouse-pastel', node_uid, 'network_interfaces','eth1','mac'),
:vendor => "NVIDIA",
:version => "MCP55 Pro",
:enabled => false,
:management => false,
:mountable => false,
:mounted => false,
:device => "eth1",
:switch => nil
},
{ :interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('toulouse-pastel', node_uid, 'network_interfaces','bmc','mac'),
:vendor => "Broadcom",
:version => "BCM5715c",
:enabled => true,
:management => true,
:mountable => false,
:mounted => false,
:network_address => "#{node_uid}-bmc.#{site_uid}.grid5000.fr",
:ip => lookup('toulouse-pastel', node_uid,'network_interfaces','bmc','ip'),
:ip6 => nil,
:switch => '<unknown>'
}
]
end
end
end
end
This diff is collapsed.
site :toulouse do |site_uid|
name "Toulouse"
location "Toulouse, France"
web
description ""
web "https://www.grid5000.fr/mediawiki/index.php/Toulouse:Home"
description "Toulouse Grid'5000 Site"
latitude 43.6167
longitude 1.4333
email_contact
sys_admin_contact
security_contact
user_support_contact
sys_admin_contact "toulouse-staff@lists.grid5000.fr"
security_contact "toulouse-staff@lists.grid5000.fr"
user_support_contact "toulouse-staff@lists.grid5000.fr"
compilation_server false
cluster :pastel do |cluster_uid|
model "Sun Fire X2200 M2"
created_at Time.parse("2007-11-29").httpdate
80.times do |i|
node "#{cluster_uid}-#{i+1}" do |node_uid|
supported_job_types({:deploy => true, :besteffort => true, :virtual => "amd-v"})
architecture({
:smp_size => 2,
:smt_size => 4,
:platform_type => "x86_64"
})
processor({
:vendor => "AMD",
:model => "AMD Opteron",
:version => "2218",
:clock_speed => 2613.M,
:instruction_set => "",
:other_description => "",
:cache_l1 => nil,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => 1.MiB
})
main_memory({
:ram_size => 8.GiB, # bytes
:virtual_size => nil
})
operating_system({
:name => nil,
:release => nil,
:version => nil
})
storage_devices [
{:interface => 'SATA', :size => 250.GB, :driver => "sata_nv"}
]
network_adapters [
{ :interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('toulouse-pastel', node_uid, 'mac_eth0'),
:vendor => "NVIDIA",
:version => "MCP55 Pro",
:driver => "forcedeth",
:enabled => true,
:management => false,
:mountable => true,
:mounted => true,
:device => "eth0",
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:ip => dns_lookup("#{node_uid}.#{site_uid}.grid5000.fr"),
:ip6 => nil,
:switch => "r4"
},
{ :interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('toulouse-pastel', node_uid, 'mac_eth1'),
:vendor => "NVIDIA",
:version => "MCP55 Pro",
:enabled => false,
:management => false,
:mountable => false,
:mounted => false,
:device => "eth1",
:switch => nil
},
{ :interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('toulouse-pastel', node_uid, 'mac_ipmi'),
:vendor => "Broadcom",
:version => "BCM5715c",
:enabled => true,
:management => true,
:mountable => false,
:mounted => false,
:network_address => "#{node_uid}-bmc.#{site_uid}.grid5000.fr",
:ip => dns_lookup("#{node_uid}-bmc.#{site_uid}.grid5000.fr"),
:ip6 => nil,
:switch => '<unknown>'
}
]
end
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