summaryrefslogtreecommitdiffstats
path: root/test/patches
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-08-20 18:32:39 +0200
committerNeale Ranns <nranns@cisco.com>2018-09-10 12:38:30 +0000
commit61b94c6bc417dbcb11323962b40493e6f7ec2f7e (patch)
treeaa10b1e25de448b4ea13eaf00c4f3e1e98833dc6 /test/patches
parentb414d0d23aff66f793c018a75d83af4d29fb1bd4 (diff)
vxlan-gbp: Add support for vxlan gbp
This patch implements vxlan with extension of group based policy support. Change-Id: I70405bf7332c02867286da8958d9652837edd3c2 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'test/patches')
-rw-r--r--test/patches/scapy-2.3.3/vxlan.patch1
-rw-r--r--test/patches/scapy-2.4/vxlan.py.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/test/patches/scapy-2.3.3/vxlan.patch b/test/patches/scapy-2.3.3/vxlan.patch
index 556df4dd70a..71493dd742c 100644
--- a/test/patches/scapy-2.3.3/vxlan.patch
+++ b/test/patches/scapy-2.3.3/vxlan.patch
@@ -8,4 +8,5 @@ diff --git a/scapy/layers/vxlan.py b/scapy/layers/vxlan.py
+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(UDP, VXLAN, dport=48879) # RFC standard vxlan-gbp port
bind_layers(VXLAN, Ether, {'flags': 0x8})
diff --git a/test/patches/scapy-2.4/vxlan.py.patch b/test/patches/scapy-2.4/vxlan.py.patch
new file mode 100644
index 00000000000..c5876a4adbd
--- /dev/null
+++ b/test/patches/scapy-2.4/vxlan.py.patch
@@ -0,0 +1,12 @@
+diff --git a/scapy/layers/vxlan.py b/scapy/layers/vxlan.py
+index 03c3a5a..ee30f28 100644
+--- a/scapy/layers/vxlan.py
++++ b/scapy/layers/vxlan.py
+@@ -69,6 +69,7 @@ bind_layers(UDP, VXLAN, dport=4789) # RFC standard vxlan 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(UDP, VXLAN, dport=48879) # iVXLAN port
+ bind_layers(UDP, VXLAN, sport=4789)
+ bind_layers(UDP, VXLAN, sport=4790)
+ bind_layers(UDP, VXLAN, sport=6633)