Revision Date Author Comments
# d1a7e40f 15-Dec-2023 Patrick Williams <patrick@stwcx.xyz>

common.Threshold: use dict-of-dict for Value

The Dbus specification does not allow the key of a dict to be a
non-basic type, such as a struct:

the first single complete type (the "key") must be

common.Threshold: use dict-of-dict for Value

The Dbus specification does not allow the key of a dict to be a
non-basic type, such as a struct:

the first single complete type (the "key") must be a basic type
rather than a container type.

If we try to instantiate an instance with a struct as a dict key, we
end up getting an EINVAL on the add-vtable call.

Switch to nested dictionary to avoid this violation.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I2c512984e62166efec3f299d55efb39a9e93edbf

show more ...


# a60ff845 12-Jul-2023 Jagpal Singh Gill <jagpalgill@meta.com>

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 interf

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>

show more ...