commit | cd504a94c827fbc98908b2a712f49ea0adf7aab8 | [log] [tgz] |
---|---|---|
author | Ed Tanous <etanous@nvidia.com> | Mon Aug 19 11:46:20 2024 -0700 |
committer | Ed Tanous <ed@tanous.net> | Wed Aug 21 16:01:19 2024 +0000 |
tree | 9304b0dc7c656775a92e7d8e7c15b5791a36de1b | |
parent | d2cdd478072ab158ed28dea17e784db12517a6d8 [diff] |
Partial revert of http_client 4d69861f shows that after being applied, connections are no longer reused. It's unclear why, but very likely due to a use after move of the request object we've seen before. This doesn't cause functional issues, only performance ones. Considering that this was only a minor size reduction in the first place, Revert the http_client part of the patch for now. https://gerrit.openbmc.org/c/openbmc/bmcweb/+/69234 Tested: Aggregation through /redfish/v1/Chassis works as expected. Change-Id: I9b56e2c90b108e41df3ba006105106adf8ced154 Signed-off-by: Ed Tanous <etanous@nvidia.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.