commit | 363c23022eb3fb0cde577405e8a084a2e819b642 | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Mon Mar 02 12:30:48 2020 -0800 |
committer | James Feist <james.feist@linux.intel.com> | Tue Mar 03 17:32:17 2020 +0000 |
tree | fe7af9aad4f89e87c4eda61ed6b08201c41b8c6d | |
parent | 755a33c41a9d189525c835eb2257e7505cda3cec [diff] |
task: default populate internal error If a timeout happens, set internal error as default message. Tested: passes validator with valid message, set very short timeout on long task to verify Change-Id: I31e979df486f325d18ca2b0a94d585d38097b8e5 Signed-off-by: James Feist <james.feist@linux.intel.com>
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.