commit | e5d5006bb15a79c1a714b66eaabe91269986c71d | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Mon May 11 17:29:00 2020 -0700 |
committer | James Feist <james.feist@linux.intel.com> | Thu May 14 16:10:13 2020 +0000 |
tree | 1d1db91be7e0bd2d5c76cc18c6b14bd509ec1375 | |
parent | 07386c670c57fc18742aaae266228b9cea7be1d7 [diff] |
Task: Use TaskEvent messages Task registry messages make more sense to use for task events then standard registry entries when applicable. Use them. Tested: "Messages": [ { "@odata.type": "#Message.v1_0_0.Message", "Message": "The task with id 0 has started.", "MessageArgs": [ "0" ], "MessageId": "TaskEvent.1.0.1.TaskStarted", "Resolution": "None.", "Severity": "OK" } ], Validator passed Change-Id: I707492544e18def2833e8a2e2216ce803c42c775 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 secp384r1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.