| commit | 93ee9ca0c5d36204007dd0a8d44c4349dc531cb5 | [log] [tgz] | 
|---|---|---|
| author | Sunitha Harish <sunharis@in.ibm.com> | Fri Aug 21 01:16:28 2020 -0500 | 
| committer | Sunitha Harish <sunithaharish04@gmail.com> | Fri Aug 21 16:15:17 2020 +0000 | 
| tree | 163c82c94b18b1434a65b3da59603539ce16e140 | |
| parent | bafb82b220a201704b65da555cb78e7925b48c26 [diff] | 
Redfish : Fix setting the Hypervisor interface prefixlength
The static IPv4 configuration on the Hypervisor interface was
failing. The user setting value for the prefixlength was not
getting set to the DBus property.
This commit fixes the async DBus interface call to set the user
setting value of the prefixlength property at the DBus interface
xyz.openbmc_project.Network.IP
Tested by :
 PATCH -D patch.txt -d '{ "IPv4StaticAddresses": [{"Address": <>,"SubnetMask": <>,"Gateway":<>}]}'
 https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth0
 Verify the DBus property gets set by the values patched.
Signed-off-by: Sunitha Harish <sunharis@in.ibm.com>
Change-Id: Ife6283ba491ec421a95803b841d8c73a35aea9f2
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.