-
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
Add bgp_device_global yang model #11343
Add bgp_device_global yang model #11343
Conversation
src/sonic-yang-models/tests/yang_model_tests/tests/bgp_device_global.json
Outdated
Show resolved
Hide resolved
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 |
src/sonic-yang-models/tests/yang_model_tests/tests_config/bgp_device_global.json
Show resolved
Hide resolved
Reviewed in YANG community |
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.
Looks good to me. With Optional suggestions.
@ganglyu Any more concern? |
This is not considered a bug fix. Why need it on 202012 branch? |
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)
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)