-
Notifications
You must be signed in to change notification settings - Fork 753
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
Adding IPv4 and IPv6 ERSPAN tests #16752
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Mahdi Ramezani <[email protected]>
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Please add MSFT ADO id to description |
sonic-mgmt tests for PR implementation - sonic-net/sonic-swss#3317 |
This comment maybe too late. I was just wondering why not implement the test based on the existing everflow test? I think it could be more straightforward. |
The purpose of these tests was to only test the ERSPAN feature. The Everflow tests are more comprehensive (e.g., they also define and test ACL rules). |
Signed-off-by: Mahdi Ramezani <[email protected]>
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
…ERSPAN session with source port(s) and direction. Signed-off-by: Mahdi Ramezani <[email protected]>
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Mahdi Ramezani <[email protected]>
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Description of PR
Summary:
Microsoft ADO id: 30441649
This PR adds IPv4 and IPv6 ERSPAN tests.
Type of change
Back port request
Approach
What is the motivation for this PR?
After PR 3317 in sonic-swss repo, it is possible to configure ERSPAN sessions with IPv6 source and destination addresses. The main objective of this PR is to add IPv6 ERSPAN tests, but we have also added IPv4 ERSPAN tests.
How did you do it?
We select 3 sets of ports on the DUT:
RX ERSPAN tests:
TX ERSPAN tests:
How did you verify/test it?
Tested on the following platforms:
Any platform specific information?
IPv6 ERSPAN tests are skipped on Broadcom ASICs since Broadcom does not support IPv6 as an ERSPAN delivery method.
Supported testbed topology if it's a new test case?
T0, T1 and their variations.
These tests are not designed to be run on T2 switches.