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>
1 file changed
tree: 18512841ee55e7878332f35dd9749aff8fe84367
  1. classes/
  2. conf/
  3. recipes-bsp/
  4. recipes-phosphor/
  5. COPYING.apache-2.0
  6. COPYING.MIT
  7. LICENSE
  8. MAINTAINERS
  9. README.md
README.md

OpenPOWER

meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.