This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Deduce nexthop ifindex for ipv6 when ifindex points to 'lo'#42
Merged
pavel-shirshov merged 3 commits intosonic-net:debian/0.99.24.1from Jul 14, 2020
Merged
Conversation
lguohan
approved these changes
Jul 13, 2020
prsunny
reviewed
Jul 13, 2020
pavel-shirshov
added a commit
that referenced
this pull request
Jul 14, 2020
* Deduce nexthop ifindex for ipv6 when bgpd decided to use loopback interface
3 tasks
pavel-shirshov
added a commit
to sonic-net/sonic-mgmt
that referenced
this pull request
Aug 11, 2020
Added a new testcase to check ipv6 routes, received over dynamic ipv4 bgp session. This test is required to check sonic-net/sonic-quagga#42 What is the motivation for this PR? Recently we found a bug in sonic-quagga. We need to test sonic after the bug fix sonic-net/sonic-quagga#42. How did you do it? I used existing ipv4 bgp speaker test as an example. I added ipv6 test case and also fixed some issues in the common test functions: - add support of the older sonic release - generate_ips() wasn't able generage ips for the ipv6 prefixes - fix bugs in exabgp ansible module. - fib_test.py uses fib.py and lpm.py which didn't work for ipv6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When we have ipv4 bgp session with 'bgp x.x.x.x update-source y.y.y.y
wherey.y.y.y` assigned to 'lo' bgpd will use ifindex which points to 'lo' for ipv6 routes nexthops received through this ipv4 session.