X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_lb.py;h=ab9a209638a20622b9c071c2b7f7182372da81d3;hb=810086d8fd08445919ae03bf36161037e53a712a;hp=e5802d990e9b9ab13b0d5d347f6c013ae6f167d1;hpb=dab231a11ec96e829b22ff80c612333edc5a93e6;p=vpp.git diff --git a/test/test_lb.py b/test/test_lb.py index e5802d990e9..ab9a209638a 100644 --- a/test/test_lb.py +++ b/test/test_lb.py @@ -162,6 +162,7 @@ class TestLB(VppTestCase): for asid in self.ass: self.vapi.cli("lb as 90.0.0.0/8 10.0.0.%u del" % (asid)) self.vapi.cli("lb vip 90.0.0.0/8 encap gre4 del") + self.vapi.cli("test lb flowtable flush") def test_lb_ip6_gre4(self): """ Load Balancer IP6 GRE4 """ @@ -180,6 +181,7 @@ class TestLB(VppTestCase): for asid in self.ass: self.vapi.cli("lb as 2001::/16 10.0.0.%u del" % (asid)) self.vapi.cli("lb vip 2001::/16 encap gre4 del") + self.vapi.cli("test lb flowtable flush") def test_lb_ip4_gre6(self): """ Load Balancer IP4 GRE6 """ @@ -195,8 +197,9 @@ class TestLB(VppTestCase): self.checkCapture(gre4=False, isv4=True) finally: for asid in self.ass: - self.vapi.cli("lb as 90.0.0.0/8 2002::%u" % (asid)) + self.vapi.cli("lb as 90.0.0.0/8 2002::%u del" % (asid)) self.vapi.cli("lb vip 90.0.0.0/8 encap gre6 del") + self.vapi.cli("test lb flowtable flush") def test_lb_ip6_gre6(self): """ Load Balancer IP6 GRE6 """ @@ -214,3 +217,4 @@ class TestLB(VppTestCase): for asid in self.ass: self.vapi.cli("lb as 2001::/16 2002::%u del" % (asid)) self.vapi.cli("lb vip 2001::/16 encap gre6 del") + self.vapi.cli("test lb flowtable flush")