Add new OpenPower PEL methods
Add 2 new OpenPower PEL (Platform Event Log) methods:
HostAck:
- Notifies the PEL daemon that a PEL was successfully sent to the
operating system.
HostReject:
- Notifies the PEL daemon that the PEL it sent to the host was
either malformed or the host didn't have room for it.
Change-Id: I34c42b18a9ccac41905b4d90ad39c0e6dd6045a3
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/org/open_power/Logging/PEL.interface.yaml b/org/open_power/Logging/PEL.interface.yaml
index d78b641..fd3be1c 100644
--- a/org/open_power/Logging/PEL.interface.yaml
+++ b/org/open_power/Logging/PEL.interface.yaml
@@ -32,5 +32,43 @@
description: >
The PEL data
errors:
- - xyz.openbmc_project.Common.Error.InternalFailure
- xyz.openbmc_project.Common.Error.InvalidArgument
+
+ - name: HostAck
+ description: >
+ Notifies the PEL handler that the host (usually the OS) acked a PEL.
+ parameters:
+ - name: pelID
+ type: uint32
+ description: >
+ The PEL log ID
+ errors:
+ - xyz.openbmc_project.Common.Error.InvalidArgument
+
+ - name: HostReject
+ description: >
+ Notifies the PEL handler that the host could not process a PEL.
+ parameters:
+ - name: pelID
+ type: uint32
+ description: >
+ The PEL log ID
+ - name: reason
+ type: enum[self.RejectionReason]
+ description: >
+ The reason the PEL was rejected
+ errors:
+ - xyz.openbmc_project.Common.Error.InvalidArgument
+
+enumerations:
+ - name: RejectionReason
+ description: >
+ The reason the PEL was rejected
+ values:
+ - name: BadPEL
+ description: >
+ The PEL was malformed.
+ - name: HostFull
+ description: >
+ The host does not have room for more PELs at this time.
+