2.76. test_map_br module

class test_map_br.TestMAPBR(methodName='runTest')

Bases: framework.VppTestCase

MAP-T Test Cases

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_map_t_echo_reply_ip4_to_ip6()

MAP-T echo reply IPv4 -> IPv6

test_map_t_echo_reply_ip6_to_ip4()

MAP-T echo reply IPv6 -> IPv4

test_map_t_echo_request_ip4_to_ip6()

MAP-T echo request IPv4 -> IPv6

test_map_t_echo_request_ip6_to_ip4()

MAP-T echo request IPv6 -> IPv4

test_map_t_packet_too_big_ip6_to_ip4()

MAP-T packet too big IPv6 -> IPv4

test_map_t_same_rule_diff_addr_ip6_to_ip4()

MAP-T same rule, diff addr IPv6 -> IPv6

test_map_t_same_rule_same_addr_ip6_to_ip4()

MAP-T same rule, same addr IPv6 -> IPv6

test_map_t_spoof_icmp_id_psid_ip6_to_ip4()

MAP-T spoof ICMP id psid IPv6 -> IPv4

test_map_t_spoof_ipv4_src_addr_ip6_to_ip4()

MAP-T spoof ipv4 src addr IPv6 -> IPv4

test_map_t_spoof_ipv4_src_prefix_ip6_to_ip4()

MAP-T spoof ipv4 src prefix IPv6 -> IPv4

test_map_t_spoof_port_psid_ip6_to_ip4()

MAP-T spoof port psid IPv6 -> IPv4

test_map_t_spoof_psid_ip6_to_ip4()

MAP-T spoof psid IPv6 -> IPv4

test_map_t_spoof_subnet_ip6_to_ip4()

MAP-T spoof subnet IPv6 -> IPv4

test_map_t_tcp_ip4_to_ip6()

MAP-T TCP IPv4 -> IPv6

test_map_t_tcp_ip6_to_ip4()

MAP-T TCP IPv6 -> IPv4

test_map_t_time_exceeded_ip4_to_ip6()

MAP-T time exceeded IPv4 -> IPv6

test_map_t_time_exceeded_ip6_to_ip4()

MAP-T time exceeded IPv6 -> IPv4

test_map_t_udp_ip4_to_ip6()

MAP-T UDP IPv4 -> IPv6

test_map_t_udp_ip6_to_ip4()

MAP-T UDP IPv6 -> IPv4

v4_address_check(pkt)
v4_port_check(pkt, proto)
v6_address_check(pkt)
v6_port_check(pkt, proto)