-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[yang] LOGGER missing require_manual_refresh #20969
Conversation
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)
@Junchao-Mellanox please review since your PRs caused the YANG breakage. Also @xincunli-sonic, @prgeor, @keboliu who approved the PR. |
@qiluo-msft would you please merge this PR? |
Hi @qiluo-msft please help merge it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
lgtm |
@bradh352 , As this PR need to be taken onto 202411 as well, and there are conflicts, can you please provide PR Vs. 202411 ? |
@dprital actually the PR got merged before branching, so its already in 202411 |
Why I did it
YANG failures during
config replace
with default configuration.As of #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.Work item tracking
How I did it
Updated YANG file for new field.
How to verify it
Verify
config replace
works with factory default configuration.Which release branch to backport (provide reason below if selected)
None, this only exists in master.
Tested branch (Please provide the tested image version)
master as of 20241129
Description for the changelog
[yang] LOGGER missing require_manual_refresh
Link to config_db schema for YANG module changes
N/A
A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Brad House (@bradh352)