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
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
grid5000
reference-repository
Commits
505df32e
Commit
505df32e
authored
10 years ago
by
Simon Delamare
Browse files
Options
Downloads
Patches
Plain Diff
[generator] Handle OAR ppty cluster_priority (from Ref API's cluster age by default)
parent
1fc8fb8f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
generators/lib/grid5000/node.rb
+1
-0
1 addition, 0 deletions
generators/lib/grid5000/node.rb
with
1 addition
and
0 deletions
generators/lib/grid5000/node.rb
+
1
−
0
View file @
505df32e
...
...
@@ -52,6 +52,7 @@ module Grid5000
h
[
'wattmeter'
]
=
(
properties
[
'monitoring'
][
'wattmeter'
].
is_a?
(
String
)
and
properties
[
'monitoring'
][
'wattmeter'
].
upcase
==
"SHARED"
)
?
"SHARED"
\
:
properties
[
'monitoring'
][
'wattmeter'
]
?
"YES"
:
"NO"
h
[
'rconsole'
]
=
properties
[
'monitoring'
][
'rconsole'
]
==
false
?
"NO"
:
"YES"
h
[
'cluster_priority'
]
=
cluster
.
properties
[
'priority'
]
||
Time
.
httpdate
(
cluster
.
properties
[
'created_at'
]).
strftime
(
"%Y%m"
)
h
}
}
...
...
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