2.64. test_vxlan_gpe module

class test_vxlan_gpe.TestVxlanGpe(*args)

Bases: template_bd.BridgeDomain, framework.VppTestCase

VXLAN-GPE Test Case

classmethod add_del_mcast_tunnels_load(is_add)

add or del tunnels to test vxlan_gpe stability

classmethod add_del_shared_mcast_dst_load(is_add)

add or del tunnels sharing the same mcast dst to test vxlan_gpe ref_count mechanism

classmethod add_mcast_tunnels_load()
classmethod add_shared_mcast_dst_load()
check_encapsulation(pkt, vni, local_only=False, mcast_pkt=False)
classmethod create_vxlan_gpe_flood_test_bd(vni, n_ucast_tunnels)
decapsulate(pkt)

Decapsulate the original payload frame by removing VXLAN-GPE header

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

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

encapsulate(pkt, vni)

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

classmethod setUpClass()
tearDown()
test_mcast_flood(*args, **kwargs)

inherited from BridgeDomain

test_mcast_rcv(*args, **kwargs)

inherited from BridgeDomain