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

Add bgp_device_global yang model #11343

Merged
merged 10 commits into from
Jul 27, 2022
Merged

Add bgp_device_global yang model #11343

merged 10 commits into from
Jul 27, 2022

Conversation

tjchadaga
Copy link
Contributor

@tjchadaga tjchadaga commented Jul 5, 2022

Why I did it

Needed a configDB table to hold global device-specific BGP configuration
This table was introduced as part of changes to make traffic-shift-away (TSA) state persistent - #11257

How I did it

Add a new yang file sonic-bgp-device-global.yang and new test files

How to verify it

Compile target/python-wheels/sonic_yang_mgmt-1.0-py3-none-any.whl and target/python-wheels/sonic_yang_models-1.0-py3-none-any.whl

Which release branch to backport (provide reason below if selected)

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

Description for the changelog

Link to config_db schema for YANG module changes

https://github.com/Azure/sonic-buildimage/blob/6fd7eab250ac54e9fedb68fc5248fdef2ba0adf6/src/sonic-yang-models/doc/Configuration.md#bgp-device-global

A picture of a cute animal (not mandatory but encouraged)

@tjchadaga tjchadaga requested a review from arlakshm July 5, 2022 17:24
@qiluo-msft qiluo-msft added the YANG YANG model related changes label Jul 6, 2022
@qiluo-msft
Copy link
Collaborator

Could you add HLD link in the PR description?

@tjchadaga
Copy link
Contributor Author

Could you add HLD link in the PR description?

PR link #11257 included. This has the description and changes which brought in the new table

@qiluo-msft qiluo-msft requested a review from ganglyu July 21, 2022 04:59
@zhangyanzhao
Copy link
Collaborator

Reviewed in YANG community

Copy link
Collaborator

@praveen-li praveen-li left a comment

Choose a reason for hiding this comment

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

Looks good to me. With Optional suggestions.

src/sonic-yang-models/doc/Configuration.md Outdated Show resolved Hide resolved
src/sonic-yang-models/setup.py Show resolved Hide resolved
@qiluo-msft
Copy link
Collaborator

@ganglyu Any more concern?

@tjchadaga tjchadaga merged commit 054db00 into sonic-net:master Jul 27, 2022
@tjchadaga tjchadaga deleted the bgp_device_global_yang branch July 27, 2022 01:27
@qiluo-msft
Copy link
Collaborator

This is not considered a bug fix. Why need it on 202012 branch?

yxieca pushed a commit that referenced this pull request Jul 28, 2022
skbarista pushed a commit to skbarista/sonic-buildimage that referenced this pull request Aug 17, 2022
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.

6 participants