summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2016-11-10 21:58:58 -0600
committerPatrick Williams <patrick@stwcx.xyz>2016-11-21 19:42:32 +0000
commit45387d650cd3ffa3ff8cd75e8478d1936fcd9ca4 (patch)
tree76015a65b80d4fa4358bbeff64c15437511b425f /xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
parent6dc0fa206784840fa10d99786aae9fb9632bc0d4 (diff)
downloadphosphor-dbus-interfaces-45387d650cd3ffa3ff8cd75e8478d1936fcd9ca4.tar.gz
phosphor-dbus-interfaces-45387d650cd3ffa3ff8cd75e8478d1936fcd9ca4.zip
Add initial sensor interfaces
xyz.openbmc_project.Sensor.Value xyz.openbmc_project.Sensor.Threshold.Warning xyz.openbmc_project.Sensor.Threshold.Critical Change-Id: Ib3e993d0b2e87387993d7b6c1c8b1a47e71b5af1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml')
-rw-r--r--xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml b/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
new file mode 100644
index 0000000..84bf8fa
--- /dev/null
+++ b/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
@@ -0,0 +1,31 @@
+description: >
+ Implement to provide warning class sensor thresholds. Objects implementing
+ Sensor.Threshold.Warning must be instantiated in the correct hierarchy within
+ the sensors namespace. The following sensor hierarchies are recognized:
+ temperature
+ fan_tach
+ voltage
+ altitude
+
+ Additionally, any object implementing Sensor.Threshold.Warning must also
+ implement Sensor.Value.
+
+properties:
+ - name: WarningHigh
+ type: int64
+ description: >
+ The upper bound of the warning threshold.
+ - name: WarningLow
+ type: int64
+ description: >
+ The lower bound of the warning threshold.
+ - name: WarningAlarm
+ type: boolean
+ description: >
+ True if the sensor value has exceeded the defined bounds.
+ False if the sensor value has not exceeded the defined bounds.
+
+ WarningAlarm may be set to False to clear an alarm condition.
+ The behavior of setting WarningAlarm to True is undefined.
+
+# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud