commit | 2618d5e3906338774da310c9ccf519d64cffd3c9 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Tue Aug 18 13:04:27 2020 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Thu Aug 20 19:11:32 2020 +0000 |
tree | 4a08477d4bd0e00866ff51ebb839520c269ca8da | |
parent | e768657651358ed91561cc35439f04b82678f55f [diff] |
Increase TFTP timeout IBM, the only user of TFTP, has a system with 200MB images. https://github.com/openbmc/openbmc/blob/master/meta-ibm/recipes-phosphor/bmcweb/bmcweb_%25.bbappend#L2 In the future this system's images might grow even larger. Currently timed the TFTP transfer time at 2 min 37 sec on this system. Bumped to 10 min though for room for the image to grow and pad the timeout in case an even slower network. Considered a parameter, can add if it would ever get set to a different value. Tested: TFTP update from GUI works with https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/35738 Change-Id: I1eed110c9605ee1e116670e46f561c66676e5eed 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 secp384r1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.