commit | decde9ef8d94b40551803b47a09d7d3ea2b8c95d | [log] [tgz] |
---|---|---|
author | Zhenfei Tai <ztai@google.com> | Tue May 05 13:39:07 2020 -0700 |
committer | Zhenfei Tai <ztai@google.com> | Tue May 05 14:04:11 2020 -0700 |
tree | aad24c8656cc2f5bb43360338af38d7b43cda1c5 | |
parent | 8c88860856ac446254cd13ff352f6f8c06a0bf30 [diff] |
bmcweb: Replace deprecated boost call The boost::asio::io_context::post() is deprecated and will not build when boost library is version 1.71.0. See CMakeLists.txt 271 if ("${Boost_VERSION}" STREQUAL "107100") 272 add_definitions (-DBOOST_ASIO_NO_DEPRECATED) 273 endif () Signed-off-by: Zhenfei Tai <ztai@google.com> Change-Id: Iacd657af320ba6eebb1518cd86a955f355ed5068
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/CMakeLists.txt
and then compiling. For example, cmake -DBMCWEB_ENABLE_KVM=NO ...
followed by make
. The option names become C++ preprocessor symbols that control which code is compiled into the program.
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.