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
69e931d9
Commit
69e931d9
authored
Feb 05, 2013
by
Simon Delamare
Browse files
[admin] Add support for value "shared" for "wattmeter" OAR property"
parent
216449b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
generators/lib/grid5000/node.rb
View file @
69e931d9
...
...
@@ -48,7 +48,7 @@ module Grid5000
h
[
'gpu_count'
]
=
properties
[
'gpu'
][
'gpu_count'
]
h
[
'gpu_model'
]
=
properties
[
'gpu'
][
'gpu_model'
]
properties
[
"monitoring"
]
||=
{}
h
[
'wattmeter'
]
=
properties
[
'monitoring'
][
'wattmeter'
]
?
"YES"
:
"NO"
h
[
'wattmeter'
]
=
properties
[
'monitoring'
][
'wattmeter'
]
?
properties
[
'monitoring'
][
'wattmeter'
].
upcase
==
"SHARED"
?
"SHARED"
:
"YES"
:
"NO"
h
[
'rconsole'
]
=
properties
[
'monitoring'
][
'rconsole'
]
==
false
?
"NO"
:
"YES"
h
}
...
...
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