1b1b4d261SWilliam A. Kennington IIIdescription: > 2a1347418SPatrick Williams Implement to provide event/error entry attributes. This interface should be 3a1347418SPatrick Williams instantiated for the phosphor::logging namespace. This interface is a 4a1347418SPatrick Williams collection of objects, therefore it is required to implement 5a1347418SPatrick Williams org.freedesktop.DBus.ObjectManager on the logging namespace root. 684591a23SPatrick Williams Optionally, implement xyz.openbmc_project.Object.Delete to allow the 784591a23SPatrick Williams deletion of individual entries. 8b1b4d261SWilliam A. Kennington IIIproperties: 9b1b4d261SWilliam A. Kennington III - name: Id 10b1b4d261SWilliam A. Kennington III type: uint32 11b1b4d261SWilliam A. Kennington III description: > 12b1b4d261SWilliam A. Kennington III The error event entry id number. 13b1b4d261SWilliam A. Kennington III - name: Timestamp 14b1b4d261SWilliam A. Kennington III type: uint64 15b1b4d261SWilliam A. Kennington III description: > 16b1b4d261SWilliam A. Kennington III Commit timestamp of the error event entry in milliseconds since 1970. 17b1b4d261SWilliam A. Kennington III - name: Severity 18b1b4d261SWilliam A. Kennington III type: enum[self.Level] 19b1b4d261SWilliam A. Kennington III description: > 20b1b4d261SWilliam A. Kennington III The severity of the error event entry. 21b1b4d261SWilliam A. Kennington III - name: Message 22b1b4d261SWilliam A. Kennington III type: string 23b1b4d261SWilliam A. Kennington III description: > 24b1b4d261SWilliam A. Kennington III The message description of the error event entry. 25b1b4d261SWilliam A. Kennington III - name: EventId 26b1b4d261SWilliam A. Kennington III type: string 27b1b4d261SWilliam A. Kennington III description: > 28b1b4d261SWilliam A. Kennington III An implementation-dependent unique identifier for this event. This 29b1b4d261SWilliam A. Kennington III property is different from Id in the sense that Id is a unique number 30b1b4d261SWilliam A. Kennington III per event but EventId is an optional identifier that is associated 31b1b4d261SWilliam A. Kennington III with the event. The content of this property is implementation 32b1b4d261SWilliam A. Kennington III defined. 33b1b4d261SWilliam A. Kennington III - name: AdditionalData 34*25b1bcbaSPatrick Williams type: dict[string, string] 35b1b4d261SWilliam A. Kennington III description: > 36*25b1bcbaSPatrick Williams Additional information in the form of metadata field strings {VAR,val} 3739bdb471SVijay Lobo - name: Resolution 3839bdb471SVijay Lobo type: string 3939bdb471SVijay Lobo description: > 4039bdb471SVijay Lobo Suggestion for error resolution of this event. 41b1b4d261SWilliam A. Kennington III - name: Resolved 42b1b4d261SWilliam A. Kennington III type: boolean 43b1b4d261SWilliam A. Kennington III description: > 44b1b4d261SWilliam A. Kennington III Error resolution status. Indicate if the problem being reported by 45b1b4d261SWilliam A. Kennington III this error log has been resolved. This will start out 'false' by 46b1b4d261SWilliam A. Kennington III default. Setting this to 'true' will NOT result in the error log being 47b1b4d261SWilliam A. Kennington III deleted. 486e9b38a9SArya K Padman errors: 496e9b38a9SArya K Padman - xyz.openbmc_project.Common.Error.Unavailable 50208b4e42SVijay Lobo - name: ServiceProviderNotify 513c7b858aSVijay F Lobo type: enum[self.Notify] 523c7b858aSVijay F Lobo default: NotSupported 53208b4e42SVijay Lobo description: > 543c7b858aSVijay F Lobo If this property value is set to 'Notify', the service provider must 553c7b858aSVijay F Lobo be notified about the Entry. If the value is set to 'Inhibit' then 563c7b858aSVijay F Lobo notification is not sent to the service provider. An event of this 573c7b858aSVijay F Lobo type requires a service action to correct the event, such as replacing 583c7b858aSVijay F Lobo the hardware part or updating code. 59b1b4d261SWilliam A. Kennington III - name: UpdateTimestamp 60b1b4d261SWilliam A. Kennington III type: uint64 61b1b4d261SWilliam A. Kennington III description: > 62b1b4d261SWilliam A. Kennington III The timestamp when any property was last modified, in milliseconds 63a1347418SPatrick Williams since the epoch (1 Jan 1970 00:00:00 UTC). As only the Resolved 64a1347418SPatrick Williams property has a reason to change, a value that doesn't match the 65a1347418SPatrick Williams Timestamp property's value (which indicates when the log was created) 66a1347418SPatrick Williams would indicate that Resolved was changed. 67b1b4d261SWilliam A. Kennington III 68b1b4d261SWilliam A. Kennington IIIenumerations: 69b1b4d261SWilliam A. Kennington III - name: Level 70b1b4d261SWilliam A. Kennington III description: > 71b1b4d261SWilliam A. Kennington III Possible severity levels for an error log entry. 72b1b4d261SWilliam A. Kennington III values: 73b1b4d261SWilliam A. Kennington III - name: Emergency 74b1b4d261SWilliam A. Kennington III description: > 75b1b4d261SWilliam A. Kennington III System is unusable. 76b1b4d261SWilliam A. Kennington III - name: Alert 77b1b4d261SWilliam A. Kennington III description: > 78b1b4d261SWilliam A. Kennington III Should be corrected immediately. 79b1b4d261SWilliam A. Kennington III - name: Critical 80b1b4d261SWilliam A. Kennington III description: > 81b1b4d261SWilliam A. Kennington III Critical condition. 82b1b4d261SWilliam A. Kennington III - name: Error 83b1b4d261SWilliam A. Kennington III description: > 84b1b4d261SWilliam A. Kennington III Error condition. 85b1b4d261SWilliam A. Kennington III - name: Warning 86b1b4d261SWilliam A. Kennington III description: > 87b1b4d261SWilliam A. Kennington III An error may occur if action is not taken. 88b1b4d261SWilliam A. Kennington III - name: Notice 89b1b4d261SWilliam A. Kennington III description: > 90b1b4d261SWilliam A. Kennington III Unusual condition, but not an error. 91b1b4d261SWilliam A. Kennington III - name: Informational 92b1b4d261SWilliam A. Kennington III description: > 93b1b4d261SWilliam A. Kennington III Normal operational message that does not require action. 94b1b4d261SWilliam A. Kennington III - name: Debug 95b1b4d261SWilliam A. Kennington III description: > 96b1b4d261SWilliam A. Kennington III Information useful to developers for debugging the application. 97b1b4d261SWilliam A. Kennington III 983c7b858aSVijay F Lobo - name: Notify 993c7b858aSVijay F Lobo description: > 1003c7b858aSVijay F Lobo Possible ServiceProviderNotify values for an error log entry. 1013c7b858aSVijay F Lobo values: 1023c7b858aSVijay F Lobo - name: NotSupported 1033c7b858aSVijay F Lobo description: > 1043c7b858aSVijay F Lobo ServiceProviderNotify property is not supported. 1053c7b858aSVijay F Lobo - name: Notify 1063c7b858aSVijay F Lobo description: > 1073c7b858aSVijay F Lobo The service provider should be notified about the event log. 1083c7b858aSVijay F Lobo - name: Inhibit 1093c7b858aSVijay F Lobo description: > 1103c7b858aSVijay F Lobo The service provider should not be notified about the event log. 1113c7b858aSVijay F Lobo 112b1b4d261SWilliam A. Kennington IIImethods: 113b1b4d261SWilliam A. Kennington III - name: GetEntry 114b1b4d261SWilliam A. Kennington III description: > 115a1347418SPatrick Williams Returns the file descriptor to the raw Entry file, which is a binary 116a1347418SPatrick Williams blob. The mode of the file descriptor is to be reaad-only. 117b1b4d261SWilliam A. Kennington III returns: 118b1b4d261SWilliam A. Kennington III - name: fd 119b1b4d261SWilliam A. Kennington III type: unixfd 120b1b4d261SWilliam A. Kennington III description: > 121b1b4d261SWilliam A. Kennington III The file descriptor to the Entry file. 1226c25fd02SPatrick Williams 1236c25fd02SPatrick Williamsservice_names: 1246c25fd02SPatrick Williams - default: xyz.openbmc_project.Logging 1256c25fd02SPatrick Williams 1266c25fd02SPatrick Williamspaths: 1276c25fd02SPatrick Williams - namespace: /xyz/openbmc_project/logging 1286c25fd02SPatrick Williams segments: 1296c25fd02SPatrick Williams - name: Entry 1306c25fd02SPatrick Williams value: entry 131