summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2019-02-14 16:30:45 -0600
committerEd Tanous <ed.tanous@intel.com>2019-03-18 17:09:12 +0000
commitbeeca0ae7d30ea68f3e6e5841ec631ee25248ffb (patch)
tree365b7de83e3fbc163a09fcd3ee77e54d71c5e62f /include
parentc68604bd993d00ad11ee394514295ff5a2ef6f12 (diff)
downloadbmcweb-beeca0ae7d30ea68f3e6e5841ec631ee25248ffb.tar.gz
bmcweb-beeca0ae7d30ea68f3e6e5841ec631ee25248ffb.zip
Redfish: Add Chassis PowerState call
Make a call to /xyz/openbmc_project/state/chassis0 to get the chassis PowerState. Very similiar to how we get the System PowerState https://github.com/openbmc/bmcweb/blob/abf2add6a35aaf42ba60c4ae955a4d8925b13b19/redfish-core/lib/systems.hpp#L471 Resolves openbmc/bmcweb#27 Tested: Loaded this on a Witherspoon and power on/off. Saw correct PowerState. Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Change-Id: I9dd008a902098f1872560d985249375a2d317f25
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud