summaryrefslogtreecommitdiffstats
path: root/test/test_vxlan_gpe.py
diff options
context:
space:
mode:
authorGabriel Ganne <gabriel.ganne@enea.com>2017-11-15 10:55:22 +0100
committerDave Wallace <dwallacelf@gmail.com>2017-11-15 15:43:11 +0000
commit3904a0c72baefd5c48bf789105266a501ee2bf4c (patch)
treeca30f1180b8d4f87c3fe168cea3dc0fda2596370 /test/test_vxlan_gpe.py
parenteb9e6b6f07499e095e7b6b6148be3d7ca27e180f (diff)
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 <gabriel.ganne@enea.com>
Diffstat (limited to 'test/test_vxlan_gpe.py')
-rw-r--r--test/test_vxlan_gpe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_vxlan_gpe.py b/test/test_vxlan_gpe.py
index 40975bf16f3..762e0709f13 100644
--- a/test/test_vxlan_gpe.py
+++ b/test/test_vxlan_gpe.py
@@ -72,7 +72,7 @@ class TestVxlanGpe(BridgeDomain, VppTestCase):
# could be arbitrary.
self.assertEqual(pkt[UDP].dport, type(self).dport)
# Verify VNI
- self.assertEqual(pkt[VXLAN].VNI, vni)
+ self.assertEqual(pkt[VXLAN].vni, vni)
def test_decap(self):
""" Decapsulation test