commit | 03fbed9286a2086abd43b05c34f2ebbc1cc79c1f | [log] [tgz] |
---|---|---|
author | Ali Ahmed <ama213000@gmail.com> | Fri Sep 03 02:33:43 2021 -0500 |
committer | Ali Ahmed <ama213000@gmail.com> | Fri Oct 15 04:20:44 2021 +0000 |
tree | 1dc8aabedc08f8d8f9abcd7d3e03bacee0da879f | |
parent | a8544a5bb3406e7f36e850a500f2dd5f5b4285c3 [diff] |
Add CoreCount to ProcessorSummary In Redfish ComputerSystem schema, the ProcessorSummary parameter lists summary information of the Processors on the system. This commit adds the 'CoreCount' property to ProcessorSummary. Testing: 1. Redfish Validator Testing successfully passed. 2. Curl testing: curl -k -H "X-Auth-Token: $tok" https://$bmc/redfish/v1/Systems/system ... "ProcessorSummary": { "CoreCount": 24, "Count": 2, "Status": { "Health": "OK", "HealthRollup": "OK", "State": "Disabled" } }, ... Signed-off-by: Ali Ahmed <ama213000@gmail.com> Change-Id: Idda4f20bd1bb3f5002791ad20787979c632ed5f0
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/meson_options.txt
and then compiling. For example, meson <builddir> -Dkvm=disabled ...
followed by ninja
in build directory. The option names become C++ preprocessor symbols that control which code is compiled into the program.
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C buildir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in bmcweb/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja coverage -C builddir test
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.