commit | 5b816f2366de282e6d30090cdd5c85fcaef6bda9 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Fri Feb 14 11:48:20 2020 -0600 |
committer | Gunnar Mills <gmills@us.ibm.com> | Fri Feb 14 20:29:58 2020 +0000 |
tree | b491282dc6fc7ec521f09cf8f96288d9da2feac8 | |
parent | aa05fb27ebd2429c29040708ff05eb27407bd963 [diff] |
Move to latest Redfish Service version The latest version of the Redfish Service is 1.9.0. Nothing preventing us from moving to it. Find the Redfish Specification (DSP0266) here: https://www.dmtf.org/dsp/DSP0266 Looks like code is already trying to use some of the 1.7.0 features: "Added "Password Management" clause to describe functional behavior for restricting access when an account requires a password change." Eventing mechanism and ApplyTime. Will want to use features like: odata.context optional, query parameter clarification, and eventing clarification. Tested: Redfish Validator. Not really a valid test though. Ran Redfish-Service-Conformance-Check, didn't see additional errors. Note: bmcweb still has a lot of Conformance Checker errors, we are not in 100% complicance with Redfish specification. Change-Id: I0acd28efa2aaa91149f53efddae530816fd41fff Signed-off-by: Gunnar Mills <gmills@us.ibm.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.