2.62. test_lb module

class test_lb.TestLB(methodName='runTest')

Bases: framework.VppTestCase

Load Balancer Test Case

checkCapture(encap, isv4)
checkInner(gre, isv4)
generatePackets(src_if, isv4)
getIPv4Flow(id)
getIPv6Flow(id)
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_lb_ip4_gre4()

Load Balancer IP4 GRE4 on vip case

test_lb_ip4_gre4_port()

Load Balancer IP4 GRE4 on per-port-vip case

test_lb_ip4_gre6()

Load Balancer IP4 GRE6 on vip case

test_lb_ip4_gre6_port()

Load Balancer IP4 GRE6 on per-port-vip case

test_lb_ip4_l3dsr()

Load Balancer IP4 L3DSR on vip case

test_lb_ip4_l3dsr_port()

Load Balancer IP4 L3DSR on per-port-vip case

test_lb_ip4_nat4_port()

Load Balancer IP4 NAT4 on per-port-vip case

test_lb_ip6_gre4()

Load Balancer IP6 GRE4 on vip case

test_lb_ip6_gre4_port()

Load Balancer IP6 GRE4 on per-port-vip case

test_lb_ip6_gre6()

Load Balancer IP6 GRE6 on vip case

test_lb_ip6_gre6_port()

Load Balancer IP6 GRE6 on per-port-vip case

test_lb_ip6_nat6_port()

Load Balancer IP6 NAT6 on per-port-vip case