commit | 5fd7ba65ac0e49dff95e4a0b334c9a314e870918 | [log] [tgz] |
---|---|---|
author | Cheng C Yang <cheng.c.yang@linux.intel.com> | Thu Nov 28 15:58:08 2019 +0800 |
committer | Cheng C Yang <cheng.c.yang@linux.intel.com> | Tue Dec 03 03:04:32 2019 +0000 |
tree | 7ff3172fc53ff70b854406df21485293a2f7e642 | |
parent | 3e0414fd3f3b8b08ef3960f66fa056d8376e3544 [diff] |
Fix No Total Memory Size Issue Total Memory in redfish is always 0, fix the problem. Tested: After DC cycle the system. TotalSystemMemoryGiB in Redfish system page should not be zero. "MemorySummary": { "Status": { "State": "Enabled" }, "TotalSystemMemoryGiB": 16 }, Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com> Change-Id: I89ad8ed1cf5f9ca9589db444740167645dab9a6e
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 prime256v1
algorithm. The certificate
C=US, O=OpenBMC, CN=testhost
,SHA-256
algorithm.