commit | b314bcc8a9ff47b87c04abc2000466d81f8b4974 | [log] [tgz] |
---|---|---|
author | Amithash Prasasd <amithash@meta.com> | Thu Sep 05 15:03:59 2024 -0700 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Nov 01 12:03:07 2024 -0400 |
tree | 1446cc5ba6c05eba3d178fe22464538635ab0146 | |
parent | 73c931fb942daa714bfff17e950b9d5622a25842 [diff] |
sensors: Add threshold event log definitions Add threshold event logs as defined in the Redfish SensorEvent.1.0.1. It is expected that services use the new interface to log threshold events while maintaining the state. We are leaving out the implementation of ReadingCritical, ReadingNoLongerCritical, ReadingWarning since these are equivalents but do not specify the threshold values. More information: [1] https://lore.kernel.org/openbmc/SJ2PR15MB5801EA7FA684D3B21EE32CE3AB8D2@SJ2PR15MB5801.namprd15.prod.outlook.com/ Change-Id: I6159dd9c1f3f9dc6e3e5d697c2b9b4a131c9ce2e Signed-off-by: Amithash Prasasd <amithash@meta.com>
YAML descriptors of standard D-Bus interfaces. The format is described by the sdbusplus binding generation tool sdbus++.
Before defining a new D-Bus interface or modifying an existing one, please read through the documented set of the common requirements and expectations.
This project can be built with meson
. The typical meson
workflow is: meson builddir && ninja -C builddir
.
The meson files used to handle the YAML files are automatically generated and found under the gen
subdirectory. When adding or removing YAML files, this must be regenerated. This can be done with the helper script found in the gen
subdirectory: cd gen && ./regenerate-meson
.
Only the xyz/openbmc_project and org/freedesktop interfaces are built by default. Other interfaces can be enabled by meson options:
-Ddata_com_ibm=true
-Ddata_org_open_power=true
Example: meson builddir -Ddata_com_ibm=true && ninja -C builddir