Skip to content

Improve lag_2 test case suit "Sonic" as the fanout . #917

Closed
vincent201881 wants to merge 3 commits intosonic-net:masterfrom
vincent201881:patch-4
Closed

Improve lag_2 test case suit "Sonic" as the fanout . #917
vincent201881 wants to merge 3 commits intosonic-net:masterfrom
vincent201881:patch-4

Conversation

@vincent201881
Copy link

Description of PR

Summary:
Fixes # (issue)

If no have Arista as the fanout, we could use SONiC instead to test the Lag_2 case.

Type of change

  • [] Bug fix
  • [] Testbed and Framework(new/improvement)
  • [√] Test case(new/improvement)

Approach

How did you do it?

How did you verify/test it?

verified it on our testbed topology.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@msftclas
Copy link

msftclas commented May 16, 2019

CLA assistant check
All CLA requirements met.

deerao02 pushed a commit to deerao02/sonic-mgmt that referenced this pull request Dec 18, 2025
sonic-net#917)

### Description of PR
When running on isolated-v6 testbeds, use IPv6 addressing in the
outermost L3 header of IPinIP packets, as IPv4 addresses are not
configured and are unresolvable on these testbeds.

### Type of change

- [x]  Bug fix
- [ ]  Testbed and Framework(new/improvement)
- [ ]  New Test case
- [ ]  Skipped for non-supported platforms
- [ ]  Test case improvement

### Approach
What is the motivation for this PR?
This removes an issue caused by a mismatch between test expectations and
the testbed configuration, namely the assumption that IPv4 addresses can
be used on testbeds that are isolated-v6. This came up during imagequal
testing of a different branch and will need to be addressed there as
well.

### How did you do it?
Evaluate whether or not the testbed is isolated-v6 and safe this in a
class attribute. If this attribute is true, pass IPv6 addresses to
packet-creation and verification methods so that the L3 addresses in
outer headers of IPinIP packets are IPv6. IPv6-specific scapy methods
are utilized where applicable.

### How did you verify/test it?
Verified that the test case now uses IPv6 addressing in outer IPinIP
headers, and that it no longer fails due to nexthop resolution issues.
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…t#3112)

0ed90ba - [policerorch]: Fix return code comparison error (sonic-net#968) (1 minutes ago) <Shuotian Cheng)
80fcada -  remove crm acl_counters when acl_table removed (sonic-net#918) (3 hours ago) <JaredLius>
bd3651f - [aclorch]: Fix matching MIRROR_DSCP throws unnecessary errors (sonic-net#966) (2 minutes ago) <Shuotian Cheng>
0af226a - [aclorch]: Add MIRROR_DSCP table type (sonic-net#906) (4 weeks ago) <Shuotian Cheng>
9005962 - [vstest]: Update the mirror session state table name (sonic-net#917) (5 weeks ago) <Shuotian Cheng>
c4e3e54 - [policerorch]: Add PolicerOrch to bundle with mirror session (sonic-net#889) (6 weeks ago) <Shuotian Cheng>
ee49926 - [Makefile]: Remove header files from source files (sonic-net#883) (8 weeks ago) <Shuotian Cheng>
f889f80 - [aclorch]: Add ICMP type/code match for v4/v6 (sonic-net#868) (8 weeks ago) <Shuotian Cheng>
9931450 - [aclorch]: Add MIRRORv6 and MIRRORv4v6 support for ACL table (sonic-net#825) (9 weeks ago) <Shuotian Cheng>
a1ab18c - [mirrororch]: Fix comments typo (sonic-net#863) (9 weeks ago) <Shuotian Cheng>

sonic-swss-common
485db07 - [schema]: Add SWITCH_CAPABILITY_TABLE (sonic-net#276) (6 weeks ago) <Shuotian Cheng>        
3f49b20 - [schema]: Add POLICER configuration table (sonic-net#277) (6 weeks ago) <Shuotian Cheng>    
539b87d - [schema]: Add STATE_MIRROR_SESSION_TABLE_NAME (sonic-net#278) (6 weeks ago) <Shuotian Cheng>

sonic-utilities
dc52015 - [Sonic-utilities]: Added commands to view acl and port running configs (sonic-net#557) (6 days ago) <Prem Prakash>
635dc88 - [config]: Add config acl add/remove table command (sonic-net#541) (4 weeks ago) <Shuotian Cheng>
dcdc922 - [show]: Add show policer command (sonic-net#540) (4 weeks ago) <Shuotian Cheng>                                        
128462a - [config]: Add --policer option for mirror session (sonic-net#537) (6 weeks ago) <Shuotian Cheng>                       
38da7f3 - [acl_loader]: Add policer attribute in show mirror_session command (sonic-net#538) (6 weeks ago) <Shuotian Cheng>      
f95ff00 - [acl_loader]: Do not apply default DENY rule for MIRRORV6 table (sonic-net#522) (6 weeks ago) <Shuotian Cheng>

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Intf table migration for APP_DB entries during warmboot (sonic-net#980)
[Multi NPU] Time Improvements to the config reload/load_minigraph
commands  (sonic-net#917)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants