Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grid5000
reference-repository
Commits
93143edc
Commit
93143edc
authored
Feb 21, 2014
by
Simon Delamare
Browse files
[lyon] Add /pdus/ directory to ref API for Lyon (#5438)
parent
86851ece
Changes
2
Hide whitespace changes
Inline
Side-by-side
data/grid5000/sites/lyon/pdus/wattmetre.json
0 → 100644
View file @
93143edc
{
"model"
:
""
,
"sensors"
:
[
{
"power"
:
{
"per_outlets"
:
true
,
"wattmetre"
:
{
"available"
:
true
,
"unit"
:
"W"
,
"www"
:
{
"url"
:
"http://wattmetre.lyon.grid5000.fr/GetWatts-json.php"
}
}
}
}
],
"type"
:
"pdu"
,
"uid"
:
"wattmetre"
,
"vendor"
:
"OmegaWatt"
}
\ No newline at end of file
generators/input/sites/lyon/pdus.rb
View file @
93143edc
site
:lyon
do
|
site_uid
|
pdu
"wattmetre"
do
|
pdu_uid
|
vendor
"OmegaWatt"
model
""
sensors
[
{
:power
=>
{
:per_outlets
=>
true
,
:wattmetre
=>
{
:available
=>
true
,
:www
=>
{
:url
=>
'http://wattmetre.lyon.grid5000.fr/GetWatts-json.php'
},
:unit
=>
"W"
,
}
}
}
]
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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