p4lang / ptf

Packet Test Framework
Apache License 2.0
144 stars 99 forks source link

allow app to pass vxlan flags to simple_vxlan_packet #142

Closed ravi861 closed 3 years ago

ravi861 commented 3 years ago

The default Scapy implementation assumes VXLAN GPE and sets the vxlan flags to 0xC for Ethernet header. Allowing flags to be defaulted to 0x8 allows it to function as basic Vxlan. This was the original behavior with scapy-vxlan.

antoninbas commented 3 years ago

@Yi-Tseng looks good yo you?

Yi-Tseng commented 3 years ago

LGTM