commit | a60ff8459393e8a043d203c02ee658c14c967ff0 | [log] [tgz] |
---|---|---|
author | Jagpal Singh Gill <jagpalgill@meta.com> | Wed Jul 12 15:13:25 2023 -0700 |
committer | Jagpal Singh Gill <paligill@gmail.com> | Tue Nov 28 14:11:49 2023 -0800 |
tree | b7b2d1d44cef2330541b3eac2f22203f1edb5f0d | |
parent | 4f0a9a7c02415680712ec8af55ea9067f93a0c00 [diff] |
phosphor-health-monitor: add new D-Bus interface This commit introduces following changes - - A new Metrics Value Interface. - An interface to reset the metrics, if needed. - Common Threshold interface so it can be used in Metrics and Sensors. For more detail, please refer to design - https://gerrit.openbmc.org/c/openbmc/docs/+/64917 Unit Test: meson build passes. Change-Id: I014a047f9db6fe470124baa41dcce93caf7ceb4b Signed-off-by: Jagpal Singh Gill <paligill@gmail.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