diff options
author | jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | 2019-12-24 22:15:58 +0300 |
---|---|---|
committer | Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | 2020-01-17 20:45:52 +0300 |
commit | bc6be2376b4a5407e51deab72b1a4c8a1b7fd425 (patch) | |
tree | 21be97d802520ac0df15f40a02211686c10500fe | |
parent | 2b5e08e2915d886655a78aaabff40745dca6b517 (diff) | |
download | bmcweb-bc6be2376b4a5407e51deab72b1a4c8a1b7fd425.tar.xz |
msg_registry: updated MemoryThermTrip msg entry
Updated "MemoryThermTrip" message entry for CPU Memory
Thermal Trip events.
Tested:
1. Redfish validator - passed for this new addition
2. Verified in Redfish, MemoryThermTrip message populated properly
Redfish URI:
GET: https://<BMC IP>/redfish/v1/Systems/system/LogServices/EventLog
/Entries
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/
Entries/506",
"@odata.type": "#LogEntry.v1_4_0.LogEntry",
"Created": "1970-01-01T00:08:26+00:00",
"EntryType": "Event",
"Id": "506",
"Message": "Memory ThermTrip asserted: CPU 1.",
"MessageArgs": [
"CPU 1"
],
"MessageId": "OpenBMC.0.1.MemoryThermTrip",
"Name": "System Event Log Entry",
"Severity": "Critical"
}
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/
Entries/506_2",
"@odata.type": "#LogEntry.v1_4_0.LogEntry",
"Created": "1970-01-01T00:08:26+00:00",
"EntryType": "Event",
"Id": "506_2",
"Message": "Memory ThermTrip asserted: CPU 2.",
"MessageArgs": [
"CPU 2"
],
"MessageId": "OpenBMC.0.1.MemoryThermTrip",
"Name": "System Event Log Entry",
"Severity": "Critical"
}
Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Signed-off-by: Chalapathi <chalapathix.venkataramashetty@intel.com>
Change-Id: I89271d28012c7f01a6cc37e1ef35c7e15f5e9965
-rw-r--r-- | redfish-core/include/registries/openbmc_message_registry.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp index 9b3cf28d07..c2348d43eb 100644 --- a/redfish-core/include/registries/openbmc_message_registry.hpp +++ b/redfish-core/include/registries/openbmc_message_registry.hpp @@ -722,11 +722,12 @@ constexpr std::array<MessageEntry, 152> registry = { }}, MessageEntry{"MemoryThermTrip", { - "Indicates that the system memory ThermTrip is asserted.", - "Memory ThermTrip asserted.", + "Indicates that the system memory ThermTrip is asserted " + "by the specified component.", + "Memory ThermTrip asserted: %1.", "Critical", - 0, - {}, + 1, + {"string"}, "None.", }}, MessageEntry{"MirroringRedundancyDegraded", |