diff options
Diffstat (limited to 'meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0009-Added-additional-log-about-NTP-sync-status.patch')
-rw-r--r-- | meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0009-Added-additional-log-about-NTP-sync-status.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0009-Added-additional-log-about-NTP-sync-status.patch b/meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0009-Added-additional-log-about-NTP-sync-status.patch new file mode 100644 index 0000000000..ef6514e48d --- /dev/null +++ b/meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0009-Added-additional-log-about-NTP-sync-status.patch @@ -0,0 +1,41 @@ +From 1b4c6999fa854fa947e9b91e1bdfff22abc541ef Mon Sep 17 00:00:00 2001 +From: Nikita Kosenkov <NKosenkov@IBS.RU> +Date: Tue, 23 Aug 2022 10:09:10 +0300 +Subject: [PATCH] Added additional log about NTP synchronization status + +--- + .../include/registries/openbmc_message_registry.hpp | 12 +++++++++++- + 1 file changed, 11 insertions(+), 1 deletion(-) + +diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp +index 2b8d476c..3199412e 100644 +--- a/redfish-core/include/registries/openbmc_message_registry.hpp ++++ b/redfish-core/include/registries/openbmc_message_registry.hpp +@@ -2290,13 +2290,23 @@ constexpr std::array registry = { + MessageEntry{ + "BMCTimeNotUpdatedViaNTP", + { +- "Indicates that time was restored from recorded timestamp.", ++ "Indicates that timed out waiting for reply from NTP server.", + "BMC timed out waiting for reply from NTP server: %1 (%2).", + "Warning", + 0, + {}, + "None.", + }}, ++ MessageEntry{ ++ "BMCTimeNotResolvedNTPServers", ++ { ++ "Indicates that failed to resolve NTP server addresses.", ++ "BMC Failed to resolve NTP server addresses.", ++ "Warning", ++ 0, ++ {}, ++ "None.", ++ }}, + + }; + } // namespace redfish::registries::openbmc +-- +2.35.1 + |