commit | 3cb3b116bb2842cfacaef60b896ff54f440891b8 | [log] [tgz] |
---|---|---|
author | Chalapathi Venkataramashetty <chalapathix.venkataramashetty@intel.com> | Wed Aug 19 19:50:30 2020 +0000 |
committer | Chalapathi Venkataramashetty <chalapathix.venkataramashetty@intel.com> | Mon Aug 24 04:38:53 2020 +0000 |
tree | 71077a0c00847b03f9c116a6a6198aeb2523cf65 | |
parent | 80789c8e769b7439d72787bd620f28ebd5b14235 [diff] |
update_service: add sufficient delay for fw object to get created Add support to increase timeoutTimeSeconds to 10 secs to allow firmware object to create successfully to proceed for firmware update. Tested: Redfish validator passed. Updated the firmware using redfish for 16 times continuously. POST: https://<BMC_IP>/redfish/v1/UpdateService/ with <BMC_signed_cap> binary file firmware updated. { "@odata.id": "/redfish/v1/TaskService/Tasks/0", "@odata.type": "#Task.v1_4_3.Task", "Id": "0", "TaskState": "Running", "TaskStatus": "OK" } Signed-off-by: Chalapathi Venkataramashetty <chalapathix.venkataramashetty@intel.com> Change-Id: If86862c0c6519b3591bfa7e04cbb1ff13659b0d5
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.