diff options
author | Neale Ranns <nranns@cisco.com> | 2020-04-03 07:46:28 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-04-10 12:21:30 +0000 |
commit | 91fd910d7d7611a28d1f85482ed5d5c3ee6a8853 (patch) | |
tree | f2594418e3e7e80a69f16491da15a7af152feb1a /test/test_vxlan6.py | |
parent | ae9c45938bdf6e180f83f02aed31113e60db20a9 (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>
Diffstat (limited to 'test/test_vxlan6.py')
-rw-r--r-- | test/test_vxlan6.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_vxlan6.py b/test/test_vxlan6.py index 53658433ef7..b582d38eb74 100644 --- a/test/test_vxlan6.py +++ b/test/test_vxlan6.py @@ -147,9 +147,11 @@ class TestVxlan6(BridgeDomain, VppTestCase): super(TestVxlan6, self).setUp() # Create VXLAN VTEP on VPP pg0, and put vxlan_tunnel0 and pg1 # into BD. + self.single_tunnel_vni = 0x12345 self.single_tunnel_bd = 1 r = VppVxlanTunnel(self, src=self.pg0.local_ip6, - dst=self.pg0.remote_ip6, vni=self.single_tunnel_bd) + dst=self.pg0.remote_ip6, + vni=self.single_tunnel_vni) r.add_vpp_config() self.vapi.sw_interface_set_l2_bridge(rx_sw_if_index=r.sw_if_index, bd_id=self.single_tunnel_bd) |