From 6d51435b5239d970d8265256c4b1a66b838f3b58 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Thu, 5 Jan 2017 21:33:17 -0500 Subject: 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 --- .../Sensor/Threshold/Critical.interface.yaml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'xyz/openbmc_project/Sensor/Threshold/Critical.interface.yaml') 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 -- cgit v1.2.1