diff options
author | Matt Simmering <matthew.simmering@intel.com> | 2023-10-04 18:41:01 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-02-07 07:55:17 +0300 |
commit | aaf08ac7cd355341499453fc8677c2976a4e5464 (patch) | |
tree | e1ad88c7bbdab1efa47ac79a4440c1610f20bfef /meson_options.txt | |
parent | 6fb96ce33d221a4cfa20d156eff5a3166ecb2661 (diff) | |
download | bmcweb-aaf08ac7cd355341499453fc8677c2976a4e5464.tar.xz |
Add StandbyOffline to Redfish sensor getState
Currently in Redfish a sensor's state will only be "Absent" or
"Enabled". In the case where a sensor is marked as not available on
D-Bus it would be more accurate and informative to have the state as
"StandbyOffline". A sensor's availability will be published on its
xyz.openbmc_project.State.Decorator.Availability interface.
Tested on Intel system. Put sensors into an unavailable state by
putting CPU into S5 power state, and verified that Redfish state is
"StandbyOffline". Then when sensors are back in an available state
their Redfish state is back to "Enabled".
Change-Id: I4b846b678a0f90f60d182ac38f1becd21265cdd2
Signed-off-by: Matt Simmering <matthew.simmering@intel.com>
Diffstat (limited to 'meson_options.txt')
0 files changed, 0 insertions, 0 deletions