commit | c75f1e9afc97310f4d8e486dab4be3ccb055dae5 | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Mon Nov 04 13:29:33 2019 -0800 |
committer | James Feist <james.feist@linux.intel.com> | Wed Nov 06 18:20:38 2019 +0000 |
tree | 2f2a88e88403794a28106ea9697ea9c9b42e96a9 | |
parent | 07a602993f1007b0b0b764bdb3f14f302a8d2e26 [diff] |
Add Drive Error Registry Message This allows logging of drive errors. Tested: "DriveError": { "Description": "Indicates that a Drive Error occurred of the specified type or cause.", "Message": "Drive Error Occurred: %1.", "NumberOfArgs": 1, "ParamTypes": [ "string" ], "Resolution": "None.", "Severity": "Warning" } Change-Id: Ic97611e26710f57b09a7f89e0470f1277f710d5d 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.