summaryrefslogtreecommitdiff
path: root/redfish-core
diff options
context:
space:
mode:
authorjayaprakash Mutyala <mutyalax.jayaprakash@intel.com>2020-03-15 02:02:12 +0300
committerJayaprakash Mutyala <mutyalax.jayaprakash@intel.com>2020-03-19 21:43:44 +0300
commit5db4be2178fdeb09f95b58471cbdee7f76f8254b (patch)
treee8f10eb164a0a23eb5188de23fb760dd82680cb2 /redfish-core
parente51c710ec6b369e0bf7f35e9be4f9ba17884d0bd (diff)
downloadbmcweb-5db4be2178fdeb09f95b58471cbdee7f76f8254b.tar.xz
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
Diffstat (limited to 'redfish-core')
-rw-r--r--redfish-core/include/registries/openbmc_message_registry.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index bb50b12c72..8896e64d2b 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -312,6 +312,16 @@ constexpr std::array<MessageEntry, 154> registry = {
{"string"},
"None.",
}},
+ MessageEntry{"CPUMismatch",
+ {
+ "Indicates that the specified CPU power/current "
+ "rating is incompatible with the board.",
+ "CPU %1 Mismatch.",
+ "Critical",
+ 1,
+ {"number"},
+ "Install the supported CPU.",
+ }},
MessageEntry{"CPUThermalTrip",
{
"Indicates that the specified CPU thermal "