commit | 38268fa8af4964312062bd92156ab87637f82e71 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Sat May 16 14:22:18 2020 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Sat May 16 14:22:18 2020 -0500 |
tree | c3c8d027f296f56bb274179a7d4d23b4e4f06c50 | |
parent | 7f2e23e9d4fd2ee6c41811f4d3f2c839fc65e8d0 [diff] |
vlan id should be 32 bit Upstream yocto appears to bring in a new compiler which is flagging the inconsistency of the VLAN ID data type and failing to compile bmcweb because of it. The redfish specification lists the datatype for VLANId as a integer that can range from 0-4094. Here's the error: /lib/ethernet.hpp:2221:58: error: no matching function for call to 'std::variant<unsigned int>::variant(uint64_t&)' | 2221 | std::variant<uint32_t>(vlanId)); Change-Id: Ic92ad6518a9529f5099a1eaf1250df106119d319 Signed-off-by: Andrew Geissler <geissonator@yahoo.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.