summaryrefslogtreecommitdiff
path: root/redfish-core/include/registries
diff options
context:
space:
mode:
authorQiang XU <qiang.xu@linux.intel.com>2019-10-12 04:51:52 +0300
committerEd Tanous <ed.tanous@intel.com>2019-10-18 19:07:24 +0300
commit789771dda22c256afa9e46ffe4c859bb87532af1 (patch)
treed79d1f29133d950b645463884d1b019439a1224c /redfish-core/include/registries
parent698654b618bf9c245470c9cfc8e7c314ed95cfc4 (diff)
downloadbmcweb-789771dda22c256afa9e46ffe4c859bb87532af1.tar.xz
Correct message entry order
All messages are ordered in alphabetical with MessageID. Correct message of physical security to right place. Tested: The LAN lost message is correct when unplug network cable of dedicate NIC Change-Id: If1e2c6aca45f393690de743acbe927957ecedee3 Signed-off-by: Qiang XU <qiang.xu@linux.intel.com>
Diffstat (limited to 'redfish-core/include/registries')
-rw-r--r--redfish-core/include/registries/openbmc_message_registry.hpp88
1 files changed, 43 insertions, 45 deletions
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index 3b57794946..7aae53fda1 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -82,6 +82,26 @@ const std::array<MessageEntry, 114> registry = {
{},
"None.",
}},
+ MessageEntry{"ChassisIntrusionDetected",
+ {
+ "Indicates that a physical security event "
+ "of the chassis intrusion has occurred.",
+ "Chassis Intrusion Detected.",
+ "Warning",
+ 0,
+ {},
+ "None.",
+ }},
+ MessageEntry{"ChassisIntrusionReset",
+ {
+ "Indicates that chassis intrusion status has recovered.",
+ "Chassis Intrusion Reset.",
+ "OK",
+ 0,
+ {},
+ "None.",
+ }},
+
MessageEntry{"CPUError",
{
"Indicates that a CPU Error occurred of "
@@ -284,7 +304,29 @@ const std::array<MessageEntry, 114> registry = {
},
"None.",
}},
-
+ MessageEntry{"LanLost",
+ {
+ "Indicates that a physical security event "
+ "of the LAN leash has lost.",
+ "%1 LAN leash lost.",
+ "Warning",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
+ MessageEntry{"LanRegained",
+ {
+ "Indicates that LAN link status has reconnected.",
+ "%1 LAN leash regained.",
+ "OK",
+ 1,
+ {
+ "string",
+ },
+ "None.",
+ }},
MessageEntry{"LegacyPCIPERR",
{
"Indicates a Legacy PCI PERR.",
@@ -954,50 +996,6 @@ const std::array<MessageEntry, 114> registry = {
},
"None.",
}},
- MessageEntry{"ChassisIntrusionDetected",
- {
- "Indicates that a physical security event "
- "of the chassis intrusion has occurred.",
- "Chassis Intrusion Detected.",
- "Warning",
- 0,
- {},
- "None.",
- }},
- MessageEntry{"ChassisIntrusionReset",
- {
- "Indicates that chassis intrusion status has recovered.",
- "Chassis Intrusion Reset.",
- "OK",
- 0,
- {},
- "None.",
- }},
- MessageEntry{"LanLost",
- {
- "Indicates that a physical security event "
- "of the LAN leash has lost.",
- "%1 LAN leash lost.",
- "Warning",
- 1,
-
- {
- "string",
- },
- "None.",
- }},
- MessageEntry{"LanRegained",
- {
- "Indicates that LAN link status has reconnected.",
- "%1 LAN leash regained.",
- "OK",
- 1,
-
- {
- "string",
- },
- "None.",
- }},
MessageEntry{"PowerButtonPressed",
{
"Indicates that the power button was pressed.",