| commit | 8c88860856ac446254cd13ff352f6f8c06a0bf30 | [log] [tgz] |
|---|---|---|
| author | Gunnar Mills <gmills@us.ibm.com> | Fri May 01 14:25:09 2020 -0500 |
| committer | Gunnar Mills <gmills@us.ibm.com> | Tue May 05 01:32:19 2020 +0000 |
| tree | 6a7ac2fec4c363ba995e933ea7066dcef7b70558 | |
| parent | 2a5689a752d31a4a5758d3827c7ca6302bc0acc7 [diff] |
Add support for Quiesced state
OpenBMC has a Quiesced state, Redfish does as well.
Set Redfish "Status""Sate" to Quiesced and "PowerState" to On,
if the D-Bus HoseState is Quiesced.
Tested: Validator passed on a Witherspoon system in this Quiesced
state.
"Status": {
"Health": "OK",
"HealthRollup": "OK",
"State": "Quiesced"
},
Change-Id: I53299d51aa0ee065bb5794bab32f69b2a0f8acb2
Signed-off-by: Gunnar Mills <gmills@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 secp384r1 algorithm. The certificate
C=US, O=OpenBMC, CN=testhost,SHA-256 algorithm.