commit | f857e9ae6f6e7d567462f32cb5d9d3a7b581535e | [log] [tgz] |
---|---|---|
author | AppaRao Puli <apparao.puli@linux.intel.com> | Thu Mar 12 14:28:03 2020 +0530 |
committer | AppaRao Puli <apparao.puli@linux.intel.com> | Tue Mar 17 10:56:03 2020 +0000 |
tree | 13e9699b05bc07d66c9e5ffac21dd68791e6fe45 | |
parent | d6da5bebfe4c0ac206570cd69f20406da06ea40b [diff] |
Fix: Add Item.Board while querying the chassis Links.Chassis section and Links.ManagerForChassis are missing in systems/system and Managers/bmc get responses. Also missing "PowerControl" node in /<chassisid>/power response. Some of the platforms exposes the chassis nodes with interface "xyz.openbmc_project.Inventory.Item.Board". So added that interface also, while querying the data chassis nodes. Tested: Get on /redfish/v1/Systems/system shows Chassis links. Get on /redfish/v1/Managers/bmc shows chassis links. Get on //redfish/v1/Chassis/<id>/power shows "PowerControl" node. Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com> Change-Id: I7ecd016faa2cdda97a9766f2ce94bdec2aa86d1b
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.