commit | 944ffaf9ccae2a084cd650370facfb3f76701186 | [log] [tgz] |
---|---|---|
author | Johnathan Mantey <johnathanx.mantey@intel.com> | Mon Aug 12 16:16:14 2019 -0700 |
committer | Ed Tanous <ed.tanous@intel.com> | Thu Sep 05 20:20:51 2019 +0000 |
tree | aeaace35dd8d0033f8ce6372a93d1cb793e1862e | |
parent | 8ebc91f6b7f6820f0b2a7b99401002cb4524cd79 [diff] |
Redfish: Permit Usb and CD boot overrides Implemented corrections to allow booting from removeable media. USB did not function, and CD was also failing. Eliminated code that calculated the boot string and boot mode twice. Always assigned a boot type and boot mode, to simplify the asynchronous function calls. Changed the Redfish result to return "204 No Content" when the PATCH operation is successful. Any async function call that fails overrides this value. Tested: Performed a full set of BootSource/BootMode combinations. Confirmed the values were set correctly by using "ipmitool raw 0 9 5 0 0" to read the values that the BIOS will read after a reboot. Also tested the full set of combinations by issuing hard resets. All boot combinations worked on a S2600WF within the limits of the S2600WF BIOS. Change-Id: If5480e20040d96bc12961125fdbd4ebbb30b0ada Signed-off-by: Johnathan Mantey <johnathanx.mantey@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.The crow project has had a number of additions to make it more useful for use in the OpenBmc Project. A non-exhaustive list is below. At the time of this writing, the crow project is not accepting patches, so for the time being crow will simply be checked in as is.