test_vxlan module

class test_vxlan.TestVxlan(*args)

Bases: template_bd.BridgeDomain, framework.VppTestCase

VXLAN Test Case

classmethod add_del_mcast_load(is_add)
classmethod add_mcast_load()
check_encapsulation(pkt, vni, local_only=False)
classmethod create_vxlan_flood_test_bd(vni)
decapsulate(pkt)

Decapsulate the original payload frame by removing VXLAN header

classmethod del_mcast_load()
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

static ip4_range(ip4n, s=10, e=20)
classmethod setUpClass()
tearDown()