YAML for event/error logging interfaces
Machine parseable DBus specification for the logging features.
The Manager interface implements the Commit method to
write entries to flash.
Change-Id: Id1e9e2475427a7358acfbe829733977709de05bc
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/xyz/openbmc_project/Logging/Internal/Manager.interface.yaml b/xyz/openbmc_project/Logging/Internal/Manager.interface.yaml
new file mode 100644
index 0000000..97ed3c9
--- /dev/null
+++ b/xyz/openbmc_project/Logging/Internal/Manager.interface.yaml
@@ -0,0 +1,19 @@
+description: >
+ Implement to provide event/error logging management features.
+ This interface should be instantiated for the phosphor::logging namespace,
+ and only one is required.
+methods:
+ - name: Commit
+ description: >
+ Write the requested error/event entry with its associated metadata
+ fields to flash.
+ parameters:
+ - name: transactionId
+ type: uint64
+ description: >
+ The unique identifier of the journal entry(ies) to be committed.
+ - name: errMsg
+ type: string
+ description: >
+ The error exception message associated with the error
+ event log to be committed.