From 789771dda22c256afa9e46ffe4c859bb87532af1 Mon Sep 17 00:00:00 2001 From: Qiang XU Date: Sat, 12 Oct 2019 09:51:52 +0800 Subject: 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 --- .../registries/openbmc_message_registry.hpp | 88 +++++++++++----------- 1 file 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 3b57794..7aae53f 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 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 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 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.", -- cgit v1.2.3