commit | d500549b209761e46791458b49ce2fee5c8b682b | [log] [tgz] |
---|---|---|
author | Anthony Wilson <wilsonan@us.ibm.com> | Wed Jul 31 16:34:17 2019 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Mon Nov 18 21:06:07 2019 +0000 |
tree | 79261a3df9e9ff66ee0245cd08ef933afba174ac | |
parent | f847a198a016c1932177dee62f9a21c6efa6644e [diff] |
bmcweb: Add IndicatorLED property to sensors Added support for the IndicatorLED property for physical leds associated with Thermal and Power sensors. Testing: Verified output on a witherspoon. No new errors in redfish validation. Change-Id: I4e49b3c1769742e49f57c6c1b77a82511cdc8b99 Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com>
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 prime256v1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.