commit | 0f8472a78ec387efea09c4494e3a664cb9ffd0e8 | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed@tanous.net> | Mon Sep 28 01:04:29 2020 -0700 |
committer | Sunitha Harish <sunharis@in.ibm.com> | Thu Oct 01 00:06:08 2020 -0500 |
tree | d60d57648ae23f426990e42b3cdcb7dfd6e63e81 | |
parent | 4e08751b5debb2451ced16ee10dfed2c863edaa7 [diff] |
Remove socket() call from Request The socket() call in the request object is a pretty bad architecture break. Requests should have no knowledge of the underlying socket. It is currently not used. Tested: Code compiles Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: I1f72667857c377df370e3238a81d6c46fba1e8f5
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.