fix test_lb_ip4_gre6() cleanup 92/8992/1
authorGabriel Ganne <gabriel.ganne@enea.com>
Tue, 24 Oct 2017 13:18:57 +0000 (15:18 +0200)
committerGabriel Ganne <gabriel.ganne@enea.com>
Tue, 24 Oct 2017 13:35:48 +0000 (15:35 +0200)
missing "del" keyword, and as a result, we were trying to add the as
twice.

Change-Id: If78ce03f0c71591c05ff6f4748fd9c929d0f861f
Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
test/test_lb.py

index e5802d9..db4d46b 100644 (file)
@@ -195,7 +195,7 @@ 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")
 
     def test_lb_ip6_gre6(self):