2.79. test_vcl module

Vpp VCL tests

class test_vcl.LDPCutThruTestCase(methodName='runTest')

Bases: test_vcl.VCLTestCase

LDP Cut Thru Tests

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

show_commands_at_teardown()

Allow subclass specific teardown logging additions.

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

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

test_ldp_cut_thru_bi_dir_nsock()

run LDP cut thru bi-directional (multiple sockets) test

test_ldp_cut_thru_echo()

run LDP cut thru echo test

test_ldp_cut_thru_iperf3()

run LDP cut thru iperf3 test

test_ldp_cut_thru_uni_dir_nsock()

run LDP cut thru uni-directional (multiple sockets) test

class test_vcl.LDPIpv6CutThruTestCase(methodName='runTest')

Bases: test_vcl.VCLTestCase

LDP IPv6 Cut Thru Tests

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

run LDP IPv6 cut thru bi-directional (multiple sockets) test

test_ldp_ipv6_cut_thru_echo()

run LDP IPv6 cut thru echo test

test_ldp_ipv6_cut_thru_iperf3()

run LDP IPv6 cut thru iperf3 test

test_ldp_ipv6_cut_thru_uni_dir_nsock()

run LDP IPv6 cut thru uni-directional (multiple sockets) test

class test_vcl.LDPThruHostStackBidirNsock(methodName='runTest')

Bases: test_vcl.VCLTestCase

LDP Thru Host Stack Bidir Nsock

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

show_commands_at_teardown()

Allow subclass specific teardown logging additions.

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

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

test_ldp_thru_host_stack_bi_dir_nsock()

run LDP thru host stack bi-directional (multiple sockets) test

class test_vcl.LDPThruHostStackIperf(methodName='runTest')

Bases: test_vcl.VCLTestCase

LDP Thru Host Stack Iperf

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

show_commands_at_teardown()

Allow subclass specific teardown logging additions.

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

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

test_ldp_thru_host_stack_iperf3()

run LDP thru host stack iperf3 test

class test_vcl.LDPThruHostStackNsock(methodName='runTest')

Bases: test_vcl.VCLTestCase

LDP Thru Host Stack Nsock

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

run LDP thru host stack uni-directional (multiple sockets) test

class test_vcl.VCLAppWorker(build_dir, appname, args, logger, env={})

Bases: framework.Worker

VCL Test Application Worker

class test_vcl.VCLCutThruTestCase(methodName='runTest')

Bases: test_vcl.VCLTestCase

VCL Cut Thru Tests

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

show_commands_at_teardown()

Allow subclass specific teardown logging additions.

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

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

test_vcl_cut_thru_bi_dir_nsock()

run VCL cut thru bi-directional (multiple sockets) test

test_vcl_cut_thru_echo()

run VCL cut thru echo test

test_vcl_cut_thru_uni_dir_nsock()

run VCL cut thru uni-directional (multiple sockets) test

class test_vcl.VCLIpv6CutThruTestCase(methodName='runTest')

Bases: test_vcl.VCLTestCase

VCL IPv6 Cut Thru Tests

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

run VCL IPv6 cut thru bi-directional (multiple sockets) test

test_vcl_ipv6_cut_thru_echo()

run VCL IPv6 cut thru echo test

test_vcl_ipv6_cut_thru_uni_dir_nsock()

run VCL IPv6 cut thru uni-directional (multiple sockets) test

class test_vcl.VCLIpv6ThruHostStackEcho(methodName='runTest')

Bases: test_vcl.VCLTestCase

VCL IPv6 Thru Host Stack Echo

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

run VCL IPv6 thru host stack echo test

class test_vcl.VCLTestCase(methodName='runTest')

Bases: framework.VppTestCase

VCL Test Class

cut_thru_setup()
cut_thru_tear_down()
cut_thru_test(server_app, server_args, client_app, client_args)
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

classmethod tearDownClass()

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

thru_host_stack_ipv6_setup()
thru_host_stack_ipv6_tear_down()
thru_host_stack_setup()
thru_host_stack_tear_down()
thru_host_stack_test(server_app, server_args, client_app, client_args)
validateResults(worker_client, worker_server, timeout)
class test_vcl.VCLThruHostStackBidirNsock(methodName='runTest')

Bases: test_vcl.VCLTestCase

VCL Thru Host Stack Bidir Nsock

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

show_commands_at_teardown()

Allow subclass specific teardown logging additions.

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

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

test_vcl_thru_host_stack_bi_dir_nsock()

run VCL thru host stack bi-directional (multiple sockets) test

class test_vcl.VCLThruHostStackEcho(methodName='runTest')

Bases: test_vcl.VCLTestCase

VCL Thru Host Stack Echo

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

show_commands_at_teardown()

Allow subclass specific teardown logging additions.

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

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

class test_vcl.VCLThruHostStackNsock(methodName='runTest')

Bases: test_vcl.VCLTestCase

VCL Thru Host Stack Nsock

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

run VCL thru host stack uni-directional (multiple sockets) test

class test_vcl.VCLThruHostStackTLS(methodName='runTest')

Bases: test_vcl.VCLTestCase

VCL Thru Host Stack TLS

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

show_commands_at_teardown()

Allow subclass specific teardown logging additions.

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

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

test_vcl_thru_host_stack_tls_uni_dir()

run VCL thru host stack uni-directional TLS test

test_vcl.have_app(app)