Skip to content

[action] [PR:16836] Adding support for IPv6 encapsulation to Everflow packet mirroring tests#132

Merged
mssonicbld merged 1 commit intoAzure:202412from
mssonicbld:cherry/msft-202412/16836
Mar 3, 2025
Merged

[action] [PR:16836] Adding support for IPv6 encapsulation to Everflow packet mirroring tests#132
mssonicbld merged 1 commit intoAzure:202412from
mssonicbld:cherry/msft-202412/16836

Conversation

@mssonicbld
Copy link
Collaborator

Description of PR

Summary:
Microsoft ADO id: 30441649
After PR 3317 in sonic-swss repo, it is possible to configure ERSPAN sessions with IPv6 source and destination addresses. This PR parametrizes existing Everflow tests with the IP version of the mirrored GRE packets (i.e., the version of the outer IP header).

Type of change

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

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

Adding support for IPv6 encapsulation to Everflow packet mirroring tests.

How did you do it?

Parametrized existing Everflow tests with the IP version of the outer IP header.

How did you verify/test it?

Tested on Broadcom T0.

Any platform specific information?

N/A

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

T0, T1, T2, and M0

Documentation

N/A

<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->

Summary:
Microsoft ADO id: 30441649
After [PR 3317 in sonic-swss repo](sonic-net/sonic-swss#3317), it is possible to configure ERSPAN sessions with IPv6 source and destination addresses. This PR parametrizes existing Everflow tests with the IP version of the mirrored GRE packets (i.e., the version of the outer IP header).

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

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

### Back port request
- [ ] 202012
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411

### Approach
#### What is the motivation for this PR?
Adding support for IPv6 encapsulation to Everflow packet mirroring tests.

#### How did you do it?
Parametrized existing Everflow tests with the IP version of the outer IP header.

#### How did you verify/test it?
Tested on Broadcom T0.

#### Any platform specific information?
N/A

#### Supported testbed topology if it's a new test case?
T0, T1, T2, and M0

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
N/A
@mssonicbld
Copy link
Collaborator Author

Original PR: sonic-net/sonic-mgmt#16836

@mssonicbld
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@r12f
Copy link
Contributor

r12f commented Mar 3, 2025

No image for mgmt testing in 202412 branch:

image

@mssonicbld mssonicbld merged commit ab197a2 into Azure:202412 Mar 3, 2025
6 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants