commit | 01c6e8581bf44551bbb24d156fc191f87b1cdeea | [log] [tgz] |
---|---|---|
author | Sunitha Harish <sunithaharish04@gmail.com> | Fri Mar 20 05:04:09 2020 -0500 |
committer | Sunitha Harish <sunithaharish04@gmail.com> | Mon Aug 03 04:48:16 2020 +0000 |
tree | f8f9bb188937fecf5e82e5ff007b08c8cbd0ca56 | |
parent | 30c58d581606b4484757e6ee9133c248de1514a6 [diff] |
Redfish: GET command for Hypervisor DHCP network This commit adds support to GET the DHCP configuration details on the Hypervisor's Ethernet Interface Tested by: Set the DHCPEnabled property on /xyz/openbmc_project/network/hypervisor/eth0 Run the redfish GET command below to check the value set. GET https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth0 Successfully ran the Redfish Validator Signed-off-by: Sunitha Harish <sunithaharish04@gmail.com> Change-Id: Iacfc2b975fc6e4b759082419aa8f0b9c193d7787
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.