commit | 6193231855a08068dc74c33ae95efd23782d4157 | [log] [tgz] |
---|---|---|
author | Xiaochao Ma <maxiaochao@inspur.com> | Mon Mar 23 09:46:27 2020 +0800 |
committer | Xiaochao Ma <maxiaochao@inspur.com> | Fri Apr 24 10:23:02 2020 +0000 |
tree | dc113655ba3950a13dc1c2bb275feab91f906c73 | |
parent | c6a620f2e01ce5f1551ecc4455624654282d79c7 [diff] |
BMCWeb: Add SNMPinfo in redfish-NetworkProtocol Add SNMP infomation in NetworkProtocol, contains version information, etc. Teseted: Tested on fp5280g2 (meta-inspur/meta-fp5280g2). Currently only the SNMPv2 version is supported in the community, so only v2 is set to true. Ran Redfish validator successfully. Signed-off-by: Xiaochao Ma <maxiaochao@inspur.com> Change-Id: I983add2e24f16ea362d413a4fd3577ccfc2911d2
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.