diff options
author | Brad Bishop <bradleyb@us.ibm.com> | 2017-01-05 21:33:17 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@us.ibm.com> | 2017-01-05 21:33:17 -0500 |
commit | 6d51435b5239d970d8265256c4b1a66b838f3b58 (patch) | |
tree | 893932f3f689ff6c30bd9d1ccd0e11a2840c3bfe /xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml | |
parent | 6c4e2e917d6ebfc92d1d7ec0ff95b87b28cab258 (diff) | |
download | phosphor-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/openbmc_project/Sensor/Threshold/Warning.interface.yaml')
-rw-r--r-- | xyz/openbmc_project/Sensor/Threshold/Warning.interface.yaml | 18 |
1 files changed, 13 insertions, 5 deletions
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 |