2.75. test_map module

class test_map.TestMAP(methodName='runTest')

Bases: framework.VppTestCase

MAP Test Case

payload(len)
send_and_assert_encapped(packets, ip6_src, ip6_dst, dmac=None)
send_and_assert_encapped_one(packet, ip6_src, ip6_dst, dmac=None)
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

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

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

test_api_map_domain_dump()
test_map_e_inner_frag()

MAP-E Inner fragmentation

test_map_e_tcp_mss()

MAP-E TCP MSS

test_map_e_udp()

MAP-E UDP

test_map_t()

MAP-T

test_map_t_ip6_psid()

MAP-T v6->v4 PSID validation

test_map_t_pre_resolve()

MAP-T pre-resolve

validate(rx, expected)
validate_frag4(p4_frag, p_ip4_expected)
validate_frag6(p6_frag, p_ip6_expected)
validate_frag_payload_len4(rx, proto, payload_len_expected)
validate_frag_payload_len6(rx, proto, payload_len_expected)