-
Notifications
You must be signed in to change notification settings - Fork 727
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
ptf_nn_agent unable to capture packets with vlan tag #1343
Comments
Issue is observed due to Implementation of fetching VLAN tag is here: Below is example of using above approach:
Also below is example how it is downloaded in SONiC PTF docker image: |
Should be fixed by #109 |
Description
When running traffic test (written in pytest) using ptf_nn_agent infrastructure, any test involving vlan tagging will fail. The cause for that that the RAW socket strips the vlan tag automatically.
There was a similar issue with arp_responder I believe ( #1201 ).
Steps to reproduce the issue:
testutils.verify_packet(ptfadapter, tagged_pkt, ptf_port_num)
Describe the results you received:
At the same time I capture the packet with the tag on ptf interface with
tcpdump -e icmp -vvv -i eth5
Describe the results you expected:
The ptf_nn_agent receives the packet with the vlan tag, so that the
testutils.verify_packet()
can match it.Additional information you deem important:
The text was updated successfully, but these errors were encountered: