aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_vxlan6.py
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-04-03 07:46:28 +0000
committerNeale Ranns <nranns@cisco.com>2020-04-10 09:49:55 -0400
commit8c6efc06104ebccf4915d0d10c399292bac55874 (patch)
treedc9ef15ba24cc9ddfe6bfe986a65ad44a9af2a7b /test/test_vxlan6.py
parent5a4ee8d824d1d49d405832b4251a5282e3cc9373 (diff)
geneve: Fix the byte swapping for the VNI
Type: fix - swipe away the vomit indent left last time. - add tests for VNIs > 16bit Change-Id: I2d1f591bfb9d7a18996c38969365a509168d4193 Signed-off-by: Neale Ranns <nranns@cisco.com> (cherry picked from commit 91fd910d7d7611a28d1f85482ed5d5c3ee6a8853)
Diffstat (limited to 'test/test_vxlan6.py')
-rw-r--r--test/test_vxlan6.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_vxlan6.py b/test/test_vxlan6.py
index b1fda508394..c0745b199d1 100644
--- a/test/test_vxlan6.py
+++ b/test/test_vxlan6.py
@@ -138,10 +138,11 @@ class TestVxlan6(BridgeDomain, VppTestCase):
# Create VXLAN VTEP on VPP pg0, and put vxlan_tunnel0 and pg1
# into BD.
cls.single_tunnel_bd = 1
+ cls.single_tunnel_vni = 0xabcde
r = cls.vapi.vxlan_add_del_tunnel(src_address=cls.pg0.local_ip6n,
dst_address=cls.pg0.remote_ip6n,
is_ipv6=1,
- vni=cls.single_tunnel_bd)
+ vni=cls.single_tunnel_vni)
cls.vapi.sw_interface_set_l2_bridge(rx_sw_if_index=r.sw_if_index,
bd_id=cls.single_tunnel_bd)
cls.vapi.sw_interface_set_l2_bridge(