| commit | 6bd5a8d2f6acb79a16c4d514ffd1da6b8c5b97d7 | [log] [tgz] | 
|---|---|---|
| author | Gunnar Mills <gmills@us.ibm.com> | Sat May 16 18:49:33 2020 -0500 | 
| committer | Gunnar Mills <gmills@us.ibm.com> | Tue May 19 23:52:43 2020 +0000 | 
| tree | 6df8e232dcd8f3766f072e84aa13e7da4d21333e | |
| parent | a778c0261282b95e14ea3f4406959638b5edb040 [diff] | 
Redfish: AutomaticRetry (AutoReboot)
A new feature of 2020.1. Three properties to represent this:
AutomaticRetryConfig (Enum with three values):
  Disabled
  RetryAttempts: "Automatic retrying of booting is based on a specified
retry count."
  RetryAlways
AutomaticRetryAttempts: "The number of attempts the system will
automatically retry booting."
RemainingAutomaticRetryAttempts: "The number of remaining automatic
retry boots."
Only the "GET". A later commit will allow PATCHing of
AutomaticRetryConfig.
AutomaticRetryAttempts is not on D-Bus and is instead hardcoded to 3.
Tested: Validator passed.
  "Boot": {
    "AutomaticRetryAttempts": 3,
    "AutomaticRetryConfig": "RetryAttempts",
...
    "RemainingAutomaticRetryAttempts": 3
  },
Change-Id: I7a098270411eef2112c47d129aae39cd2b419825
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.