commit | 546d07851b04704b3e27a7b752acdb00a5c07d2c | [log] [tgz] |
---|---|---|
author | Alexander Hansen <alexander.hansen@9elements.com> | Fri Jan 10 19:27:39 2025 +0100 |
committer | Ed Tanous <ed@tanous.net> | Mon Jan 13 18:42:17 2025 +0000 |
tree | 97bfff8f47016b022b4ac1e731fb109a328301f8 | |
parent | 4a7a15c2d78e41ca571f990e071b9294a9f2a135 [diff] |
dbus event subscription: add MessageId Use dbus property 'Message' for the redfish Message Id. The dbus property is not documented to be used for this purpose in the interface definition [1] but the design [3] uses it. If there is no valid MessageId, the event filtering code will drop the event anyways. Tested: The code was already tested in this form in [2] but found to perhaps not be compliant to the redfish specification References: [1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Logging/Entry.interface.yaml[2] 6c58a03e1f6818c3cd0a521466f69ef9e869bf25 [3] https://github.com/openbmc/docs/blob/d886ce89fe66c128b3ab492e530ad48fa0c1b4eb/designs/event-logging.md?plain=1#L448 Change-Id: I4dfe0194e02dc657403d3c0c7162528ec7a597c2 Signed-off-by: Alexander Hansen <alexander.hansen@9elements.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.