Skip to content

Extend IP-in-IP test to check IPv6 in IPv4, IPv4 in IPv6, IPv6 in IP…#682

Merged
sihuihan88 merged 2 commits intosonic-net:masterfrom
stepanblyschak:ipv6_decap_test
Aug 24, 2018
Merged

Extend IP-in-IP test to check IPv6 in IPv4, IPv4 in IPv6, IPv6 in IP…#682
sihuihan88 merged 2 commits intosonic-net:masterfrom
stepanblyschak:ipv6_decap_test

Conversation

@stepanblyschak
Copy link
Copy Markdown
Contributor

…v6 decapsulation

Signed-off-by: stepanb [email protected]

Description of PR

Summary:
Extend IP-in-IP decapsulation test to pass different combinations of tunneled traffic (IPv6 in IPv4, IPv4 in IPv6, IPv6 in IP…)

Type of change

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

Approach

How did you do it?

Extend PTF test

How did you verify/test it?

Run the test

Any platform specific information?

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

Documentation

Copy link
Copy Markdown
Contributor

@sihuihan88 sihuihan88 left a comment

Choose a reason for hiding this comment

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

It would be better if by default (without defining the test scenario), we test all the four combinations (ipv6 in ipv4, ipv4 in ipv4, ipv4 in ipv6, ipv6 in ipv6) and output the failure/success results of the four cases.


always:
# Delete the configuration
- set_fact: op="DEL"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the default op value? If setting op="DEL" in the cleanup, will it has side-effect in case there are following tests?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

it is set to 'SET' on line 78. It should not have any side effects, it is used to cleanup the configured tunnels

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What will happen if the other tests run afterwards? Will the op="DEL" for all the up coming tests? Is it possible that it will clean up configurations needed for other tests?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Prefer to set op=“DEL” as a local value for the command, eg using with_item

@sihuihan88 sihuihan88 merged commit 8a3c749 into sonic-net:master Aug 24, 2018
qiluo-msft added a commit that referenced this pull request Sep 27, 2018
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Submodule src/sonic-utilities fb5902f..d315dd7:
  > show pfcwd status to be 'N/A' when pfcwd is stopped (sonic-net#682)

Signed-off-by: Ying Xie <[email protected]>
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.

3 participants