Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
reference-repository
Commits
eac6e692
Commit
eac6e692
authored
Feb 05, 2013
by
Émile Morel
Browse files
[admin] Toulouse - add missings values
parent
4020adbd
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
generators/grid5000
View file @
eac6e692
...
...
@@ -31,19 +31,19 @@ options = {:simulate => false}
option_parser
=
OptionParser
.
new
do
|
opts
|
opts
.
banner
=
%{
A tool to generate the Grid5000 reference data.
Usage:
./grid5000 input_files [config_files] [options]
Notes:
* input_files MUST be .rb files.
* config_files MUST be .yml or .yaml files.
Examples:
./grid5000 input/*.rb input/*.yaml -s
./grid5000 input/nancy.rb input/nancy.yaml
./grid5000 input/rennes.rb input/lille.rb -s
Options:}
opts
.
on
(
"-s"
,
"--simulate"
,
"Run in simulation mode (do not write changes). Default to false."
)
do
|
v
|
options
[
:simulate
]
=
v
...
...
@@ -52,7 +52,7 @@ option_parser = OptionParser.new do |opts|
puts
opts
exit
end
end
option_parser
.
parse!
...
...
generators/input/sites/toulouse/clusters/pastel.rb
View file @
eac6e692
...
...
@@ -16,25 +16,32 @@ site :toulouse do |site_uid|
:vendor
=>
"AMD"
,
:model
=>
"AMD Opteron"
,
:version
=>
"2218"
,
:clock_speed
=>
2613
.
M
,
:instruction_set
=>
""
,
:other_description
=>
""
,
:cache_l1
=>
nil
,
:cache_l1i
=>
nil
,
:cache_l1d
=>
nil
,
:clock_speed
=>
2600000000
,
:instruction_set
=>
"x86-64"
,
:other_description
=>
"Dual-Core AMD Opteron(tm) Processor 2218"
,
:cache_l1
=>
65536
,
:cache_l1i
=>
65536
,
:cache_l1d
=>
65536
,
:cache_l3
=>
0
,
:cache_l2
=>
1
.
MiB
})
main_memory
({
:ram_size
=>
8
.
GiB
,
# bytes
:ram_size
=>
8395284480
,
#
8.GiB, # bytes
:virtual_size
=>
nil
})
operating_system
({
:name
=>
nil
,
:release
=>
nil
,
:version
=>
nil
:name
=>
"debian"
,
:release
=>
"Squeeze"
,
:version
=>
"6.0"
,
:kernel
=>
"#1 SMP Debian 3.2.35-2"
})
storage_devices
[
{
:interface
=>
'SATA'
,
:size
=>
250
.
GB
,
:driver
=>
"sata_nv"
}
{
:interface
=>
'SATA'
,
:size
=>
250056000000
,
#250.GB, #bytes
:driver
=>
"sata_nv"
,
:device
=>
"sda"
,
:version
=>
"V5DO"
}
]
network_adapters
[
{
:interface
=>
'Ethernet'
,
...
...
@@ -60,6 +67,7 @@ site :toulouse do |site_uid|
:mac
=>
lookup
(
'pastel'
,
node_uid
,
'network_interfaces'
,
'eth1'
,
'mac'
),
:vendor
=>
"NVIDIA"
,
:version
=>
"MCP55 Pro"
,
:driver
=>
"forcedeth"
,
:enabled
=>
false
,
:management
=>
false
,
:mountable
=>
false
,
...
...
@@ -82,6 +90,16 @@ site :toulouse do |site_uid|
:switch
=>
'<unknown>'
}
]
bios
({
:version
=>
lookup
(
'pastel'
,
node_uid
,
'bios'
,
'version'
),
:vendor
=>
lookup
(
'pastel'
,
node_uid
,
'bios'
,
'vendor'
),
:release_date
=>
lookup
(
'pastel'
,
node_uid
,
'bios'
,
'release_date'
)
})
chassis
({
:serial
=>
lookup
(
'pastel'
,
node_uid
,
'chassis'
,
'serial_number'
),
:name
=>
lookup
(
'pastel'
,
node_uid
,
'chassis'
,
'product_name'
),
:manufacturer
=>
lookup
(
'pastel'
,
node_uid
,
'chassis'
,
'manufacturer'
)
})
gpu
({
:gpu
=>
false
})
...
...
generators/input/sites/toulouse/clusters/pastel.yaml
View file @
eac6e692
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment