| commit | 7cea1b96c7318247f71b1922d547cdd438770bce | [log] [tgz] |
|---|---|---|
| author | kasunath <kasunath@google.com> | Tue Jun 14 20:23:27 2022 -0700 |
| committer | kasunath <kasunath@google.com> | Wed Jun 29 12:46:39 2022 -0700 |
| tree | 6aa967d9433b6800c9d14693b8787c3d066ba95d | |
| parent | e8cac46964255e6d4f7359045165fc47786746ce [diff] |
Add a class to create FilePath DBus objects
bios-bmc-smm-error-logger creates JSON entries for CPER logs received
from BIOS. When a new CPER log is created, fault log service has to be
notified.
This adds the necessary classes for publishing file paths of the newly
created CPER logs to DBus.
Tested:
Tested this on a real machine.
Eg DBus objects:
`-/xyz
`-/xyz/openbmc_project
`-/xyz/openbmc_project/external_storer
`-/xyz/openbmc_project/external_storer/bios_bmc_smm_error_logger
`-/xyz/openbmc_project/external_storer/bios_bmc_smm_error_logger/CPER
|-/xyz/openbmc_project/external_storer/bios_bmc_smm_error_logger/CPER/entry0
|-/xyz/openbmc_project/external_storer/bios_bmc_smm_error_logger/CPER/entry1
Signed-off-by: Kasun Athukorala <kasunath@google.com>
Change-Id: I8c35243c949dfdc1254a758136d7a8e204f58bf5
This daemon will follow the design doc: https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/52109
More detailed implementation details will also be placed here in the future