From 5d762e52563ba9a9795721c9a600a4febad133c9 Mon Sep 17 00:00:00 2001 From: Brad House Date: Fri, 29 Nov 2024 14:31:10 -0500 Subject: [PATCH] [yang] LOGGER missing require_manual_refresh As of https://github.com/sonic-net/sonic-buildimage/pull/19611 and https://github.com/sonic-net/sonic-utilities/pull/3428 a new database field of `require_manual_refresh` was added. This leads to YANG failures in the factory-default configuration for the `xcvrd` log entry which by default is written as true. Signed-off-by: Brad House (@bradh352) --- src/sonic-yang-models/yang-models/sonic-logger.yang | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sonic-yang-models/yang-models/sonic-logger.yang b/src/sonic-yang-models/yang-models/sonic-logger.yang index 76c7afde8834..691bbb59cf8c 100644 --- a/src/sonic-yang-models/yang-models/sonic-logger.yang +++ b/src/sonic-yang-models/yang-models/sonic-logger.yang @@ -67,6 +67,11 @@ module sonic-logger{ } default SYSLOG; } + + leaf require_manual_refresh { + type stypes:boolean_type; + description "When updating the log level, will refresh configuration via SIGHUP sent to the process."; + } }/* end of list LOGGER_LIST */ }/* end of LOGGER container */ }/* end of sonic-logger container */