-
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
[bgp] Add explictly configure bgp router id for multi-asic #18764
[bgp] Add explictly configure bgp router id for multi-asic #18764
Conversation
@yaqiangz PR: #18764 is conflict with MS internal repo |
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
e97714b
to
c4ce9a8
Compare
This reverts commit f87aefa.
c4ce9a8
to
656dd5a
Compare
58304af
to
ecdbf44
Compare
@StormLiangMS Could you please help to review this PR? |
Hi @abdosi could you please help to review this PR? |
68f1d81
to
d5e07d4
Compare
Why I did it These 2 dependencies were removed by #18764 and #18727 for decoupling hard dependency between Loopback IPv4 address and BGP. Actually, these dependencies are to make sure existence of Loopback interface, no need to remove. Work item tracking Microsoft ADO (number only): 28210625 How I did it Add dependency back How to verify it UT passed.
Why I did it
HLD: sonic-net/SONiC#1643
Remove hard coupling between bgp router-id and IPv4 address of Loopback4096
Add support to explictly specify bgp router id for multi asic device
Work item tracking
How I did it
When bgp_router_id configured in DEVICE_METADATA, use it as bgp router-id and originator-id.
Remove the hard dependency on loopback4096 ipv4 address when adding ibgp peer.
Add UTs.
Behavior of set bgp router-id
To be clarified that when bgp router-id hasn't been explicitly set, bgp actions would totally like previous
Behavior of add bgp peer
To be clarified that when bgp router-id hasn't been explicitly set, bgp actions would totally like previous
How to verify it
UT passed.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)