commit | 211da9583b1124dccbf3ab3e701245745affcd22 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Tue Mar 26 13:07:26 2019 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Wed Mar 27 02:47:43 2019 +0000 |
tree | 18512841ee55e7878332f35dd9749aff8fe84367 | |
parent | 42fbcf6040860dc6b0b553febeabedd241f22a27 [diff] |
Enable BMCWEB_ENABLE_REDFISH_ONE_CHASSIS Pass the DBMCWEB_ENABLE_REDFISH_ONE_CHASSIS option to bmcweb for openpower systems. All openpower systems currently only have a single chassis and no immediate plans to have a multiple chassis system. When this build option is set, bmcweb will return a single redfish chassis named "chassis" which will include all sensors. This is a short-term solution to solve associating sensors to a chassis. Long term, inventory-manager needs to be enhanced to allow sensors to link to a chassis, or the rest of the project needs to move to EntityManager. See https://gerrit.openbmc-project.xyz/#/c/openbmc/bmcweb/+/17563/ Tested: Build an image with this change, loaded on a Witherspoon, and see "/redfish/v1/Chassis/chassis" and no errors in the Thermal and Power objects. Change-Id: I13610698a61cb1540e7bdb17b97dfed01d6af010 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.