add the redfish mapping for leak detector events
DTMF has released the Redfish Message Registry [1] with Leak events, so
update the related redfish mapping for Leak Detector events. Also drop
the en section as this will come from standard redfish definitions.
References:
[1] https://www.dmtf.org/sites/default/files/standards/documents/DSP2065_2024.4.pdf
Change-Id: I8be7314ba7c21da6a576668e1e29dbb3d7b7913c
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/yaml/xyz/openbmc_project/State/Leak/Detector.events.yaml b/yaml/xyz/openbmc_project/State/Leak/Detector.events.yaml
index 94a3485..40d3239 100644
--- a/yaml/xyz/openbmc_project/State/Leak/Detector.events.yaml
+++ b/yaml/xyz/openbmc_project/State/Leak/Detector.events.yaml
@@ -1,4 +1,4 @@
-version: 1.0.0
+version: 2.0.0
errors:
- name: LeakDetectedCritical
@@ -8,13 +8,8 @@
type: object_path
primary: true
description: The name or identifier of the leak detector.
- en:
- description: A critical level liquid leak has been detected.
- message:
- A liquid leak has been detected at a critical level by
- {DetectorName}.
- resolution: Inspect the resource for leak.
errno: EPIPE
+ redfish-mapping: Environmental.LeakDetectedCritical
- name: LeakDetectedWarning
severity: warning
@@ -23,13 +18,8 @@
type: object_path
primary: true
description: The name or identifier of the leak detector.
- en:
- description: A warning level liquid leak has been detected.
- message:
- A liquid leak has been detected at a warning level by
- {DetectorName}.
- resolution: Inspect the resource for leak.
errno: EPIPE
+ redfish-mapping: Environmental.LeakDetectedWarning
events:
- name: LeakDetectedNormal
@@ -38,8 +28,4 @@
type: object_path
primary: true
description: The name or identifier of the leak detector.
- en:
- description:
- The leak detector has returned to its normal operating state.
- message: The {DetectorName} has returned to normal.
- resolution: None.
+ redfish-mapping: Environmental.LeakDetectedNormal