commit | 0f6efdc1a0c919ffdfc00b2ff8af0929652483dc | [log] [tgz] |
---|---|---|
author | manojkiran.eda@gmail.com <manojeda@in.ibm.com> | Thu Oct 03 04:53:44 2019 -0500 |
committer | Ratan Gupta <ratagupt@linux.vnet.ibm.com> | Thu Apr 09 05:54:15 2020 +0000 |
tree | a4abf4c4afcadf2f0b71dfd578c300ea4c6c4dd8 | |
parent | 734a1c37e7768176ece2411354c10a52ac8d1c09 [diff] |
Support for NameServers & StaticNameServers - As per the proposal made in the mentioned mailing list thread https://lists.ozlabs.org/pipermail/openbmc/2019-September/018399.html As mentioined in the proposal, it is agreed that configuring the Nameservers by the DHCP server is an optional step, and therefore the Static and Dynamic Configurations can co-exist. The commit supports : 1. NameServers - A readonly property which contains all the nameservers (Static & Dynamic) configured on an interface. 2. StaticNameServers - A writable property which can be used by a redfish client to set a NameServer(Static) on the interface. TestedBy: 1. Redfish Validator - PASS 2. Pass the DNS via DHCP Server and make sure we populate NameServers with the DNS supplied by DHCP. 3. With the DNS supplied via DHCP intact, set another Namserver by PATCH on the StaticNameServers property, and Made sure StaticNameServers and NameServers populates the respective information. 4. PATCH opteration on NameServers should throw an Error Saying it is a Readonly property. Signed-off-by: manojkiran.eda@gmail.com <manojeda@in.ibm.com> Change-Id: I43b75091cce6938ea2fa094692f2c3f434e5a774
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.