2.112. test_udp module

class test_udp.TestUDP(methodName='runTest')

Bases: framework.VppTestCase

UDP Test Case

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

UDP echo client/server transfer

class test_udp.TestUdpEncap(methodName='runTest')

Bases: framework.VppTestCase

UDP Encap Test Case

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

UDP Encap test

validate_inner4(rx, tx, ttl=None)
validate_inner6(rx, tx)
validate_outer4(rx, encap_obj)
validate_outer6(rx, encap_obj)