Logging: IPMI: Add SELDelete Method
Add the SELDelete method to xyz.openbmc_project.Logging.IPMI interface
to support the deletion of SEL entries. This method has a record ID
parameter which is used to determine which entry should be
deleted. If the record ID parameter provided does not exist in the SEL,
then a ResourceNotFound error is thrown.
Change-Id: Id4a703ef814ad75ad2cbfb75569aa80ea5c85fc4
Signed-off-by: Jonico Eustaquio <jonico.eustaquio@fii-na.com>
diff --git a/yaml/xyz/openbmc_project/Logging/IPMI.interface.yaml b/yaml/xyz/openbmc_project/Logging/IPMI.interface.yaml
index 911555c..264ad6a 100644
--- a/yaml/xyz/openbmc_project/Logging/IPMI.interface.yaml
+++ b/yaml/xyz/openbmc_project/Logging/IPMI.interface.yaml
@@ -120,3 +120,15 @@
- name: Clear
description: >
Clear the SEL entries from their storage location.
+
+ - name: SELDelete
+ description: >
+ Delete a SEL entry from the log.
+ parameters:
+ - name: RecordID
+ type: uint16
+ description: >
+ The Record ID of the SEL entry to be deleted.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.ResourceNotFound