summaryrefslogtreecommitdiff
path: root/redfish-core/include/registries
diff options
context:
space:
mode:
authorAppaRao Puli <apparao.puli@linux.intel.com>2019-10-11 17:07:34 +0300
committerAppaRao Puli <apparao.puli@linux.intel.com>2019-11-04 05:46:34 +0300
commit0c0f18e71e24cf99af0f0bc6573072c366f789b4 (patch)
tree9afad041187b1aa65917af6e0398aeb95ef9b299 /redfish-core/include/registries
parentbe13cecef3c072f16b6559a52722ff9c6385b77b (diff)
downloadbmcweb-0c0f18e71e24cf99af0f0bc6573072c366f789b4.tar.xz
Added registry entries for Platform firmware event
Added message registry entries for logging platform firmware error, panic events and recovery events w.r.t specific components like BMC, BIOS, ME and CPLD ROT. These are useful for logging error/events, when the platform firmware components Like BMC, BIOS, ME and CPLD are compromised and automatic recovery actions are triggered. E.g: Can be used if BIOS/BMC or any platform firmware primary image boot failed, and secondary image is loaded. Tested: Using below URI and Method, verified the registry entries. URI: /redfish/v1/Registries/OpenBMC/OpenBMC METHOD: GET Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com> Change-Id: Id797dafe6b88ac69ea0fde27ae45980610e29620
Diffstat (limited to 'redfish-core/include/registries')
-rw-r--r--redfish-core/include/registries/openbmc_message_registry.hpp135
1 files changed, 133 insertions, 2 deletions
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index 6b0acd0710..99444d0a32 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -29,7 +29,7 @@ const Header header = {
"0.1.0",
"OpenBMC",
};
-const std::array<MessageEntry, 118> registry = {
+const std::array<MessageEntry, 130> registry = {
MessageEntry{
"ADDDCCorrectable",
{
@@ -55,6 +55,39 @@ const std::array<MessageEntry, 118> registry = {
{},
"None.",
}},
+ MessageEntry{"BIOSFirmwarePanicReason",
+ {
+ "Indicates the reason for BIOS firmware panic.",
+ "BIOS firmware panic occurred due to %1.",
+ "Warning",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
+ MessageEntry{"BIOSFirmwareRecoveryReason",
+ {
+ "Indicates the reason for BIOS firmware recovery.",
+ "BIOS firmware recovery occurred due to %1.",
+ "Warning",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
+ MessageEntry{"BIOSFirmwareResiliencyError",
+ {
+ "Indicates BIOS firmware encountered resilience error.",
+ "BIOS firmware resiliency error. Error reason: %1.",
+ "Critical",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
MessageEntry{"BIOSPOSTError",
{
"Indicates BIOS POST has encountered an error.",
@@ -82,6 +115,39 @@ const std::array<MessageEntry, 118> registry = {
{},
"None.",
}},
+ MessageEntry{"BMCFirmwarePanicReason",
+ {
+ "Indicates the reason for last BMC firmware panic.",
+ "BMC firmware panic occurred due to %1.",
+ "Warning",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
+ MessageEntry{"BMCFirmwareRecoveryReason",
+ {
+ "Indicates the reason for last BMC firmware recovery.",
+ "BMC firmware recovery occurred due to %1.",
+ "Warning",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
+ MessageEntry{"BMCFirmwareResiliencyError",
+ {
+ "Indicates BMC firmware encountered resilience error.",
+ "BMC firmware resiliency error. Error reason: %1.",
+ "Critical",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
MessageEntry{"ChassisIntrusionDetected",
{
"Indicates that a physical security event "
@@ -101,7 +167,39 @@ const std::array<MessageEntry, 118> registry = {
{},
"None.",
}},
-
+ MessageEntry{"CPLDFirmwarePanicReason",
+ {
+ "Indicates the reason for CPLD firmware panic.",
+ "CPLD firmware panic occurred due to %1.",
+ "Warning",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
+ MessageEntry{"CPLDFirmwareRecoveryReason",
+ {
+ "Indicates the reason for CPLD firmware recovery.",
+ "CPLD firmware recovery occurred due to %1.",
+ "Warning",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
+ MessageEntry{"CPLDFirmwareResiliencyError",
+ {
+ "Indicates CPLD firmware encountered resilience error.",
+ "CPLD firmware resiliency error. Error reason: %1.",
+ "Critical",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
MessageEntry{"CPUError",
{
"Indicates that a CPU Error occurred of "
@@ -375,6 +473,39 @@ const std::array<MessageEntry, 118> registry = {
{},
"None.",
}},
+ MessageEntry{"MEFirmwarePanicReason",
+ {
+ "Indicates the reason for ME firmware panic.",
+ "ME firmware panic occurred due to %1.",
+ "Warning",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
+ MessageEntry{"MEFirmwareRecoveryReason",
+ {
+ "Indicates the reason for ME firmware recovery.",
+ "ME firmware recovery occurred due to %1.",
+ "Warning",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
+ MessageEntry{"MEFirmwareResiliencyError",
+ {
+ "Indicates ME firmware encountered resilience error.",
+ "ME firmware resiliency error. Error reason: %1.",
+ "Critical",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
MessageEntry{"MemoryECCCorrectable",
{
"Indicates a Correctable Memory ECC error.",