summaryrefslogtreecommitdiff
path: root/redfish-core/include/registries
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2020-08-13 00:45:32 +0300
committerJason Bills <jason.m.bills@linux.intel.com>2020-08-27 23:51:07 +0300
commit5b0de033d13a7d7e566477269dca6626fcd704be (patch)
treeef3f94d35ec3dc860d377dbabb44582bdf53938e /redfish-core/include/registries
parent218bd4746130aac22366968c8c9a34a929e45a3d (diff)
downloadbmcweb-5b0de033d13a7d7e566477269dca6626fcd704be.tar.xz
Add firmware activation messages to the registry
In some situations a firmware requires activation rather than update. These messages are intended to cover those situations. Tested: Logged these events and confirmed that they appear correctly in Redfish. Change-Id: I6171b9584626e049349a26c414146f37c04768c7 Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Diffstat (limited to 'redfish-core/include/registries')
-rw-r--r--redfish-core/include/registries/openbmc_message_registry.hpp33
1 files changed, 32 insertions, 1 deletions
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index 0da82b1a30..5eb9380cde 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",
};
-constexpr std::array<MessageEntry, 184> registry = {
+constexpr std::array<MessageEntry, 187> registry = {
MessageEntry{
"ADDDCCorrectable",
{
@@ -456,6 +456,37 @@ constexpr std::array<MessageEntry, 184> registry = {
{"string"},
"None.",
}},
+ MessageEntry{
+ "FirmwareActivationCompleted",
+ {
+ "Indicates a firmware activation has completed successfully.",
+ "%1 firmware activation completed successfully.",
+ "OK",
+ "OK",
+ 1,
+ {"string"},
+ "None.",
+ }},
+ MessageEntry{"FirmwareActivationFailed",
+ {
+ "Indicates a firmware activation has failed.",
+ "%1 firmware activation failed: %2.",
+ "Warning",
+ "Warning",
+ 2,
+ {"string", "string"},
+ "None.",
+ }},
+ MessageEntry{"FirmwareActivationStarted",
+ {
+ "Indicates a firmware activation has started.",
+ "%1 firmware activation started.",
+ "OK",
+ "OK",
+ 1,
+ {"string"},
+ "None.",
+ }},
MessageEntry{"FirmwareUpdateCompleted",
{
"Indicates a firmware update has completed successfully.",