commit | 5db4be2178fdeb09f95b58471cbdee7f76f8254b | [log] [tgz] |
---|---|---|
author | jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | Sat Mar 14 23:02:12 2020 +0000 |
committer | Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | Thu Mar 19 18:43:44 2020 +0000 |
tree | e8f10eb164a0a23eb5188de23fb760dd82680cb2 | |
parent | e51c710ec6b369e0bf7f35e9be4f9ba17884d0bd [diff] |
msg_registry: Add CPUMisMatch message entry Add "CPUMisMatch" message entry for CPU mismatch events Tested: 1. Redfish validator - passed for this new addition 2. Verified in Redfish, Memory message populated properly Redfish URI: GET: https://<BMC IP>/redfish/v1/Systems/system/LogServices/EventLog /Entries { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/ Entries/1584354165", "@odata.type": "#LogEntry.v1_4_0.LogEntry", "Created": "2020-03-16T10:22:45+00:00", "EntryType": "Event", "Id": "1584354165", "Message": "CPU 1 Mismatch.", "MessageArgs": [ "1" ], "MessageId": "OpenBMC.0.1.CPUMisMatch", "Name": "System Event Log Entry", "Severity": "Critical" }, { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/ Entries/1584354165_1", "@odata.type": "#LogEntry.v1_4_0.LogEntry", "Created": "2020-03-16T10:22:45+00:00", "EntryType": "Event", "Id": "1584354165_1", "Message": "CPU 2 Mismatch.", "MessageArgs": [ "2" ], "MessageId": "OpenBMC.0.1.CPUMisMatch", "Name": "System Event Log Entry", "Severity": "Critical" }, Signed-off-by: Snehalatha V <SnehalathaX.V@intel.com> Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> Change-Id: I6f5bbdab6bdce20e0d6401ec0b65567bdb8a48af
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.