diff options
| author | Daniel Hsu <Daniel-Hsu@quantatw.com> | 2024-04-15 11:51:02 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2024-04-15 17:33:24 +0300 |
| commit | abeb6aa1c7c9796f28467115a80e9b72d6472a04 (patch) | |
| tree | eec92721f1e55ad67b841687f9c4d1ddf289e86f /meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python | |
| parent | 1ff89e9dc71603c2208223691b6b2e505a22d5c7 (diff) | |
| download | openbmc-abeb6aa1c7c9796f28467115a80e9b72d6472a04.tar.xz | |
harma: gpio monitor: Add logging function
Summary:
1. Add general gpio logging function
2. Add gpio pins to monitor
Test Plan:
Trigger a new GPIO pin (leakage-detect-alert) and
check SEL by Redfish command
Testing:
{
"@odata.id": "/.../EventLog/Entries",
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"Description": "Collection of System Event Log Entries",
"Members": [
{
"@odata.id": "/.../EventLog/Entries/1",
"@odata.type": "#LogEntry.v1_9_0.LogEntry",
"AdditionalDataURI": "/.../EventLog/Entries/1/attachment",
"Created": "2024-04-15T08:13:36.320+00:00",
"EntryType": "Event",
"Id": "1",
"Message": "xyz.openbmc_project.Logging.Error.LogsCleared",
"Modified": "2024-04-15T08:13:36.320+00:00",
"Name": "System Event Log Entry",
"Resolved": false,
"Severity": "OK"
}
],
"Members@odata.count": 1,
"Name": "System Event Log Entries"
}
{
"@odata.id": "/.../EventLog/Entries",
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"Description": "Collection of System Event Log Entries",
"Members": [
{
"@odata.id": "/.../EventLog/Entries/1",
"@odata.type": "#LogEntry.v1_9_0.LogEntry",
"AdditionalDataURI": "/.../EventLog/Entries/1/attachment",
"Created": "2024-04-15T08:13:36.320+00:00",
"EntryType": "Event",
"Id": "1",
"Message": "xyz.openbmc_project.Logging.Error.LogsCleared",
"Modified": "2024-04-15T08:13:36.320+00:00",
"Name": "System Event Log Entry",
"Resolved": false,
"Severity": "OK"
},
{
"@odata.id": "/.../EventLog/Entries/2",
"@odata.type": "#LogEntry.v1_9_0.LogEntry",
"AdditionalDataURI": "/.../EventLog/Entries/2/attachment",
"Created": "2024-04-15T08:14:07.446+00:00",
"EntryType": "Event",
"Id": "2",
"Message": "leakage-detect-alert gpio assert",
"Modified": "2024-04-15T08:14:07.446+00:00",
"Name": "System Event Log Entry",
"Resolved": false,
"Severity": "Critical"
}
],
"Members@odata.count": 2,
"Name": "System Event Log Entries"
Change-Id: I341c9ba0ee8434da41f4a6535c0253de01cf42e5
Signed-off-by: Daniel Hsu <Daniel-Hsu@quantatw.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python')
0 files changed, 0 insertions, 0 deletions
