commit | 056350be8edd2833c79cd03d191284a043bd3bce | [log] [tgz] |
---|---|---|
author | Ali Ahmed <ama213000@gmail.com> | Mon Sep 06 15:29:42 2021 -0500 |
committer | Ali Ahmed <ama213000@gmail.com> | Thu Sep 09 14:42:04 2021 -0500 |
tree | 3f2ad24ed0f2c73eedefb500cdf1739d57425594 | |
parent | 6c7f01ddceb5cc87859fcd7ece6533c8ea772f1e [diff] |
Add SystemType to Systems/hypervisor Add SystemType to hypervisor page. Set Systemtype to 'OS' Redfish Schema definition of 'OS' [1] "OS": "A SystemType of OS typically represents an OS or hypervisor view of the system.", [1] https://redfish.dmtf.org/schemas/v1/ComputerSystem.v1_15_0.json Testing: 1) Passed Redfish validator 2) Curl testing curl -k -H "X-Auth-Token: $token" https://$bmc/redfish/v1/Systems/hypervisor { "@odata.id": "/redfish/v1/Systems/hypervisor", "@odata.type": "#ComputerSystem.v1_6_0.ComputerSystem", ... "SystemType": "OS" } Signed-off-by: Ali Ahmed <ama213000@gmail.com> Change-Id: If2a68e592303f1d862864fc06b6d33c146cb3450
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.