commit | 462023addac00b521fc2e59ae53080046438ddfa | [log] [tgz] |
---|---|---|
author | Sunitha Harish <sunithaharish04@gmail.com> | Wed Feb 19 08:34:59 2020 -0600 |
committer | Ratan Gupta <ratagupt@linux.vnet.ibm.com> | Tue Apr 21 04:54:19 2020 +0000 |
tree | 3481ff0ef1c5d8c012bb193525bfe00aab2b5a01 | |
parent | a68a8045387e60771e69c53eaa1e4283eab517e4 [diff] |
Adding Hypervisor system and Hypervisor Interface This commit implements the GET commands for Power hypervisor Virtual Management Interface's interface collection. Tested by: 1. GET https://${bmc}/redfish/v1/Systems 2. GET https://${bmc}/redfish/v1/Systems/hypervisor 3. GET https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces 4. Successfully ran the Redfish Validator *** /redfish/v1/Systems Type (#ComputerSystemCollection.ComputerSystemCollection), GET SUCCESS (time: 0.335171) PASS *** /redfish/v1/Systems/hypervisor Type (#ComputerSystem.v1_6_0.ComputerSystem), GET SUCCESS (time: 0.341849) PASS *** /redfish/v1/Systems/hypervisor/EthernetInterfaces Type (#EthernetInterfaceCollection.EthernetInterfaceCollection), GET SUCCESS (time: 0.362111) PASS 5. Verified the hypervisor in not listed on BMC which does not implement the Hypervisor object Signed-off-by: Sunitha Harish <sunithaharish04@gmail.com> Change-Id: Ie1eb166808473137dd65df54fb4d748cfd1131d2
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.