2.25. test_container module¶
Container integration tests
-
class
test_container.Conn(testcase, if1, if2, af, l4proto, port1, port2)¶ Bases:
util.L4_Conn
-
class
test_container.ContainerIntegrationTestCase(methodName='runTest')¶ Bases:
framework.VppTestCaseContainer integration extended testcases
-
run_basic_conn_test(af, acl_side)¶ Basic connectivity test
-
run_negative_conn_test(af, acl_side)¶ Packets with local spoofed address
-
classmethod
setUpClass()¶ Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api
-
show_commands_at_teardown()¶ Allow subclass specific teardown logging additions.
-
tearDown()¶ Run standard test teardown and log various show commands
-
classmethod
tearDownClass()¶ Perform final cleanup after running all tests in this test-case
-
test_0010_basic_conn_test()¶ IPv4 basic connectivity test
-
test_0011_basic_conn_test()¶ IPv6 basic connectivity test
-
test_0050_loopback_prepare_test()¶ Create loopbacks overlapping with remote addresses
-
test_0110_basic_conn_test()¶ IPv4 local-spoof connectivity test
-
test_0111_basic_conn_test()¶ IPv6 local-spoof connectivity test
-
test_0200_basic_conn_test()¶ Configure container commands
-
test_0210_basic_conn_test()¶ IPv4 test after configuring container
-
test_0211_basic_conn_test()¶ IPv6 test after configuring container
-
test_0300_unconfigure_commands()¶ Unconfigure container commands
-
test_0410_spoof_test()¶ IPv4 local-spoof after unconfig test
-
test_0411_spoof_test()¶ IPv6 local-spoof after unconfig test
-