Commit c6883da7 authored by MARGERY David's avatar MARGERY David

[rennes] advertise in the reference API that parapide nodes have a 'power'...

[rennes] advertise in the reference API that parapide nodes have a 'power' metric entry (shared) in the Monitoring API
parent 4b66c267
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-4"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-3"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-4"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-4"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-4"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-1"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-2"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-1"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-2"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-1"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-2"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-3"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-1"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-2"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-1"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-2"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-1"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-2"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-4"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-3"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-3"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-4"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-4"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-3"
......
......@@ -128,6 +128,9 @@
"power": {
"available": true,
"via": {
"api": {
"metric": "power"
},
"pdu": [
{
"uid": "parapide-pdu-3"
......
......@@ -169,6 +169,7 @@ site :rennes do |site_uid|
:power => {
:available => true,
:via => {
:api => { :metric => 'power' },
:pdu => [{ :uid => lookup('parapide_manual', node_uid, 'pdu', 'pdu_name') }],
}
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment