From 3904a0c72baefd5c48bf789105266a501ee2bf4c Mon Sep 17 00:00:00 2001 From: Gabriel Ganne Date: Wed, 15 Nov 2017 10:55:22 +0100 Subject: vxlan extended tests - fix scapy-related issues - Add vxlan-gpe binding on udp port 4790 (taken from scapy upstream) - VXLAN.VNI -> VXLAN.vni Change-Id: If7ad38fa04fbfec01e01c81a06e88ffe70183672 Signed-off-by: Gabriel Ganne --- test/patches/scapy-2.3.3/vxlan.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/patches/scapy-2.3.3/vxlan.patch (limited to 'test/patches') diff --git a/test/patches/scapy-2.3.3/vxlan.patch b/test/patches/scapy-2.3.3/vxlan.patch new file mode 100644 index 00000000000..556df4dd70a --- /dev/null +++ b/test/patches/scapy-2.3.3/vxlan.patch @@ -0,0 +1,11 @@ +diff --git a/scapy/layers/vxlan.py b/scapy/layers/vxlan.py +--- a/scapy/layers/vxlan.py ++++ b/scapy/layers/vxlan.py +@@ -65,6 +65,7 @@ + return self.sprintf("VXLAN (vni=%VXLAN.vni%)") + + bind_layers(UDP, VXLAN, dport=4789) # RFC standard port ++bind_layers(UDP, VXLAN, dport=4790) # RFC standard vxlan-gpe port + bind_layers(UDP, VXLAN, dport=6633) # New IANA assigned port for use with NSH + bind_layers(UDP, VXLAN, dport=8472) # Linux implementation port + bind_layers(VXLAN, Ether, {'flags': 0x8}) -- cgit 1.2.3-korg