Set test module name in payload of packets injected by ptfadapter#2123
Merged
wangxin merged 5 commits intosonic-net:masterfrom Aug 27, 2020
wangxin:pkt-payload-pr
Merged
Set test module name in payload of packets injected by ptfadapter#2123wangxin merged 5 commits intosonic-net:masterfrom wangxin:pkt-payload-pr
wangxin merged 5 commits intosonic-net:masterfrom
wangxin:pkt-payload-pr
Conversation
This PR enhanced the ptfadapter fixture to include test module name in the payload of injected TCP/UDP packets. Then in the captured pcap file, it would be easier to tell which packets are injected by the test script. Signed-off-by: Xin Wang <[email protected]>
bingwang-ms
reviewed
Aug 20, 2020
daall
reviewed
Aug 20, 2020
neethajohn
reviewed
Aug 20, 2020
neethajohn
approved these changes
Aug 21, 2020
daall
approved these changes
Aug 27, 2020
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
c5c105f (HEAD -> 202111, origin/202111) [PBH] Implement Edit Flows (sonic-net#2093) 7050581 [techsupport] Handle minor fixes of TS Lock and update auto-TS (sonic-net#2114) 3602f99 Fix issues in clear_qos (sonic-net#2122) 4f96d3b Fixing get port speed when oper status is down (sonic-net#2123)
This file contains hidden or 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
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
Summary:
Fixes # (issue)
Type of change
Approach
What is the motivation for this PR?
This PR enhanced the ptfadapter fixture to include test module name in
the payload of injected TCP/UDP packets. Then in the captured pcap file,
it would be easier to tell which packets are injected by the test script.
How did you do it?
How did you verify/test it?
Test run ACL and sip_dip scripts which dependent on ptfadapter. Capture the packets and inspect the payload.
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation