-
Notifications
You must be signed in to change notification settings - Fork 764
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
Extend IP-in-IP test to check IPv6 in IPv4, IPv4 in IPv6, IPv6 in IP… #682
Conversation
…v6 decapsulation Signed-off-by: stepanb <[email protected]>
There was a problem hiding this 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" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Signed-off-by: Stepan Blyschak <[email protected]>
…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
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