From 8a0fd710aa79e4e3001aa0b6020033e555a1027b Mon Sep 17 00:00:00 2001 From: Adriana Kobylak Date: Mon, 14 Nov 2016 16:05:52 -0600 Subject: Add Logging Entry interface Change-Id: I365fdc16b31be91cfa6992df244d77f14979980b Signed-off-by: Adriana Kobylak --- xyz/openbmc_project/Logging/Entry.interface.yaml | 55 ++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100755 xyz/openbmc_project/Logging/Entry.interface.yaml diff --git a/xyz/openbmc_project/Logging/Entry.interface.yaml b/xyz/openbmc_project/Logging/Entry.interface.yaml new file mode 100755 index 0000000..67baa7a --- /dev/null +++ b/xyz/openbmc_project/Logging/Entry.interface.yaml @@ -0,0 +1,55 @@ +description: > + Implement to provide event/error entry attributes. + This interface should be instantiated for the phosphor::logging namespace. + This interface is a collection of objects, therefore it is required to + implement org.freedesktop.DBus.ObjectManager on the logging namespace root. + Optionally, implement org.openbmc.Object.Delete to allow the deletion of + individual entries. +properties: + - name: Id + type: uint32 + description: > + The error event entry id number. + - name: Severity + type: enum[self.Level] + description: > + The severity of the error event entry. + - name: Message + type: string + description: > + The message description of the error event entry. + - name: AdditionalData + type: array[string] + description: > + Additional information in the form of metadata field strings VAR=val + +enumerations: + - name: Level + description: > + Possible severity levels for an error log entry. + values: + - name: Emergency + description: > + System is unusable. + - name: Alert + description: > + Should be corrected immediately. + - name: Critical + description: > + Critical condition. + - name: Error + description: > + Error condition. + - name: Warning + description: > + An error may occur if action is not taken. + - name: Notice + description: > + Unusual condition, but not an error. + - name: Informational + description: > + Normal operational message that does not require action. + - name: Debug + description: > + Information useful to developers for debugging the application. + -- cgit v1.2.1