Skip to content

[VXLAN_ECMP] Workaround to have separate setup and teardown for each supported encap type#5858

Merged
liat-grozovik merged 1 commit intosonic-net:masterfrom
ihorchekh:vxlan_ecmp_v4v6_woraround
Jun 28, 2022
Merged

[VXLAN_ECMP] Workaround to have separate setup and teardown for each supported encap type#5858
liat-grozovik merged 1 commit intosonic-net:masterfrom
ihorchekh:vxlan_ecmp_v4v6_woraround

Conversation

@ihorchekh
Copy link
Copy Markdown

@ihorchekh ihorchekh commented Jun 22, 2022

Description of PR

Summary:
Separate configuration and teardown for each supported encapsulation type: ['v4_in_v4', 'v4_in_v6', 'v6_in_v4', 'v6_in_v6']

Type of change

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

Back port request

  • 201911
  • 202012

Approach

What is the motivation for this PR?

Fix the test issue when two types of tunnels (v4 and v6) configured at the same time

How did you do it?

By using an additional fixture, which allows to do setup and teardown for each encap type

How did you verify/test it?

By running test in the nightly regression

@prsunny prsunny requested a review from sumukhatv June 22, 2022 19:54
@ihorchekh ihorchekh marked this pull request as ready for review June 23, 2022 15:08
@ihorchekh ihorchekh requested a review from a team as a code owner June 23, 2022 15:08
Copy link
Copy Markdown
Contributor

@rraghav-cisco rraghav-cisco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is a command line argument being added as "encap_type"? if so, pls update the documentation at the top of the script to include encap_type.

@ihorchekh
Copy link
Copy Markdown
Author

Is a command line argument being added as "encap_type"? if so, pls update the documentation at the top of the script to include encap_type.

No, "encap type" is just a fixture, not a command-line argument. The list of supported encap types is defined in the const inside the test as it was initially.

@liat-grozovik liat-grozovik merged commit bc274dc into sonic-net:master Jun 28, 2022
liat-grozovik pushed a commit that referenced this pull request Jul 20, 2022
…or each supported encap type (5993)

Backport to 202012 of #5858
Included PR: #5873

Summary:
Separate configuration and teardown for each supported encapsulation type: ['v4_in_v4', 'v4_in_v6', 'v6_in_v4', 'v6_in_v6']

- What is the motivation for this PR?
Fix the test issue when two types of tunnels (v4 and v6) configured at the same time

- How did you do it?
By using an additional fixture, which allows to do setup and teardown for each encap type

- How did you verify/test it?
By running test in the nightly regression
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.

3 participants