commit | 1536473f93d6985d8021e154316f52bb1de0d3c2 | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed@tanous.net> | Fri Sep 11 13:41:59 2020 -0700 |
committer | Ed Tanous <ed@tanous.net> | Fri Sep 11 14:06:31 2020 -0700 |
tree | 5ea01bf85e2d06fa0bba0b5494c09e1cbf1fad82 | |
parent | b74e4405a20d1212b5e5ac73854b86007c716d51 [diff] |
Add missing inline Tested: Code compiles in clang Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: Ib7377d05441328197e1de59fabc0ca9bfa0b703b
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.