Commit 2c88f86e authored by Jérémie Gaidamour's avatar Jérémie Gaidamour

[grenoble] update input files

parent 32167a98
......@@ -84,7 +84,7 @@ class ::Hash
}
end
# sort a hash according to the position of the key in the array
# sort a hash according to the position of the key in the array.
def sort_by_array(array)
Hash[sort_by{|key, _| array.index(key) || length}]
end
......
......@@ -120,6 +120,7 @@ global_hash["sites"].each do |site_uid, site|
# Populate "network_address", "switch" and "switch_port" from the network equipment description for each network adapters
node["network_adapters"].each { |network_adapter|
network_adapter["mac"] = network_adapter["mac"].downcase if network_adapter["mac"].is_a?(String)
# ib properties
network_adapter["ib_switch_card"] = network_adapter.delete("line_card") if network_adapter.key?("line_card")
......
......@@ -3,7 +3,9 @@
model: Bull R422-E2 dual mobo + Tesla S1070
created_at: 2010-09-02
kavlan: true
production: true
queues:
- default
- admin
nodes:
......
......@@ -11,10 +11,6 @@ adonis-1:
size: 251059544064
rev: 3.0
vendor: Western Digital
operating_system:
kernel: 2.6.32-5-amd64
name: debian
version: 6.0.6
network_adapters:
ib0:
mounted: true
......
......@@ -4,10 +4,6 @@ adonis-10:
version: R4222X80
release_date: 05/20/2010
vendor: American Megatrends Inc.
operating_system:
kernel: 2.6.32-5-amd64
name: debian
version: 6.0.6
network_adapters:
ib0:
mounted: true
......
......@@ -11,10 +11,6 @@ adonis-2:
size: 251059544064
rev: 3.0
vendor: Western Digital
operating_system:
kernel: 2.6.32-5-amd64
name: debian
version: 6.0.6
network_adapters:
ib0:
mounted: true
......
......@@ -46,10 +46,6 @@ adonis-3:
size: 251059544064
rev: 3.0
vendor: Western Digital
operating_system:
kernel: 2.6.32-5-amd64
name: debian
version: 6.0.6
supported_job_types:
virtual: ivt
chassis:
......
......@@ -11,10 +11,6 @@ adonis-4:
size: 251059544064
rev: 3.0
vendor: Western Digital
operating_system:
kernel: 2.6.32-5-amd64
name: debian
version: 6.0.6
network_adapters:
ib0:
mounted: true
......
......@@ -46,10 +46,6 @@ adonis-5:
size: 251059544064
rev: 3.0
vendor: Western Digital
operating_system:
kernel: 2.6.32-5-amd64
name: debian
version: 6.0.6
chassis:
serial: "1234567890"
manufacturer: Bull SAS
......
......@@ -39,10 +39,6 @@ adonis-6:
bmc:
mac: 00:30:48:cc:ad:f2
ip: 172.17.18.6
operating_system:
kernel: 2.6.32-5-amd64
name: debian
version: 6.0.6
storage_devices:
sda:
model: WDC WD2502ABYS-0
......
......@@ -46,10 +46,6 @@ adonis-7:
bmc:
mac: 00:30:48:cc:b5:e4
ip: 172.17.18.7
operating_system:
kernel: 2.6.32-5-amd64
name: debian
version: 6.0.6
chassis:
serial: "1234567890"
manufacturer: Bull SAS
......
......@@ -4,10 +4,6 @@ adonis-8:
version: R4222X80
release_date: 05/20/2010
vendor: American Megatrends Inc.
operating_system:
kernel: 2.6.32-5-amd64
name: debian
version: 6.0.6
storage_devices:
sda:
model: WDC WD2502ABYS-0
......
......@@ -39,10 +39,6 @@ adonis-9:
bmc:
mac: 00:25:90:4b:bd:b1
ip: 172.17.18.9
operating_system:
kernel: 2.6.32-5-amd64
name: debian
version: 6.0.6
storage_devices:
sda:
model: WDC WD2502ABYS-0
......
......@@ -3,7 +3,9 @@
model: Bull bullx B500 compute blades
created_at: 2008-10-03
kavlan: true
production: true
queues:
- default
- admin
nodes:
......
......@@ -3,7 +3,9 @@
model: Bull R422-E1
created_at: 2008-10-01
kavlan: true
production: true
queues:
- default
- admin
nodes:
......
......@@ -14,4 +14,6 @@ compilation_server: false
kavlan_ip_range: 10.4.0.0/14
virt_ip_range: 10.132.0.0/14
storage5k: false
production: true
queues:
- default
- admin
site :grenoble do |site_uid|
2.times do |i|
pdu "adonis-pdu-#{i+1}" do |pdu_uid|
vendor "Eaton Corporation"
model "ePDU C20 16A"
sensors [
{
:power => {
:per_outlets => true,
:snmp => {
:available => true,
:total_oids => ["iso.3.6.1.4.1.534.6.6.7.5.5.1.3.0.1", "iso.3.6.1.4.1.534.6.6.7.5.5.1.3.0.2"],
:unit => "W",
:outlet_prefix_oid => "iso.3.6.1.4.1.534.6.6.7.5.5.1.3.0"
}
}
}
]
end
end
end
......@@ -2,7 +2,9 @@
model: Dell PowerEdge R410
created_at: 2011-03-25
kavlan: true
production: true
queues:
- default
- admin
nodes:
......
model: Altix Xe 310
created_at: 2007-09-10
kavlan: true
production: true
queues:
- default
- admin
nodes:
......
......@@ -2,7 +2,9 @@ model: Dell PowerEdge C6100
created_at: 2011-03-25
priority: 201199
kavlan: true
production: true
queues:
- default
- admin
nodes:
chirloute-[1-8]:
......
site :lille do |site_uid|
name "Lille"
location "Lille, France"
web "http://www.grid5000.fr/mediawiki/index.php/Lille:Home"
description "Grid5000 Lille site"
latitude 50.6500
longitude 3.0833
email_contact "support-staff@lists.grid5000.fr"
sys_admin_contact "support-staff@lists.grid5000.fr"
security_contact "support-staff@lists.grid5000.fr"
user_support_contact "support-staff@lists.grid5000.fr"
compilation_server false
kavlan_ip_range "10.8.0.0/14"
virt_ip_range "10.136.0.0/14"
storage5k false
production true
end
model: PowerEdge 1950
created_at: 2011-12-01
kavlan: true
production: true
queues:
- default
- admin
nodes:
granduc-[1-22]:
......
model: PowerEdge M620
created_at: 2013-09-10
kavlan: true
production: true
queues:
- default
- admin
nodes:
petitprince-[1-16]:
......
......@@ -13,5 +13,7 @@ compilation_server: false
kavlan_ip_range: 10.40.0.0/14
virt_ip_range: 10.172.0.0/14
storage5k: true
production: true
queues:
- default
- admin
......@@ -3,7 +3,9 @@ model: Dell C6220
created_at: 2012-10-02
priority: 201299
kavlan: true
production: true
queues:
- default
- admin
nodes:
hercule-[1-4]:
......
......@@ -2,7 +2,9 @@ model: Dell R720
created_at: 2012-09-14
priority: 201299
kavlan: true
production: true
queues:
- default
- admin
nodes:
orion-[1-4]:
......
......@@ -2,7 +2,9 @@
model: Sun Fire V20z
created_at: 2006-07-01
kavlan: true
production: true
queues:
- default
- admin
nodes:
sagittaire-[1-79]:
......
......@@ -2,7 +2,9 @@
model: Dell R720
created_at: 2012-09-14
kavlan: true
production: true
queues:
- default
- admin
nodes:
taurus-[1-16]:
......
site :lyon do |site_uid|
name "Lyon"
location "Lyon, France"
web "https://www.grid5000.fr/mediawiki/index.php/Lyon:Home"
description "Lyon Grid'5000 Site"
latitude 45.7667
longitude 4.8333
email_contact "support-staff@lists.grid5000.fr"
sys_admin_contact "support-staff@lists.grid5000.fr"
security_contact "support-staff@lists.grid5000.fr"
user_support_contact "support-staff@lists.grid5000.fr"
compilation_server false
kavlan_ip_range "10.12.0.0/14"
virt_ip_range "10.140.0.0/14"
storage5k true
production true
end
......@@ -13,4 +13,6 @@ compilation_server: false
kavlan_ip_range: 10.12.0.0/14
virt_ip_range: 10.140.0.0/14
storage5k: true
production: true
queues:
- default
- admin
site :nancy do |site_uid|
3.times do |i|
pdu "graphene-pdu#{i+7}" do |pdu_uid|
vendor "Eaton Corporation"
model ""
sensors [
{
:power => {
:per_outlets => true,
:snmp => {
:available => true,
:total_oids => ["iso.3.6.1.4.1.534.6.6.7.5.5.1.3.0.1", "iso.3.6.1.4.1.534.6.6.7.5.5.1.3.0.2"],
:unit => "W",
:outlet_prefix_oid => "iso.3.6.1.4.1.534.6.6.7.6.5.1.3.0"
}
}
}
]
end
end
6.times do |i|
pdu "graphene-pdu#{i+1}" do |pdu_uid|
vendor "APC"
model "AP7953"
sensors [
{
:power => {
:per_outlets => false,
:snmp => {
:available => true,
:total_oids => ["iso.3.6.1.4.1.318.1.1.12.1.16.0"],
:unit => "W"
}
}
}
]
end
end
2.times do |i|
pdu "griffon-pdu#{i+1}" do |pdu_uid|
vendor "APC"
model "AP7953"
sensors [
{
:power => {
:per_outlets => false,
:snmp => {
:available => true,
:total_oids => ["iso.3.6.1.4.1.318.1.1.12.1.16.0"],
:unit => "W"
}
}
}
]
end
end
2.times do |i|
pdu "graoully-pdu#{i+1}" do |pdu_uid|
vendor "APC"
model "AP8653"
sensors [
{
:power => {
:per_outlets => true,
:snmp => {
:available => true,
:total_oids => ["iso.3.6.1.4.1.318.1.1.12.1.16.0"],
:unit => "W",
:outlet_prefix_oid => "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7"
}
}
}
]
end
end
2.times do |i|
pdu "grimoire-pdu#{i+1}" do |pdu_uid|
vendor "APC"
model "AP8653"
sensors [
{
:power => {
:per_outlets => true,
:snmp => {
:available => true,
:total_oids => ["iso.3.6.1.4.1.318.1.1.12.1.16.0"],
:unit => "W",
:outlet_prefix_oid => "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7"
}
}
}
]
end
end
2.times do |i|
pdu "grisou-pdu#{i+1}" do |pdu_uid|
vendor "APC"
model "AP8653"
sensors [
{
:power => {
:per_outlets => true,
:snmp => {
:available => true,
:total_oids => ["iso.3.6.1.4.1.318.1.1.12.1.16.0"],
:unit => "W",
:outlet_prefix_oid => "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7"
}
}
}
]
end
end
end
......@@ -2,7 +2,9 @@
model: Dell PowerEdge C6220
created_at: 2014-04-16
kavlan: true
production: true
queues:
- default
- admin
nodes:
econome-[1-22]:
......
site :nantes do |site_uid|
name "Nantes"
location "Nantes, France"
web "http://www.mines-nantes.fr"
description "Grid5000 Nantes site"
latitude 47.282332
longitude -1.520547
email_contact "support-staff@lists.grid5000.fr"
sys_admin_contact "support-staff@lists.grid5000.fr"
security_contact "support-staff@lists.grid5000.fr"
user_support_contact "support-staff@lists.grid5000.fr"
compilation_server false
kavlan_ip_range "10.40.0.0/14"
virt_ip_range "10.176.0.0/14"
storage5k false
production true
end
......@@ -13,5 +13,7 @@ compilation_server: false
kavlan_ip_range: 10.40.0.0/14
virt_ip_range: 10.176.0.0/14
storage5k: false
production: true
queues:
- default
- admin
......@@ -2,7 +2,9 @@
model: HP ProLiant DL165 G7
created_at: 2011-04-18
kavlan: true
production: true
queues:
- default
- admin
nodes:
stremi-[1-44]:
......
site :reims do |site_uid|
name "Reims"
location "Reims, France"
web "http://www.grid5000.fr/mediawiki/index.php/Reims:Home"
description "Grid5000 Reims site"
latitude 49.244508
longitude 4.062714
email_contact "support-staff@lists.grid5000.fr"
sys_admin_contact "support-staff@lists.grid5000.fr"
security_contact "support-staff@lists.grid5000.fr"
user_support_contact "support-staff@lists.grid5000.fr"
compilation_server false
kavlan_ip_range "10.36.0.0/14"
virt_ip_range "10.168.0.0/14"
storage5k false
production true
end
......@@ -2,7 +2,9 @@
model: Dell PowerEdge C6220 II
created_at: 2014-02-21
kavlan: true
production: true
queues:
- default
- admin
nodes:
paranoia-[1-8]:
......
......@@ -2,7 +2,9 @@
model: SUN FIRE X2270
created_at: 2010-01-25
kavlan: true
production: true
queues:
- default
- admin
nodes:
parapide-[1-25]:
......
......@@ -2,7 +2,9 @@
model: HP ProLiant DL165 G7
created_at: 2010-11-02
kavlan: true
production: true
queues:
- default
- admin
nodes:
parapluie-[1-40]:
......
......@@ -2,7 +2,9 @@
model: Dell PowerEdge R630
created_at: 2015-01-13
kavlan: true
production: true
queues:
- default
- admin
nodes:
parasilo-[1-28]:
......
......@@ -2,7 +2,9 @@
model: Dell PowerEdge R630
created_at: 2015-01-13
kavlan: true
production: true
queues:
- default
- admin
nodes:
paravance-[1-72]:
......
site :rennes do |site_uid|
name "Rennes"
location "Rennes, France"
web "http://www.irisa.fr"
description "Grid5000 Rennes site"
latitude 48.1000
longitude -1.6667
email_contact "support-staff@lists.grid5000.fr"
sys_admin_contact "support-staff@lists.grid5000.fr"
security_contact "support-staff@lists.grid5000.fr"
user_support_contact "support-staff@lists.grid5000.fr"
compilation_server false
kavlan_ip_range "10.24.0.0/14"
virt_ip_range "10.156.0.0/14"
storage5k true
production true
end
......@@ -2,7 +2,9 @@
model: Sun Fire X2200 M2
created_at: 2007-02-23