commit | 5571acd2359e4420d749e14069e3eefe1f5b125b | [log] [tgz] |
---|---|---|
author | Peter Yin <peter.yin@quantatw.com> | Tue Jun 17 18:02:20 2025 +0800 |
committer | Ed Tanous <ed@tanous.net> | Tue Jun 24 14:48:09 2025 +0000 |
tree | 8d01f9999f50ed46d62c53799b8ccee30825770d | |
parent | e2cdf06fe56aeb12e6c76e494487b1f1e93d474a [diff] |
redfish: manager: skip AccumulateSetPoint in zone config parsing AccumulateSetPoint is a boolean type, but the current parsing logic for the xyz.openbmc_project.Configuration.Pid.Zone interface assumes all properties are of type double. This mismatch causes an internal error when processing AccumulateSetPoint Fixed bmcwebd: [openbmc_managers.hpp:284] Field Illegal AccumulateSetPoint bmcwebd: [error_messages.cpp:1250] Internal Error /usr/src/debug/ bmcweb/1.0+git/redfish-core/lib/openbmc/openbmc_managers.hpp(285:56) `redfish::asyncPopulatePid(const std::string&, const std::string&, const std::string&, const std::vector<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >&, const std::shared_ptr<bmcweb::AsyncResp>&)::<lambda (const boost::system::error_code&, const dbus::utility:: ManagedObjectType&)>`: Change-Id: Idd11afa067fd20e047a28f72307231e2b76bc593 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
This component attempts to be a "do everything" embedded webserver for OpenBMC.
The webserver implements a few distinct interfaces:
bmcweb at a protocol level supports http and https. TLS is supported through OpenSSL.
Bmcweb supports multiple authentication protocols:
Each of these types of authentication is able to be enabled or disabled both via runtime policy changes (through the relevant Redfish APIs) or via configure time options. All authentication mechanisms supporting username/password are routed to libpam, to allow for customization in authentication implementations.
All authorization in bmcweb is determined at routing time, and per route, and conform to the Redfish PrivilegeRegistry.
*Note: Non-Redfish functions are mapped to the closest equivalent Redfish privilege level.
bmcweb is configured per the meson build files. Available options are documented in meson_options.txt
meson setup builddir ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson will automatically download them via its wrap dependencies mentioned in bmcweb/subprojects
.
bmcweb relies on some on-system data for storage of persistent data that is internal to the process. Details on the exact data stored and when it is read/written can seen from the persistent_data
namespace.
When SSL support is enabled and a usable certificate is not found, bmcweb will generate a self-signed a certificate before launching the server. Please see the bmcweb source code for details on the parameters this certificate is built with.
bmcweb is capable of aggregating resources from satellite BMCs. Refer to AGGREGATION.md for more information on how to enable and use this feature.