commit | ab6554f1d8197753cfb430a72798dde6f4461552 | [log] [tgz] |
---|---|---|
author | Joshi-Mansi <mansi.joshi@linux.intel.com> | Tue Mar 10 18:33:36 2020 +0530 |
committer | mansi.joshi <mansi.joshi@linux.intel.com> | Wed Apr 01 18:45:28 2020 +0000 |
tree | 83a06c79e788526236c1589e4815a8bd59e92129 | |
parent | 3c27ed3bb4ce887d2bd691a69314fe71c6a95942 [diff] |
[Redfish-Ethernet Inf] Enable Read/Write for FQDN Enabling read/write requirement of FQDN in Ethernet Interface Schema to make it OCP compliant. Tested: 1. Tested using PATCH: - https://bmc-ip/redfish/v1/Managers/bmc/EthernetInterfaces/eth-id {"FQDN": "hostname.domainname"} GET Response- "FQDN": "hostname.domainname" //Success - When given invalid hostname/domainname Error Message "propertyValueFormatError" 2. Ran the Redfish validator and no new issues found. Signed-off-by: Joshi-Mansi <mansi.joshi@linux.intel.com> Change-Id: Ief2e94f8b499be59196b0e7073ceffe8d49268ca
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.