commit | 6afb06d91fbf0017840eb9189dc4f8ee771cb046 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Wed Dec 01 13:39:09 2021 -0600 |
committer | Gunnar Mills <gmills@us.ibm.com> | Wed Dec 01 14:20:50 2021 -0600 |
tree | 40a188f6a4f91bda7c255ed1f68a5de5a49826af | |
parent | 60c922dfacd5d1aeec8789e03edc91b47f4a6661 [diff] |
Make OWNERS match MAINTAINERS Krzysztof was added as a reviewer in the MAINTAINERS file but not OWNERS file as part of 4576ec1. Add Krzysztof as a reviewer in OWNERS. One day this should mean Krzysztof is automatically added to bmcweb reviews, after support for automatically adding Reviewers is added. Copied syntax from other repos OWNERS. E.g. https://github.com/openbmc/docs/blob/master/OWNERS#L39 Change-Id: I6b721fe5d6eb1c45a9476c2b89d25b6998f6bb1d Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
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.