enable ipv6 topo for test_default_route replace https://github.com/sonic-net/sonic-mgmt/pull/21142#22126
Merged
yxieca merged 2 commits intosonic-net:masterfrom Feb 10, 2026
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
11 tasks
Added support for IPv6-only topology in route tests. Signed-off-by: Yan Mo <andymo96@gmail.com>
Removed logical operator condition for xfail in test_default_route_set_src. Signed-off-by: Yan Mo <andymo96@gmail.com>
58e61a7 to
f4e9496
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
yxieca
reviewed
Feb 11, 2026
|
|
||
| pytest_assert(lo_ipv4, "cannot find ipv4 Loopback0 address") | ||
| if not ipv6_only: | ||
| pytest_assert(lo_ipv4, "cannot find ipv4 Loopback0 address") |
Collaborator
There was a problem hiding this comment.
This should be pytest_requires instead of pytest_assert?
Same for the next line below.
mssonicbld
pushed a commit
to mssonicbld/sonic-mgmt
that referenced
this pull request
Feb 11, 2026
…c-net#22126) What is the motivation for this PR? To enable ipv6 only topo for test_default_route tests. How did you do it? Edit the test code to not require ipv4 when in ipv6 only topo situation. How did you verify/test it? Original PR at: sonic-net#21142 Signed-off-by: Yan Mo <andymo96@gmail.com> Signed-off-by: mssonicbld <sonicbld@microsoft.com>
Collaborator
|
Cherry-pick PR to 202511: #22355 |
12 tasks
nnelluri-cisco
pushed a commit
to nnelluri-cisco/sonic-mgmt
that referenced
this pull request
Feb 12, 2026
…c-net#22126) What is the motivation for this PR? To enable ipv6 only topo for test_default_route tests. How did you do it? Edit the test code to not require ipv4 when in ipv6 only topo situation. How did you verify/test it? Original PR at: sonic-net#21142 Signed-off-by: Yan Mo <andymo96@gmail.com> Signed-off-by: nnelluri-cisco <nnelluri@cisco.com>
mssonicbld
pushed a commit
that referenced
this pull request
Feb 17, 2026
What is the motivation for this PR? To enable ipv6 only topo for test_default_route tests. How did you do it? Edit the test code to not require ipv4 when in ipv6 only topo situation. How did you verify/test it? Original PR at: #21142 Signed-off-by: Yan Mo <andymo96@gmail.com> Signed-off-by: mssonicbld <sonicbld@microsoft.com>
anilal-amd
pushed a commit
to anilal-amd/anilal-forked-sonic-mgmt
that referenced
this pull request
Feb 19, 2026
…c-net#22126) What is the motivation for this PR? To enable ipv6 only topo for test_default_route tests. How did you do it? Edit the test code to not require ipv4 when in ipv6 only topo situation. How did you verify/test it? Original PR at: sonic-net#21142 Signed-off-by: Yan Mo <andymo96@gmail.com> Signed-off-by: Zhuohui Tan <zhuohui.tan@amd.com>
fraserg-arista
pushed a commit
to fraserg-arista/sonic-mgmt
that referenced
this pull request
Feb 24, 2026
…c-net#22126) What is the motivation for this PR? To enable ipv6 only topo for test_default_route tests. How did you do it? Edit the test code to not require ipv4 when in ipv6 only topo situation. How did you verify/test it? Original PR at: sonic-net#21142 Signed-off-by: Yan Mo <andymo96@gmail.com>
fraserg-arista
pushed a commit
to fraserg-arista/sonic-mgmt
that referenced
this pull request
Feb 24, 2026
sonic-net#1031) …nic-net/sonic-mgmt/pull/21142 (sonic-net#22126) What is the motivation for this PR? To enable ipv6 only topo for test_default_route tests. How did you do it? Edit the test code to not require ipv4 when in ipv6 only topo situation. How did you verify/test it? Original PR at: sonic-net#21142
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
…lly (sonic-net#22126) #### Why I did it src/sonic-swss ``` * 40a1680e - (HEAD -> 202405, origin/202405) [vstest]: Fix MACsec test in the kernel 5.15 (sonic-net#3568) (5 days ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
ravaliyel
pushed a commit
to ravaliyel/sonic-mgmt
that referenced
this pull request
Mar 12, 2026
…c-net#22126) What is the motivation for this PR? To enable ipv6 only topo for test_default_route tests. How did you do it? Edit the test code to not require ipv4 when in ipv6 only topo situation. How did you verify/test it? Original PR at: sonic-net#21142 Signed-off-by: Yan Mo <andymo96@gmail.com> Signed-off-by: Ravali Yeluri (WIPRO LIMITED) <v-ryeluri@microsoft.com>
abhishek-nexthop
pushed a commit
to nexthop-ai/sonic-mgmt
that referenced
this pull request
Mar 17, 2026
…c-net#22126) What is the motivation for this PR? To enable ipv6 only topo for test_default_route tests. How did you do it? Edit the test code to not require ipv4 when in ipv6 only topo situation. How did you verify/test it? Original PR at: sonic-net#21142 Signed-off-by: Yan Mo <andymo96@gmail.com> Signed-off-by: Abhishek <abhishek@nexthop.ai>
ravaliyel
pushed a commit
to ravaliyel/sonic-mgmt
that referenced
this pull request
Mar 27, 2026
…c-net#22126) What is the motivation for this PR? To enable ipv6 only topo for test_default_route tests. How did you do it? Edit the test code to not require ipv4 when in ipv6 only topo situation. How did you verify/test it? Original PR at: sonic-net#21142 Signed-off-by: Yan Mo <andymo96@gmail.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description of PR
Summary:
Fixes #19925
Type of change
Back port request
Approach
What is the motivation for this PR?
To enable ipv6 only topo for test_default_route tests.
How did you do it?
Edit the test code to not require ipv4 when in ipv6 only topo situation.
How did you verify/test it?
Original PR at: #21142
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation