2.59. 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)
maxDiff = None
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

classmethod tearDownClass()

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

test_ip4_mtu()

IP4 MTU test

test_ip6_mtu()

IP6 MTU test

validate(rx, expected)
validate_bytes(rx, expected)