Commit 682c20fb authored by Sebastien Badia's avatar Sebastien Badia
Browse files

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

parent 8616574c
......@@ -13,7 +13,7 @@
"driver": "tg3",
"enabled": true,
"interface": "Ethernet",
"mac": null,
"mac": "00:11:25:1e:79:1a",
"management": false,
"model": "BCM5704",
"mountable": true,
......@@ -27,7 +27,7 @@
"enabled": true,
"interface": "Ethernet",
"ip": "10.69.0.7",
"mac": null,
"mac": "00:11:25:1e:79:1b",
"management": false,
"model": "BCM5704",
"mountable": true,
......
{
"description": "",
"email_contact": null,
"compilation_server": false,
"description": "Lyon Grid'5000 Site",
"email_contact": "lyon-staff@lists.grid5000.fr",
"latitude": 45.7667,
"location": "Lyon, France",
"longitude": 4.8333,
"name": "Lyon",
"security_contact": null,
"sys_admin_contact": null,
"security_contact": "lyon-staff@lists.grid5000.fr",
"sys_admin_contact": "lyon-staff@lists.grid5000.fr",
"type": "site",
"uid": "lyon",
"user_support_contact": null,
"web": null
"user_support_contact": "lyon-staff@lists.grid5000.fr",
"web": "https://www.grid5000.fr/mediawiki/index.php/Lyon:Home"
}
\ No newline at end of file
site :lyon do |site_uid|
cluster :capricorne do |cluster_uid|
model "IBM eServer 325"
created_at Time.parse("2004-12-01 12:00 GMT").httpdate
misc "bios: 1.36 / bcm: 1.20.9 / bmc: 1.46"
56.times do |i|
node "#{cluster_uid}-#{i+1}" do |node_uid|
supported_job_types({:deploy => true, :besteffort => true, :virtual => false})
architecture({
:smp_size => 2,
:smt_size => 2,
:platform_type => "x86_64"
})
processor({
:vendor => "AMD",
:model => "AMD Opteron",
:version => "246",
:clock_speed => 2.G,
:instruction_set => "",
:other_description => "",
:cache_l1 => nil,
:cache_l1i => nil,
:cache_l1d => nil,
:cache_l2 => 1.MiB
})
main_memory({
:ram_size => 2.GiB, # bytes
:virtual_size => nil
})
operating_system({
:name => "Debian",
:release => "6.0",
:version => nil,
:kernel => "2.6.32"
})
storage_devices [
{:interface => 'IDE', :size => 80.GB, :driver => "amd74xx"}
]
network_adapters [{
:interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('lyon-capricorne',"#{node_uid}",'network_interfaces','eth0','mac'),
:vendor => 'Broadcom',
:model => 'BCM5704',
:enabled => true,
:management => false,
:mountable => true,
:driver => 'tg3',
:mounted => false,
},{
:interface => 'Ethernet',
:rate => 1.G,
:mac => lookup('lyon-capricorne',"#{node_uid}",'network_interfaces','eth1','mac'),
:vendor => 'Broadcom',
:model => 'BCM5704',
:enabled => true,
:management => false,
:mountable => true,
:driver => 'tg3',
:mounted => true,
:network_address => "#{node_uid}.#{site_uid}.grid5000.fr",
:device => 'eth1',
:ip => lookup('lyon-capricorne',"#{node_uid}",'network_interfaces','eth1','ip'),
:switch => 'little-ego'
},{
:interface => 'Myrinet',
:rate => 2.G,
:mac => lookup('lyon-capricorne',"#{node_uid}",'network_interfaces','myri0','mac'),
:vendor => 'Myrinet',
:version => "M3F-PCIXF-2",
:enabled => true,
:management => false,
:mountable => true,
:driver => 'mx',
:mounted => false,
:network_address => "#{node_uid}-myri0.#{site_uid}.grid5000.fr",
:device => 'myri0',
:ip => lookup('lyon-capricorne',"#{node_uid}",'network_interfaces','myri0','ip'),
}]
end
end
end # cluster capricorne
end
capricorne-1:
network_interfaces:
bmc:
mac: 00:11:25:91:45:77
ip: 10.69.136.1
eth0:
mac: 00:0d:60:14:a2:7a
eth1:
mac: 00:0d:60:14:a2:7b
ip: 10.69.0.1
myri0:
mac: 00:60:dd:48:60:46
ip: 10.69.8.1
capricorne-2:
network_interfaces:
bmc:
mac: 00:11:25:91:44:6d
ip: 10.69.136.2
eth0:
mac: 00:0d:60:14:a2:d6
eth1:
mac: 00:0d:60:14:a2:d7
ip: 10.69.0.2
myri0:
mac: 00:60:dd:48:60:3e
ip: 10.69.8.2
capricorne-3:
network_interfaces:
bmc:
mac: 00:11:25:91:44:60
ip: 10.69.136.3
eth0:
mac: 00:0d:60:14:a0:3e
eth1:
mac: 00:0d:60:14:a0:3f
ip: 10.69.0.3
myri0:
mac: 00:60:dd:48:5f:de
ip: 10.69.8.3
capricorne-4:
network_interfaces:
bmc:
mac: 00:11:25:91:45:51
ip: 10.69.136.4
eth0:
mac: 00:11:25:1e:79:0c
eth1:
mac: 00:11:25:1e:79:0d
ip: 10.69.0.4
myri0:
mac: 00:60:dd:48:60:3d
ip: 10.69.8.4
capricorne-5:
network_interfaces:
bmc:
mac:
ip: 10.69.136.5
eth0:
mac: 00:0d:60:14:a3:64
eth1:
mac: 00:0d:60:14:a3:65
ip: 10.69.0.5
myri0:
mac: 00:60:dd:48:60:44
ip: 10.69.8.5
capricorne-6:
network_interfaces:
bmc:
mac: 00:11:25:91:44:1e
ip: 10.69.136.6
eth0:
mac: 00:0d:60:14:a1:58
eth1:
mac: 00:0d:60:14:a1:59
ip: 10.69.0.6
myri0:
mac: 00:60:dd:48:60:38
ip: 10.69.8.6
capricorne-7:
network_interfaces:
bmc:
mac: 00:11:25:91:44:b8
ip: 10.69.136.7
eth0:
mac: 00:11:25:1e:79:1a
eth1:
mac: 00:11:25:1e:79:1b
ip: 10.69.0.7
myri0:
mac:
ip: 10.69.8.7
capricorne-8:
network_interfaces:
bmc:
mac: 00:11:25:91:44:29
ip: 10.69.136.8
eth0:
mac: 00:0d:60:14:9f:8a
eth1:
mac: 00:0d:60:14:9f:8b
ip: 10.69.0.8
myri0:
mac: 00:60:dd:48:5f:f4
ip: 10.69.8.8
capricorne-9:
network_interfaces:
bmc:
mac: 00:11:25:91:44:a5
ip: 10.69.136.9
eth0:
mac: 00:11:25:1e:79:18
eth1:
mac: 00:11:25:1e:79:19
ip: 10.69.0.9
myri0:
mac: 00:60:dd:48:5f:db
ip: 10.69.8.9
capricorne-10:
network_interfaces:
bmc:
mac: 00:09:6b:9e:3f:c5
ip: 10.69.136.10
eth0:
mac: 00:0d:60:14:a3:2c
eth1:
mac: 00:0d:60:14:a3:2d
ip: 10.69.0.10
myri0:
mac: 00:60:dd:48:60:45
ip: 10.69.8.10
capricorne-11:
network_interfaces:
bmc:
mac: 00:11:25:91:44:76
ip: 10.69.136.11
eth0:
mac: 00:11:25:1e:79:28
eth1:
mac: 00:11:25:1e:79:29
ip: 10.69.0.11
myri0:
mac: 00:60:dd:48:5f:ef
ip: 10.69.8.11
capricorne-12:
network_interfaces:
bmc:
mac: 00:11:25:91:45:73
ip: 10.69.136.12
eth0:
mac: 00:0d:60:14:9f:96
eth1:
mac: 00:0d:60:14:9f:97
ip: 10.69.0.12
myri0:
mac: 00:60:dd:48:60:4d
ip: 10.69.8.12
capricorne-13:
network_interfaces:
bmc:
mac: 00:11:25:91:44:90
ip: 10.69.136.13
eth0:
mac: 00:11:25:1e:78:dc
eth1:
mac: 00:11:25:1e:78:dd
ip: 10.69.0.13
myri0:
mac: 00:60:dd:48:60:4b
ip: 10.69.8.13
capricorne-14:
network_interfaces:
bmc:
mac: 00:11:25:91:44:71
ip: 10.69.136.14
eth0:
mac: 00:0d:60:14:a0:f0
eth1:
mac: 00:0d:60:14:a0:f1
ip: 10.69.0.14
myri0:
mac: 00:60:dd:48:60:4a
ip: 10.69.8.14
capricorne-15:
network_interfaces:
bmc:
mac: 00:11:25:91:44:5c
ip: 10.69.136.15
eth0:
mac: 00:11:25:1e:79:32
eth1:
mac: 00:11:25:1e:79:33
ip: 10.69.0.15
myri0:
mac:
ip: 10.69.8.15
capricorne-16:
network_interfaces:
bmc:
mac: 00:11:25:91:44:54
ip: 10.69.136.16
eth0:
mac:
eth1:
mac:
ip: 10.69.0.16
myri0:
mac:
ip: 10.69.8.16
capricorne-17:
network_interfaces:
bmc:
mac: 00:11:25:91:44:3c
ip: 10.69.136.17
eth0:
mac: 00:11:25:1e:79:1c
eth1:
mac: 00:11:25:1e:79:1d
ip: 10.69.0.17
myri0:
mac:
ip: 10.69.8.17
capricorne-18:
network_interfaces:
bmc:
mac: 00:11:25:91:44:55
ip: 10.69.136.18
eth0:
mac: 00:0d:60:14:9f:3c
eth1:
mac: 00:0d:60:14:9f:3d
ip: 10.69.0.18
myri0:
mac: 00:60:dd:48:60:35
ip: 10.69.8.18
capricorne-19:
network_interfaces:
bmc:
mac: 00:11:25:91:44:18
ip: 10.69.136.19
eth0:
mac: 00:0d:60:14:a3:4e
eth1:
mac: 00:0d:60:14:a3:4f
ip: 10.69.0.19
myri0:
mac: 00:60:dd:48:5f:f6
ip: 10.69.8.19
capricorne-20:
network_interfaces:
bmc:
mac: 00:11:25:91:45:31
ip: 10.69.136.20
eth0:
mac: 00:0d:60:14:a3:20
eth1:
mac: 00:0d:60:14:a3:21
ip: 10.69.0.20
myri0:
mac: 00:60:dd:48:60:1b
ip: 10.69.8.20
capricorne-21:
network_interfaces:
bmc:
mac: 00:11:25:91:44:5d
ip: 10.69.136.21
eth0:
mac: 00:0d:60:14:a3:42
eth1:
mac: 00:0d:60:14:a3:43
ip: 10.69.0.21
myri0:
mac: 00:60:dd:48:5f:ea
ip: 10.69.8.21
capricorne-22:
network_interfaces:
bmc:
mac: 00:11:25:91:45:07
ip: 10.69.136.22
eth0:
mac: 00:0d:60:14:a3:44
eth1:
mac: 00:0d:60:14:a3:45
ip: 10.69.0.22
myri0:
mac: 00:60:dd:48:5f:a7
ip: 10.69.8.22
capricorne-23:
network_interfaces:
bmc:
mac: 00:11:25:91:44:59
ip: 10.69.136.23
eth0:
mac: 00:0d:60:14:a3:70
eth1:
mac: 00:0d:60:14:a3:71
ip: 10.69.0.23
myri0:
mac: 00:60:dd:48:5f:e1
ip: 10.69.8.23
capricorne-24:
network_interfaces:
bmc:
mac: 00:11:25:91:45:4c
ip: 10.69.136.24
eth0:
mac: 00:0d:60:14:a0:d6
eth1:
mac: 00:0d:60:14:a0:d7
ip: 10.69.0.24
myri0:
mac: 00:60:dd:48:5f:b0
ip: 10.69.8.24
capricorne-25:
network_interfaces:
bmc:
mac: 00:11:25:91:44:f1
ip: 10.69.136.25
eth0:
mac: 00:0d:60:14:a3:1a
eth1:
mac: 00:0d:60:14:a3:1b
ip: 10.69.0.25
myri0:
mac: 00:60:dd:48:5f:aa
ip: 10.69.8.25
capricorne-26:
network_interfaces:
bmc:
mac: 00:11:25:91:44:64
ip: 10.69.136.26
eth0:
mac: 00:0d:60:14:a3:08
eth1:
mac: 00:0d:60:14:a3:09
ip: 10.69.0.26
myri0:
mac: 00:60:dd:48:5f:af
ip: 10.69.8.26
capricorne-27:
network_interfaces:
bmc:
mac: 00:09:6b:9e:74:3e
ip: 10.69.136.27
eth0:
mac: 00:0d:60:14:a3:28
eth1:
mac: 00:0d:60:14:a3:29
ip: 10.69.0.27
myri0:
mac: 00:60:dd:48:5f:dd
ip: 10.69.8.27
capricorne-28:
network_interfaces:
bmc:
mac: 00:09:6b:9e:67:fc
ip: 10.69.136.28
eth0:
mac: 00:0d:60:14:a1:68
eth1:
mac: 00:0d:60:14:a1:69
ip: 10.69.0.28
myri0:
mac:
ip: 10.69.8.28
capricorne-29:
network_interfaces:
bmc:
mac: 00:11:25:91:44:74
ip: 10.69.136.29
eth0:
mac: 00:0d:60:14:a3:26
eth1:
mac: 00:0d:60:14:a3:27
ip: 10.69.0.29
myri0:
mac: 00:60:dd:48:5f:a9
ip: 10.69.8.29
capricorne-30:
network_interfaces:
bmc:
mac: 00:09:6b:9e:c4:08
ip: 10.69.136.30
eth0:
mac: 00:0d:60:14:a3:66
eth1:
mac: 00:0d:60:14:a3:67
ip: 10.69.0.30
myri0:
mac: 00:60:dd:48:60:3c
ip: 10.69.8.30
capricorne-31:
network_interfaces:
bmc:
mac: 00:11:25:91:44:54
ip: 10.69.136.31
eth0:
mac:
eth1:
mac:
ip: 10.69.0.31
myri0:
mac:
ip: 10.69.8.31
capricorne-32:
network_interfaces:
bmc:
mac: 00:09:6b:9e:40:16
ip: 10.69.136.32
eth0:
mac: 00:0d:60:14:a2:fa
eth1:
mac: 00:0d:60:14:a2:fb
ip: 10.69.0.32
myri0:
mac: 00:60:dd:48:60:3b
ip: 10.69.8.32
capricorne-33:
network_interfaces:
bmc:
mac:
ip: 10.69.136.33
eth0:
mac: 00:0d:60:14:a1:44
eth1:
mac: 00:0d:60:14:a1:45
ip: 10.69.0.33
myri0:
mac:
ip: 10.69.8.33
capricorne-34:
network_interfaces:
bmc:
mac: 00:11:25:91:45:05
ip: 10.69.136.34
eth0:
mac: 00:0d:60:14:a0:e6
eth1:
mac: 00:0d:60:14:a0:e7
ip: 10.69.0.34
myri0:
mac: 00:60:dd:48:43:3c
ip: 10.69.8.34
capricorne-35:
network_interfaces:
bmc:
mac: 00:11:25:91:44:15
ip: 10.69.136.35
eth0:
mac: 00:0d:60:14:a1:64
eth1:
mac: 00:0d:60:14:a1:65
ip: 10.69.0.35
myri0:
mac: 00:60:dd:48:43:67
ip: 10.69.8.35
capricorne-36:
network_interfaces:
bmc:
mac: 00:11:25:91:44:63
ip: 10.69.136.36
eth0:
mac: 00:0d:60:14:a1:2e
eth1:
mac: 00:0d:60:14:a1:2f
ip: 10.69.0.36
myri0:
mac: 00:60:dd:48:43:2d
ip: 10.69.8.36
capricorne-37:
network_interfaces:
bmc:
mac: 00:11:25:91:44:53
ip: 10.69.136.37
eth0:
mac: 00:0d:60:14:a1:ee
eth1:
mac: 00:0d:60:14:a1:ef
ip: 10.69.0.37
myri0:
mac: 00:60:dd:48:43:58
ip: 10.69.8.37
capricorne-38:
network_interfaces:
bmc:
mac: 00:11:25:91:44:54
ip: 10.69.136.38
eth0:
mac:
eth1:
mac:
ip: 10.69.0.38
myri0: