commit | 4363d3b256d469c5c133e5714f3e3be2f29b5e65 | [log] [tgz] |
---|---|---|
author | Jason M. Bills <jason.m.bills@linux.intel.com> | Tue Nov 26 15:04:29 2019 -0800 |
committer | Jason Bills <jason.m.bills@linux.intel.com> | Mon Dec 02 16:53:55 2019 +0000 |
tree | 5e3681cdf9c2eb2347f490c4808a41035bec98e8 | |
parent | 1ddcf01a159779cb5af2992b8f1e8ba9ab7484a5 [diff] |
Return 503 instead of 500 when Crashdump is busy Tested: Used Postman to send the OnDemand action twice and got a 503 with a retry message on the second attempt. Change-Id: I319a6318ee57e504a54b3fdb6894a5aeb43af203 Signed-off-by: Jason M. Bills <jason.m.bills@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.