| commit | a4563e4cc8adebd0b40992a38bb7818dc8c0e58f | [log] [tgz] |
|---|---|---|
| author | gBMC Team <gbmc-core@google.com> | Thu Oct 16 10:53:17 2025 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu Oct 16 10:54:04 2025 -0700 |
| tree | df76df7c5a1b17c4c6ee3dabb2c3215287c2e3a3 | |
| parent | 49f2f68e9d860a23e18a76f2aaef7604387b36c4 [diff] |
Add Redfish PowerSubsystem route to TLBMC.
This change introduces a new Redfish route for `/redfish/v1/Chassis/{chassis_id}/PowerSubsystem`. The route is registered when the thermal subsystem module is enabled.
Includes:
- `power_subsystem.h`, `power_subsystem.cc`, and `power_subsystem_test.cc`.
- Updates to `all_routes.cc`, `all_routes_test.cc`, `BUILD`,
`meson.build`, and `copy.bara.sky`.
#pid-tlbmc-migration
PiperOrigin-RevId: 820306369
Change-Id: If5d5b7b673fff6b4eceabe6f6e5c6cf2b53a4ab8
This project is Google's version of BMCWeb.
See Readme Google for Google added features. The following is the original README of OpenBMC/BMCWeb.
==============================================================================
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 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.