Thermal: Add event for when device over operating temperature recovers
Over temperature flow:
DeviceOperatingNormalTemperature -> DeviceOverOperatingTemperature
-> DeviceOverOperatingTemperatureFault
Recovery flow:
DeviceOverOperatingTemperatureFault -> DeviceOverOperatingTemperature ->
DeviceOperatingNormalTemperature
Change-Id: I87a1787700e8c3b57e2c661d72d64b64beb69d4e
Signed-off-by: Prabha Veerubhotla <vvlprabha@gmail.com>
diff --git a/yaml/xyz/openbmc_project/State/Thermal.events.yaml b/yaml/xyz/openbmc_project/State/Thermal.events.yaml
index 88510ec..43e1882 100644
--- a/yaml/xyz/openbmc_project/State/Thermal.events.yaml
+++ b/yaml/xyz/openbmc_project/State/Thermal.events.yaml
@@ -1,4 +1,4 @@
-version: 1.0.0
+version: 1.1.0
errors:
- name: DeviceOverOperatingTemperature
@@ -42,5 +42,18 @@
some x86 processors.
message:
Device {Device} is significantly over safe operating temperature
- and may have been powered off
+ and may have been powered off.
errno: ERANGE
+
+events:
+ - name: DeviceOperatingNormalTemperature
+ metadata:
+ - name: Device
+ type: object_path
+ primary: true
+ description: The name or identifier of the device
+ en:
+ description:
+ A event signaling that a device is operating over a set operating
+ temperature has cleared.
+ message: Device {Device} is operating in normal temperature.