summaryrefslogtreecommitdiff
path: root/redfish-core/include/registries
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2019-11-05 00:29:33 +0300
committerJames Feist <james.feist@linux.intel.com>2019-11-06 21:20:38 +0300
commitc75f1e9afc97310f4d8e486dab4be3ccb055dae5 (patch)
tree2f2a88e88403794a28106ea9697ea9c9b42e96a9 /redfish-core/include/registries
parent07a602993f1007b0b0b764bdb3f14f302a8d2e26 (diff)
downloadbmcweb-c75f1e9afc97310f4d8e486dab4be3ccb055dae5.tar.xz
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>
Diffstat (limited to 'redfish-core/include/registries')
-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 99444d0a32..52f8e7551a 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.",