commit | f12a13bd3ff1412d79321df91a4db9fcc5a84f6c | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed.tanous@intel.com> | Thu Oct 24 11:29:41 2019 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Mon Nov 11 20:26:33 2019 +0000 |
tree | 14fb489d05c422814551c499843ae3a224a69650 | |
parent | 0c0084aa1886fa6ad1fce2cec0a66e8ff879d9d4 [diff] |
Fix modernize-use-bool-literals modernize-use-bool-literals flagged one violation in the code. Tested: No functional change. Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: Iccfa7a88e7df0b7e7434fadd549c2f816c98a46e
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.