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
tree: f2b185a9c2268f26e2a1de00f494d1956d2884e8
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  4. recipes-connectivity/
  5. recipes-core/
  6. recipes-google/
  7. recipes-kernel/
  8. recipes-phosphor/
  9. LICENSE
  10. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.