commit | 23e64207a6668319df1f273641febdeab4c09148 | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed@tanous.net> | Tue Sep 15 19:21:30 2020 -0700 |
committer | Ed Tanous <ed@tanous.net> | Thu Sep 17 05:50:59 2020 +0000 |
tree | 67c0752be02f783344eb24cf055bf510136337dc | |
parent | dc6bfb4a5c42e7efe8b459b0efe1e954946f3a62 [diff] |
Fix using namespace We inherited a "using namespace" crow. Lets fix it. Tested: Code compiles. No functional changes. Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: Id47446150dfb312c5cd84a4b4284fb824eba8021
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.