summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2019-11-04 13:29:33 -0800
committerJames Feist <james.feist@linux.intel.com>2019-11-06 18:20:38 +0000
commitc75f1e9afc97310f4d8e486dab4be3ccb055dae5 (patch)
tree2f2a88e88403794a28106ea9697ea9c9b42e96a9
parent07a602993f1007b0b0b764bdb3f14f302a8d2e26 (diff)
downloadbmcweb-c75f1e9afc97310f4d8e486dab4be3ccb055dae5.tar.gz
bmcweb-c75f1e9afc97310f4d8e486dab4be3ccb055dae5.zip
Add Drive Error Registry Message
This allows logging of drive errors. Tested: "DriveError": { "Description": "Indicates that a Drive Error occurred of the specified type or cause.", "Message": "Drive Error Occurred: %1.", "NumberOfArgs": 1, "ParamTypes": [ "string" ], "Resolution": "None.", "Severity": "Warning" } Change-Id: Ic97611e26710f57b09a7f89e0470f1277f710d5d Signed-off-by: James Feist <james.feist@linux.intel.com>
-rw-r--r--redfish-core/include/registries/openbmc_message_registry.hpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index 99444d0..52f8e75 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, 130> registry = {
+const std::array<MessageEntry, 131> registry = {
MessageEntry{
"ADDDCCorrectable",
{
@@ -238,6 +238,16 @@ const std::array<MessageEntry, 130> registry = {
{},
"None.",
}},
+ MessageEntry{"DriveError",
+ {
+ "Indicates that a Drive Error occurred of "
+ "the specified type or cause.",
+ "Drive Error Occurred: %1.",
+ "Warning",
+ 1,
+ {"string"},
+ "None.",
+ }},
MessageEntry{"EventLogCleared",
{
"Indicates that the event log has been cleared.",
OpenPOWER on IntegriCloud