commit | f2a8e57ede74a8252100b2281e3f4d170aa69391 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Tue Jun 18 09:31:34 2024 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Tue Jun 18 10:23:23 2024 -0500 |
tree | 142d4c396e26ee29e0adeeb20eaed54db58b9677 | |
parent | 8f5df132a70b47c2f299cb216812ec83d4fc1197 [diff] |
Pull in 2024.1 schemas Redfish released 2024.1 in May. https://www.dmtf.org/content/redfish-release-20241-now-available "The bundle includes 29 schema updates and additional developer resources." There was a request on the discord server to pull this in. Changed 1 line scripts/update_schemas.py and reran the tool. Tested: None. Inspection only. Picking up new schemas hasn't caused problems in the past. Change-Id: I44f08ab56ad2f97b757b48003ac97a2f914bd8ea Signed-off-by: Gunnar Mills <gmills@us.ibm.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.