summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2019-06-25 20:33:59 +0300
committerEd Tanous <ed.tanous@intel.com>2019-07-31 01:08:57 +0300
commitdd118a2ed38b3b1093c44686d1b6c2e19d3485d1 (patch)
tree11f2d54cfc7e6c664b222ea43fd392cd0769a205
parentb943aaef12ecfa575f15d2066dd85a4e492c8a59 (diff)
downloadbmcweb-dd118a2ed38b3b1093c44686d1b6c2e19d3485d1.tar.xz
Add power restore policy applied message
Tested: Checked '/redfish/v1/Registries/OpenBMC/OpenBMC' and confirmed that the message is listed. Change-Id: I2ecc00dca46f51cae73db71167cba04c9a7be746 Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
-rw-r--r--redfish-core/include/registries/openbmc_message_registry.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index 55b52994bd..3fb87e4983 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -1002,6 +1002,16 @@ const std::array registry = {
.paramTypes = {},
.resolution = "None.",
}},
+ MessageEntry{"PowerRestorePolicyApplied",
+ {
+ .description = "Indicates that power was restored and the "
+ "BMC has applied the restore policy.",
+ .message = "Power restore policy applied.",
+ .severity = "OK",
+ .numberOfArgs = 0,
+ .paramTypes = {},
+ .resolution = "None.",
+ }},
MessageEntry{
"PowerSupplyACLost",
{