summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Sensor
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2017-08-07 15:47:06 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-08-22 21:08:50 +0000
commit4be2eef8da8d742dcd63bb60e38d013f42a429b4 (patch)
tree1c69beaf04eeae5e7275babd7f62cc7825ba111a /xyz/openbmc_project/Sensor
parent1e005c2531d34e8f39b28ff65fb3ca9f8e749459 (diff)
downloadphosphor-dbus-interfaces-4be2eef8da8d742dcd63bb60e38d013f42a429b4.tar.gz
phosphor-dbus-interfaces-4be2eef8da8d742dcd63bb60e38d013f42a429b4.zip
Add Threshold Critical Errors
Added Sensor Threshold CriticalHigh and CriticalLow errors. Change-Id: Ie29a39ed5c58e51a38c33952e582de1b35811247 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'xyz/openbmc_project/Sensor')
-rw-r--r--xyz/openbmc_project/Sensor/Threshold.errors.yaml7
-rw-r--r--xyz/openbmc_project/Sensor/Threshold.metadata.yaml10
2 files changed, 17 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Sensor/Threshold.errors.yaml b/xyz/openbmc_project/Sensor/Threshold.errors.yaml
new file mode 100644
index 0000000..4b8e5c0
--- /dev/null
+++ b/xyz/openbmc_project/Sensor/Threshold.errors.yaml
@@ -0,0 +1,7 @@
+# xyz.openbmc_project.Sensor.Threshold.CriticalHigh
+- name: CriticalHigh
+ description: Sensor device has exceeded its upper bound.
+
+# xyz.openbmc_project.Sensor.Threshold.CriticalLow
+- name: CriticalLow
+ description: Sensor device has exceeded its lower bound.
diff --git a/xyz/openbmc_project/Sensor/Threshold.metadata.yaml b/xyz/openbmc_project/Sensor/Threshold.metadata.yaml
new file mode 100644
index 0000000..fa5ff1e
--- /dev/null
+++ b/xyz/openbmc_project/Sensor/Threshold.metadata.yaml
@@ -0,0 +1,10 @@
+- name: CriticalHigh
+ level: ERR
+ meta:
+ - str: "SENSOR_TYPE=%s"
+ type: string
+- name: CriticalLow
+ level: ERR
+ meta:
+ - str: "SENSOR_TYPE=%s"
+ type: string
OpenPOWER on IntegriCloud