dbus-sensors: RedfishSensor: MetricValueStale
If the MetricValueStale parameter is true, then intentionally drop the
reading from the processing of this MetricReports output, not
processing the reading at all, so the last-known value will stay
intact. The MetricValueStale parameter is optional, and if it is not
present, it is assumed false.
This feature is an extension provided by a particular OEM vendor, whose
name is redacted. To avoid revealing the name, I have written the code
in a generic way, iterating over each object within the Oem object,
until it finds a match.
Patch Tracking Bug: b/269235166
Upstream info / review: https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/60918
Upstream-Status: Pending
Justification: Might not be accepted upstream because Oem
Google-Bug-Id: 268257397
Google-Bug-Id: 269235166
Signed-off-by: Josh Lehan <krellan@google.com>
Change-Id: I715214175817ddf1cfc8a63d33858ace43b22209
(cherry picked from commit 1a1c9691699f0df537b1b9f08ddacc47fe75770e)
Signed-off-by: Josh Lehan <krellan@google.com>
2 files changed