| commit | fb4fd5d43bc621e84add3499911a6f2a08694f8b | [log] [tgz] |
|---|---|---|
| author | Zhenfei Tai <ztai@google.com> | Thu Jun 04 11:17:00 2020 -0700 |
| committer | Zhenfei Tai <ztai@google.com> | Fri Jun 05 16:59:25 2020 +0000 |
| tree | 2a0ea7a6c1fb0360e08a60809738a405c2280c59 | |
| parent | bc612131946d7e916022ab08c2d104848ccaa7bd [diff] |
bmcweb: Replace deprecated boost::asio::io_service
bmcweb will not build when boost library is version 1.71.0.
Also fix code format.
In 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: I4ebbf3cfcfd767ea016b4efd19704d25b845f86c
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.