commit | 6eda7685694dca84db5a1b86b497c8d1e9fcbd06 | [log] [tgz] |
---|---|---|
author | Kenny L. Ku <kenny.k.ku@intel.com> | Fri Jun 19 09:48:36 2020 -0700 |
committer | kenny.k.ku <kenny.k.ku@intel.com> | Tue Jun 30 18:25:37 2020 +0000 |
tree | 68ae5d1747a1ebcb3c93f8d91e3a0c0a7734c4a6 | |
parent | a2ec6384deae62963cc9b1d4a08de00b3cc9c9f3 [diff] |
Add Crashdump.Telemetry interface and trigger Tested: - Sent post requests Crashdump.OnDemand & Crashdump.Telemetry and correct trigger is received in crashdump application. - Redfish validator is run successfully. Signed-off-by: Kenny K. Ku <kenny.k.ku@intel.com> Change-Id: Ie0f49d3230aeb4450e11dfa2d46e309946763a6a
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.