2.146. test_vxlan6 module

class test_vxlan6.TestVxlan6(*args)

Bases: template_bd.BridgeDomain, framework.VppTestCase

VXLAN over IPv6 Test Case

classmethod add_mcast_tunnels_load()
check_encapsulation(pkt, vni, local_only=False, mcast_pkt=False)

Verify the encapsulation

createVxLANInterfaces(port=4789)
classmethod create_vxlan_flood_test_bd(vni, n_ucast_tunnels, port)
decapsulate(pkt)

Decapsulate the original payload frame by removing VXLAN header

classmethod del_mcast_tunnels_load()
encap_fragmented_packet()
encap_mcast(pkt, src_ip, src_mac, vni)

Encapsulate the original payload frame by adding VXLAN header with its UDP, IP and Ethernet fields

encapsulate(pkt, vni)

Encapsulate the original payload frame by adding VXLAN header with its UDP, IP and Ethernet fields

classmethod ip_range(s, e)

range of remote ip’s

setUp()

Clear trace before running each test

classmethod setUpClass()

Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api

show_commands_at_teardown()

Allow subclass specific teardown logging additions.

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

Perform final cleanup after running all tests in this test-case

test_decap()

Decapsulation test from BridgeDoman

test_decap_custom_port()

Decapsulation test custom port from BridgeDoman

test_encap()

Encapsulation test from BridgeDoman

test_encap_custom_port()

Encapsulation test custom port from BridgeDoman

test_encap_fragmented_packet()

Encapsulation test send fragments from pg1 Verify receipt of encapsulated frames on pg0

test_mcast_flood()

Multicast flood test from BridgeDoman

test_mcast_flood_custom_port()

Multicast flood test custom port from BridgeDoman

test_mcast_rcv()

Multicast receive test from BridgeDoman

test_mcast_rcv_custom_port()

Multicast receive test custom port from BridgeDoman

test_ucast_flood()

Unicast flood test from BridgeDoman

test_ucast_flood_custom_port()

Unicast flood test custom port from BridgeDoman