open_power: PEL: Added the GetPELIdFromBMCLogId method

In OpenPOWER based system, the application may need to get
the PEL id (aka Entry ID (EID) which is a unique id in the PEL)
by using BMC event log id so added the interface for the same.

Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: I014fc885c9951af97a79957554e1aaa876f280c1
diff --git a/yaml/org/open_power/Logging/PEL.interface.yaml b/yaml/org/open_power/Logging/PEL.interface.yaml
index c27934b..ae5b7ee 100644
--- a/yaml/org/open_power/Logging/PEL.interface.yaml
+++ b/yaml/org/open_power/Logging/PEL.interface.yaml
@@ -114,6 +114,23 @@
           Note that the PEL's platform log ID (PLID) field is always
           equal to the PEL log ID for BMC created PELs.
 
+  - name: GetPELIdFromBMCLogId
+    description: >
+        Returns the PEL Id (aka Entry ID (EID)) based on the
+        given BMC event log id.
+    parameters:
+      - name: bmcLogId
+        type: uint32
+        description: >
+          The BMC event log id of the PEL to retrieve the PEL id.
+    returns:
+      - name: pelId
+        type: uint32
+        description: >
+            The Id of the PEL.
+    errors:
+       - xyz.openbmc_project.Common.Error.InvalidArgument
+
 enumerations:
   - name: RejectionReason
     description: >