Skip to content

Commit

Permalink
[yang] LOGGER missing require_manual_refresh
Browse files Browse the repository at this point in the history
As of sonic-net#19611
and sonic-net/sonic-utilities#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)
  • Loading branch information
bradh352 committed Dec 1, 2024
1 parent 5454140 commit f034a4a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sonic-yang-models/yang-models/sonic-logger.yang
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit f034a4a

Please sign in to comment.