commit | 7088690c98169f0a8710909560647a560287f8a6 | [log] [tgz] |
---|---|---|
author | Basheer Ahmed Muddebihal <basheerx.muddebihal@intel.com> | Thu Jul 22 02:11:17 2021 -0700 |
committer | Ed Tanous <ed@tanous.net> | Wed Jul 28 17:44:30 2021 +0000 |
tree | 64f6a336296c0852b771795852678c6f3e781a65 | |
parent | 28afb49c480790e763b8491be0b5a8e35964dbc9 [diff] |
Add support for System Airflow sensor Added DBUS object path for Airflow sensor to get the system airflow sensor. This fix requires following fix dbus-sensors https://gerrit.openbmc-project.xyz/c/openbmc/dbus-sensors/+/45241 Tested: Checked redfish/v1/Chassis/<chassis_id>/Sensors/ System_Airflow displayed the correct values. Signed-off-by: Basheer Ahmed Muddebihal <basheerx.muddebihal@intel.com> Change-Id: I32134e659a9fa7a5357fe5928ecebc0fc121c2bc
This component attempts to be a "do everything" embedded webserver for openbmc.
At this time, the webserver implements a few interfaces:
BMCWeb is configured by setting -D
flags that correspond to options in bmcweb/meson_options.txt
and then compiling. For example, meson <builddir> -Dkvm=disabled ...
followed by ninja
in build directory. The option names become C++ preprocessor symbols that control which code is compiled into the program.
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C buildir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in bmcweb/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja coverage -C builddir test
When BMCWeb starts running, it reads persistent configuration data (such as UUID and session data) from a local file. If this is not usable, it generates a new configuration.
When BMCWeb SSL support is enabled and a usable certificate is not found, it will generate a self-sign a certificate before launching the server. The keys are generated by the secp384r1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.