open_power: PEL: Added the GetBMCLogIdFromPELId method
In OpenPOWER based system, the application may need to get
the BMC event log id by using the PEL id (aka Entry ID (EID)
which is a unique id in the PEL) so added the interface for the same.
Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: Ie0efdde3783b5e217779f01bfc654ce7199c381d
diff --git a/yaml/org/open_power/Logging/PEL.interface.yaml b/yaml/org/open_power/Logging/PEL.interface.yaml
index ae5b7ee..bf7deb5 100644
--- a/yaml/org/open_power/Logging/PEL.interface.yaml
+++ b/yaml/org/open_power/Logging/PEL.interface.yaml
@@ -131,6 +131,23 @@
errors:
- xyz.openbmc_project.Common.Error.InvalidArgument
+ - name: GetBMCLogIdFromPELId
+ description: >
+ Returns the BMC event log id based on the given PEL id (aka
+ Entry ID (EID)).
+ parameters:
+ - name: pelId
+ type: uint32
+ description: >
+ The PEL id to retrieve the BMC event log id.
+ returns:
+ - name: bmcLogId
+ type: uint32
+ description: >
+ The BMC event log id of the PEL.
+ errors:
+ - xyz.openbmc_project.Common.Error.InvalidArgument
+
enumerations:
- name: RejectionReason
description: >