commit | 6449f7d646426f094565d257d757426ecf37850b | [log] [tgz] |
---|---|---|
author | Sunitha Harish <sunithaharish04@gmail.com> | Mon Feb 24 03:10:00 2020 -0600 |
committer | Sunitha Harish <sunithaharish04@gmail.com> | Fri May 01 09:49:04 2020 +0000 |
tree | bb94fcf795a98309a8d6d7cb5acbc31ad092d06f | |
parent | 402b5717ba59dbee0195d11ec9162ee88dc1baa6 [diff] |
Set the Hypervisor Host Name This commit implements the PATCH command to set the Power hypervisor Virtual Management Interface's HostName Tested By: 1. Configure the HostName: PATCH -d '{"HostName" : "hypervisor"}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/<id> 2. GET https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/<id> Signed-off-by: Sunitha Harish <sunithaharish04@gmail.com> Change-Id: I61269398046c3cf3fbfeca6bf14b95742119f53b
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.