2.50. test_geneve module¶
- class test_geneve.TestGeneve(*args)¶
Bases:
template_bd.BridgeDomain,framework.VppTestCaseGENEVE Test Case
- classmethod add_del_mcast_tunnels_load(is_add)¶
add or del tunnels to test geneve stability
add or del tunnels sharing the same mcast dst to test geneve ref_count mechanism
- classmethod add_mcast_tunnels_load()¶
- check_encapsulation(pkt, vni, local_only=False, mcast_pkt=False)¶
Verify the encapsulation
- classmethod create_geneve_flood_test_bd(vni, n_ucast_tunnels)¶
- decapsulate(pkt)¶
Decapsulate the original payload frame by removing GENEVE header
- classmethod del_mcast_tunnels_load()¶
- encap_mcast(pkt, src_ip, src_mac, vni)¶
Encapsulate the original payload frame by adding GENEVE header with its UDP, IP and Ethernet fields
- encapsulate(pkt, vni)¶
Encapsulate the original payload frame by adding GENEVE header with its UDP, IP and Ethernet fields
- ip_range(start, end)¶
range of remote ip’s
- 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
- class test_geneve.TestGeneveL3(methodName='runTest')¶
Bases:
framework.VppTestCaseGENEVE L3 Test Case
- 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_l3_packet()¶