commit | 9536a14f809bdd7aa71c345ade5b55da6e3f2af6 | [log] [tgz] |
---|---|---|
author | James Feist <james.feist@linux.intel.com> | Thu Nov 21 09:02:32 2019 -0800 |
committer | James Feist <james.feist@linux.intel.com> | Mon Nov 25 18:42:07 2019 +0000 |
tree | 8e1b7585b54f4248a7365e57963fc4b010c474f0 | |
parent | 2658d9859a89d2d3c02326e5e2b944480119e0c3 [diff] |
Health: Allow populate to only be called once Populate does a mapper call and a get managed objects and should only be called once. Enforce it. Tested: No actual change, it is currently never called twice, this is just for future protection with multiple async calls. Change-Id: I8fb9d8d19b2aa2a1c957a0ac8b609adf5e6ba6d0 Signed-off-by: James Feist <james.feist@linux.intel.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.