Skip to content
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

[Dual-Tor][Mellanox]Use GRE type 0x8949 when it is Nvidia platform in the test_encap_with_mirror_session test. #9301

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

congh-nvidia
Copy link
Contributor

@congh-nvidia congh-nvidia commented Aug 4, 2023

Description of PR

Summary:
The test case test_encap_with_mirror_session in tests/dualtor/test_ipinip.py uses the GRE type 1234(0x04d2) when configuring the mirror session.
But for Nvidia platforms, we only support the GRE type 35145(0x8949) for mirroring and this is already noted in our release notes.

Type of change

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

Back port request

  • 201911
  • 202012
  • 202205
  • 202305

Approach

What is the motivation for this PR?

Fix the GRE type test issue in test_encap_with_mirror_session test.

How did you do it?

Use GRE type 0x8949 when it is Nvidia platform.

How did you verify/test it?

Run the test on 4600C dualtor setup, it passed.

Any platform specific information?

This change is only for Nvidia platforms.

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

Documentation

Use gre type 0x8949 when it is Nvidia platform.

Change-Id: I0f45a7717a10769b48ff779c8f8b8310ffdaea12
@congh-nvidia congh-nvidia marked this pull request as ready for review August 9, 2023 02:48
@congh-nvidia
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liat-grozovik
Copy link
Collaborator

@bingwang-ms please help to review

@liat-grozovik liat-grozovik changed the title [Dual-Tor][Nvidia]Use GRE type 0x8949 when it is Nvidia platform in the test_encap_with_mirror_session test. [Dual-Tor][Mellanox]Use GRE type 0x8949 when it is Nvidia platform in the test_encap_with_mirror_session test. Aug 27, 2023
@bingwang-ms
Copy link
Collaborator

Thanks for the improvement.

@bingwang-ms bingwang-ms merged commit 020e7a7 into sonic-net:master Sep 26, 2023
13 checks passed
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #10174

mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Sep 28, 2023
Use gre type 0x8949 when it is Nvidia platform.
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Sep 28, 2023
Use gre type 0x8949 when it is Nvidia platform.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202205: #10175

mssonicbld pushed a commit that referenced this pull request Sep 28, 2023
Use gre type 0x8949 when it is Nvidia platform.
mssonicbld pushed a commit that referenced this pull request Sep 28, 2023
Use gre type 0x8949 when it is Nvidia platform.
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Jan 25, 2024
Use gre type 0x8949 when it is Nvidia platform.
@congh-nvidia congh-nvidia deleted the dualtor_mirroring branch October 17, 2024 02:11
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.

7 participants