Register redfish log
need to Log SSB Thermaltrip and NmiDiagInt(NMI Diagnostic Interrupt)
to redfish.
tested:
Press NMI button, host shows NMI BSOD, and see BMC redfish's log.
Trigger SSB Thermaltrip, can see its redfish log.
Change-Id: I8f5b41dd6f381b3a70a45bbb851f2ba1657d2ec0
Signed-off-by: Chen,Yugang <yugang.chen@linux.intel.com>
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index 3fb87e4..5e61a96 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -522,6 +522,16 @@
.paramTypes = {},
.resolution = "None.",
}},
+ MessageEntry{"NMIDiagnosticInterrupt",
+ {
+ .description = "Indicates that an NMI Diagnostic "
+ "Interrupt has been generated.",
+ .message = "NMI Diagnostic Interrupt.",
+ .severity = "Critical",
+ .numberOfArgs = 0,
+ .paramTypes = {},
+ .resolution = "None.",
+ }},
MessageEntry{
"PCIeCorrectableAdvisoryNonFatal",
{
@@ -1238,6 +1248,17 @@
},
.resolution = "None.",
}},
+ MessageEntry{
+ "SsbThermalTrip",
+ {
+ .description =
+ "Indicates that an SSB Thermal trip has been asserted.",
+ .message = "SSB Thermal trip.",
+ .severity = "Critical",
+ .numberOfArgs = 0,
+ .paramTypes = {},
+ .resolution = "None.",
+ }},
MessageEntry{"SystemPowerLost",
{
.description = "Indicates that power was lost while the "