commit | 0657843a00da62c3a076dacbf6203867a4fb5eb5 | [log] [tgz] |
---|---|---|
author | raviteja-b <raviteja28031990@gmail.com> | Mon Feb 03 12:50:42 2020 -0600 |
committer | Ravi Teja <raviteja28031990@gmail.com> | Thu May 28 00:31:52 2020 +0000 |
tree | 708f4d8e1d92a55a6a6d6b64084c62cd5f1ebb53 | |
parent | 4722efebed1c1cc628ce6e9569c74a0a4d2e299e [diff] |
Redfish: Download action support for system dump entry Tested By: POST https://${IP}/redfish/v1/Systems/system/LogServices/SystemDump/Entries/<id>/Actions/Oem/OpenBmc/LogEntry.DownloadLog Change-Id: I06262cf0799920aeb065a065886320b20c04aa7c Signed-off-by: Ravi Teja <raviteja28031990@gmail.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 secp384r1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.