From b6a039075e0a95a09065554ae9a8ce731f7d02dc Mon Sep 17 00:00:00 2001
From: Dimitri DELABROYE <dimitri.delabroye@inria.fr>
Date: Fri, 19 Jun 2020 16:07:03 +0200
Subject: [PATCH] [lille] pdu-b3p3 don't have per_outlets measurements

---
 data/grid5000/sites/lille/pdus/pdu-b3p3.json | 7 +++++++
 input/grid5000/sites/lille/pdus.yaml         | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/data/grid5000/sites/lille/pdus/pdu-b3p3.json b/data/grid5000/sites/lille/pdus/pdu-b3p3.json
index cd4f00d8df3..0b4bf6b5770 100644
--- a/data/grid5000/sites/lille/pdus/pdu-b3p3.json
+++ b/data/grid5000/sites/lille/pdus/pdu-b3p3.json
@@ -15,6 +15,13 @@
     "7": "chetemi-14",
     "9": "chifflet-5"
   },
+  "sensors": [
+    {
+      "power": {
+        "per_outlets": false
+      }
+    }
+  ],
   "type": "pdu",
   "uid": "pdu-b3p3",
   "vendor": "APC"
diff --git a/input/grid5000/sites/lille/pdus.yaml b/input/grid5000/sites/lille/pdus.yaml
index aac79c0a5ea..bccf6872aa3 100644
--- a/input/grid5000/sites/lille/pdus.yaml
+++ b/input/grid5000/sites/lille/pdus.yaml
@@ -92,3 +92,6 @@ pdus:
     model: AP7951
     ip: 172.17.47.249
     mac: 00:c0:b7:4f:32:78
+    sensors:
+      - power:
+          per_outlets: false
-- 
GitLab