Skip to content
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

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

bradh352
Copy link
Contributor

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)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

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)

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)
@bradh352 bradh352 requested a review from qiluo-msft as a code owner November 29, 2024 19:36
@bradh352
Copy link
Contributor Author

@Junchao-Mellanox please review since your PRs caused the YANG breakage.

Also @xincunli-sonic, @prgeor, @keboliu who approved the PR.

@ganglyu
Copy link
Contributor

ganglyu commented Dec 4, 2024

@qiluo-msft would you please merge this PR?

@wen587
Copy link
Contributor

wen587 commented Dec 6, 2024

Hi @qiluo-msft please help merge it.

Copy link
Contributor

@wen587 wen587 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@StormLiangMS StormLiangMS merged commit 9293b8c into sonic-net:master Dec 6, 2024
22 checks passed
@bradh352 bradh352 deleted the yang-logger-refresh branch December 6, 2024 13:22
@qiluo-msft
Copy link
Collaborator

lgtm

@dprital
Copy link
Collaborator

dprital commented Dec 10, 2024

@bradh352 , As this PR need to be taken onto 202411 as well, and there are conflicts, can you please provide PR Vs. 202411 ?

@bradh352 bradh352 restored the yang-logger-refresh branch December 10, 2024 08:33
@bradh352
Copy link
Contributor Author

@dprital actually the PR got merged before branching, so its already in 202411

@bradh352 bradh352 deleted the yang-logger-refresh branch December 10, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants