2.61. test_mtu module

IP4 and IP6 MTU functional tests

class test_mtu.TestMTU(methodName='runTest')

Bases: framework.VppTestCase

MTU Test Case

get_mtu(sw_if_index)
payload(len)
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

test_ip4_mtu()

IP4 MTU test

test_ip6_mtu()

IP6 MTU test

validate(rx, expected)
validate_bytes(rx, expected)
test_mtu.reassemble(listoffragments)