2.57. 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

test_lb_ip4_gre4()

Load Balancer IP4 GRE4

test_lb_ip4_gre6()

Load Balancer IP4 GRE6

test_lb_ip4_l3dsr()

Load Balancer IP4 L3DSR

test_lb_ip4_nat4()

Load Balancer IP4 NAT4

test_lb_ip6_gre4()

Load Balancer IP6 GRE4

test_lb_ip6_gre6()

Load Balancer IP6 GRE6

test_lb_ip6_nat6()

Load Balancer IP6 NAT6