-
Notifications
You must be signed in to change notification settings - Fork 745
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
[dualtor][tunnel] Add ipinip testcase #3014
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lolyu
force-pushed
the
add_orchagent_ipinip
branch
from
February 22, 2021 08:08
0d70f12
to
a4bc081
Compare
neethajohn
reviewed
Feb 22, 2021
lolyu
force-pushed
the
add_orchagent_ipinip
branch
4 times, most recently
from
February 24, 2021 05:41
9fa6589
to
9d0dcd7
Compare
Add two testcases: 1. `test_dualtor_ipinip_active_tor` Send encapsulated packet to the active tor, verify the packet is decapsulated by the active tor and forwarded to the server. 2. `test_dualtor_ipinip_standby_tor` Send encapsulated packet to the standby tor, verify the packet is neither decapsulated and forwarded to server or decapsulated and re-encapsulated back to T1s. Signed-off-by: Longxiang Lyu <[email protected]>
lolyu
force-pushed
the
add_orchagent_ipinip
branch
from
February 24, 2021 06:17
9d0dcd7
to
7e80af5
Compare
/Azurepipeline run |
Azure Pipelines successfully started running 1 pipeline(s). |
/Azurepipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
/Azurepipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
bingwang-ms
reviewed
Feb 26, 2021
bingwang-ms
reviewed
Feb 26, 2021
bingwang-ms
reviewed
Feb 26, 2021
bingwang-ms
reviewed
Feb 26, 2021
bingwang-ms
reviewed
Feb 26, 2021
bingwang-ms
approved these changes
Feb 26, 2021
lolyu
force-pushed
the
add_orchagent_ipinip
branch
from
February 26, 2021 08:34
fb3dd5d
to
edf9c2a
Compare
Signed-off-by: Longxiang Lyu <[email protected]>
lolyu
force-pushed
the
add_orchagent_ipinip
branch
from
February 26, 2021 09:26
edf9c2a
to
5f9ede1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of PR
Add two testcases:
test_decap_active_tor
Send encapsulated packet to the active tor, verify the packet is
decapsulated by the active tor and forwarded to the server.
test_decap_standby_tor
Send encapsulated packet to the standby tor, verify the packet is
neither decapsulated and forwarded to server or decapsulated and
re-encapsulated back to T1s.
Signed-off-by: Longxiang Lyu [email protected]
Summary:
Fixes #2777
Type of change
Approach
What is the motivation for this PR?
Cover the testing scenario that aims to verify that encapsulated packet could be:
How did you do it?
active
orstandby
The outer packet is from the other ToR to the testing target ToR.
The inner packet is to one of the servers.
For
active
mode, the encapsulated packet should be decapped by the target ToR and forwarded to the server.For
standby
mode, the encapsulated packet should not be either forwarded to the server or re-encapsulated back to T1s.How did you verify/test it?
Run those two tests against dualtor testbeds.
Any platform specific information?
dualtor testbeds
Supported testbed topology if it's a new test case?
Documentation