aboutsummaryrefslogtreecommitdiffstats
path: root/test/scapy_handlers
diff options
context:
space:
mode:
authorMatej Klotton <mklotton@cisco.com>2016-12-09 15:05:46 +0100
committerMatej Klotton <mklotton@cisco.com>2016-12-13 07:06:56 +0100
commitdeb698447172d8cae94df9871bb32a9d21705dbb (patch)
treeabe447354e185eb8f81cf53827340b26752dcce3 /test/scapy_handlers
parentabd98b2c88ec127c38ff804a0c2f2a6d6f018830 (diff)
make test: Use VXLAN built in scapy 2.3.3
- fix documentation issues. - fix mpls test. Change-Id: Ieef6b4b5e4aca99e89bd03e45a991be89d42adba Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'test/scapy_handlers')
-rw-r--r--test/scapy_handlers/vxlan.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/scapy_handlers/vxlan.py b/test/scapy_handlers/vxlan.py
deleted file mode 100644
index bf86f179a8e..00000000000
--- a/test/scapy_handlers/vxlan.py
+++ /dev/null
@@ -1,17 +0,0 @@
-from scapy.fields import BitField, XByteField, X3BytesField
-from scapy.packet import Packet, bind_layers
-from scapy.layers.l2 import Ether
-from scapy.layers.inet import UDP
-
-
-class VXLAN(Packet):
- name = "VXLAN"
- fields_desc = [BitField("flags", 0x08000000, 32),
- X3BytesField("vni", 0),
- XByteField("reserved", 0x00)]
-
- def mysummary(self):
- return self.sprintf("VXLAN (vni=%VXLAN.vni%)")
-
-bind_layers(UDP, VXLAN, dport=4789)
-bind_layers(VXLAN, Ether)