Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reference-repository
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
grid5000
reference-repository
Commits
7c5911d5
Commit
7c5911d5
authored
8 years ago
by
MICHON Nicolas
Browse files
Options
Downloads
Patches
Plain Diff
[dev] wik:oar added disk_reservation_count property
parent
63a54cbb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
generators/wiki/oar_properties.rb
+6
-3
6 additions, 3 deletions
generators/wiki/oar_properties.rb
with
6 additions
and
3 deletions
generators/wiki/oar_properties.rb
+
6
−
3
View file @
7c5911d5
...
...
@@ -105,6 +105,9 @@ class OarPropertiesGenerator < WikiGenerator
"disktype"
=>
{
"description"
=>
"What disk's interface family node's disk is member of ?"
},
"disk_reservation_count"
=>
{
"description"
=>
"The number of reservable disks"
},
"memcpu"
=>
{
"description"
=>
"The amount of memory in MB per CPU"
},
...
...
@@ -133,7 +136,7 @@ class OarPropertiesGenerator < WikiGenerator
@@categories
=
{
"Job-related properties"
=>
[
"besteffort"
,
"deploy"
,
"production"
,
"cluster_priority"
,
"max_walltime"
],
"Hierarchy"
=>
[
"cluster"
,
"cpu"
,
"core"
,
"host"
,
"network_address"
,
"ip"
,
"switch"
],
"Hardware"
=>
[
"gpu"
,
"gpu_count"
,
"memnode"
,
"memcore"
,
"memcpu"
,
"disktype"
,
"myri_rate"
,
"myri_count"
,
"myri"
,
"ib_rate"
,
"ib_count"
,
"ib"
,
"eth_rate"
,
"eth_count"
,
"cpufreq"
,
"cputype"
,
"cpucore"
,
"cpuarch"
,
"virtual"
,
"mic"
],
"Hardware"
=>
[
"gpu"
,
"gpu_count"
,
"memnode"
,
"memcore"
,
"memcpu"
,
"disktype"
,
"disk_reservation_count"
,
"myri_rate"
,
"myri_count"
,
"myri"
,
"ib_rate"
,
"ib_count"
,
"ib"
,
"eth_rate"
,
"eth_count"
,
"cpufreq"
,
"cputype"
,
"cpucore"
,
"cpuarch"
,
"virtual"
,
"mic"
],
"Miscellaneous"
=>
[
"wattmeter"
,
"nodemodel"
]
}
...
...
@@ -145,7 +148,7 @@ class OarPropertiesGenerator < WikiGenerator
site
[
'clusters'
].
each
do
|
cluster_uid
,
cluster
|
cluster
[
'nodes'
].
each
do
|
node_uid
,
node
|
begin
properties
[
node_uid
]
=
get_node_properties
(
cluster_uid
,
cluster
,
node_uid
,
node
)
properties
[
node_uid
]
=
get_
ref_
node_properties
_internal
(
cluster_uid
,
cluster
,
node_uid
,
node
)
rescue
MissingProperty
=>
e
puts
"Error while processing node
#{
node_uid
}
:
#{
e
}
"
end
...
...
@@ -189,7 +192,7 @@ class OarPropertiesGenerator < WikiGenerator
oar_properties
[
property
][
"values"
]
<<
value
unless
value
.
nil?
oar_properties
[
property
][
"values"
].
uniq!
oar_properties
[
property
][
"values"
].
sort!
{
|
a
,
b
|
(
a
||
""
)
<=>
(
b
||
""
)
(
a
&&
a
.
to_s
||
""
)
<=>
(
b
&&
b
.
to_s
||
""
)
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment