commit | 0c838cf6c0765ee793d3942faf35562806df946b | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed.tanous@intel.com> | Thu Oct 24 10:01:46 2019 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Thu Nov 07 18:41:29 2019 +0000 |
tree | 7a662c56d2d0c5ec95f1531c4b6a5116612bb950 | |
parent | 0d4197e0b9262b21e20d79456ef148407cb52791 [diff] |
Move some variables to constexpr clang-tidy flags these variables as having lifetime issues given that they point to compile time parameters, resolve the error: Tested: Code compiles, clang-tidy no longer returns an error on that line. Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: Iaa0da0c346786a79a6e66877082c3716bcffdf69
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 prime256v1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.