commit | 657877caf7e0f390bc0fa5e4a85ea154a2d4dcdf | [log] [tgz] |
---|---|---|
author | Alpana Kumari <alpankum@in.ibm.com> | Mon Feb 24 02:24:07 2020 -0600 |
committer | Alpana Kumari <alpankum@in.ibm.com> | Fri Jul 31 13:17:23 2020 +0000 |
tree | 7696be144a416bc989a7641086ac5bfd88b9bf5e | |
parent | e56f254c351e7e2ead2b895eb6117ff6cdf05bdf [diff] |
Fix for missing "Functional" property in dbus for GV cards Handle the case if "Functional" and/or "Present" properties are not sent by the host Test: Tested on a witherspoon which has all 6 GV cards attached. alpana07> curl -k -H "X-Auth-Token: $bmc_token" -X GET https://${bmc}/redfish/v1/Systems/system/Processors/gv100card0 { "@odata.context": "/redfish/v1/$metadata#Processor.Processor", "@odata.id": "/redfish/v1/Systems/system/Processors/gv100card0", "@odata.type": "#Processor.v1_3_1.Processor", "Id": "gv100card0", "Name": "Processor", "ProcessorType": "Accelerator", "Status": { "Health": "OK", "State": "Enabled" } } "State" --> Enabled, interprets "Present" --> true "Health"--> OK, interprets either "Functional" not present OR present&true. Change-Id: If967623d1c85f837195c88c2b3704f326d371c13 Signed-off-by: Alpana Kumari <alpankum@in.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.