summaryrefslogtreecommitdiffstats
path: root/xyz
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2017-01-05 21:33:17 -0500
committerBrad Bishop <bradleyb@us.ibm.com>2017-01-05 21:33:17 -0500
commit6d51435b5239d970d8265256c4b1a66b838f3b58 (patch)
tree893932f3f689ff6c30bd9d1ccd0e11a2840c3bfe /xyz
parent6c4e2e917d6ebfc92d1d7ec0ff95b87b28cab258 (diff)
downloadphosphor-dbus-interfaces-6d51435b5239d970d8265256c4b1a66b838f3b58.tar.gz
phosphor-dbus-interfaces-6d51435b5239d970d8265256c4b1a66b838f3b58.zip
Add High/Low alarm properties to sensor thresholds
Eliminate the need to discover which threshold has been exceeded. Change-Id: Ib3f85789287e227e6601a6ae1e276fd9e6ccf44d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'xyz')
-rw-r--r--xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml18
-rw-r--r--xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml18
2 files changed, 26 insertions, 10 deletions
diff --git a/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml b/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
index 548feb5..c575bb5 100644
--- a/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
+++ b/xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml
@@ -22,14 +22,22 @@ properties:
type: int64
description: >
The lower bound of the critical threshold.
- - name: CriticalAlarm
+ - name: CriticalAlarmHigh
type: boolean
description: >
- True if the sensor value has exceeded the defined bounds.
- False if the sensor value has not exceeded the defined bounds.
+ True if the sensor value has exceeded the defined bound.
+ False if the sensor value has not exceeded the defined bound.
- CriticalAlarm may be set to False to clear an alarm condition.
- The behavior of setting CriticalAlarm to True is undefined.
+ CriticalAlarmHigh may be set to False to clear an alarm condition.
+ The behavior of setting CriticalAlarmHigh to True is undefined.
+ - name: CriticalAlarmLow
+ type: boolean
+ description: >
+ True if the sensor value has exceeded the defined bound.
+ False if the sensor value has not exceeded the defined bound.
+
+ CriticalAlarmLow may be set to False to clear an alarm condition.
+ The behavior of setting CriticalAlarmLow to True is undefined.
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
diff --git a/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml b/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
index f8ef993..9f4822b 100644
--- a/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
+++ b/xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml
@@ -23,13 +23,21 @@ properties:
type: int64
description: >
The lower bound of the warning threshold.
- - name: WarningAlarm
+ - name: WarningAlarmHigh
type: boolean
description: >
- True if the sensor value has exceeded the defined bounds.
- False if the sensor value has not exceeded the defined bounds.
+ True if the sensor value has exceeded the defined bound.
+ False if the sensor value has not exceeded the defined bound.
- WarningAlarm may be set to False to clear an alarm condition.
- The behavior of setting WarningAlarm to True is undefined.
+ WarningAlarmHigh may be set to False to clear an alarm condition.
+ The behavior of setting WarningAlarmHigh to True is undefined.
+ - name: WarningAlarmLow
+ type: boolean
+ description: >
+ True if the sensor value has exceeded the defined bound.
+ False if the sensor value has not exceeded the defined bound.
+
+ WarningAlarmLow may be set to False to clear an alarm condition.
+ The behavior of setting WarningAlarmLow to True is undefined.
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud