summaryrefslogtreecommitdiffstats
path: root/test/test_classifier.py
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-08-14 10:35:44 -0700
committerNeale Ranns <nranns@cisco.com>2018-05-15 13:07:00 +0000
commit744902e306c5a1f00bf13bbe344c6616cc816f0e (patch)
tree5a3290d07e5fb48045e63e3d4aa96224f924c959 /test/test_classifier.py
parentd2d4c10ecd850b4c2fda6d258761026f9c595350 (diff)
No overlapping sub-nets on any interface in the same table/VRF (VPP-943)
DBGvpp# set int ip addr loop0 10.10.10.10/24 DBGvpp# set int ip addr loop0 10.10.10.11/24 set interface ip address: failed to add 10.10.10.11/24 which conflicts with 10.10.10.10/24 for interface loop0 Change-Id: Iba63ffafbd36b6146ce86adb78139da9d55b40ba Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test/test_classifier.py')
-rw-r--r--test/test_classifier.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_classifier.py b/test/test_classifier.py
index 1753feff66a..1e29aec6b00 100644
--- a/test/test_classifier.py
+++ b/test/test_classifier.py
@@ -60,6 +60,10 @@ class TestClassifier(VppTestCase):
def tearDown(self):
"""Run standard test teardown and acl related log."""
+ for intf in self.interfaces:
+ intf.unconfig_ip4()
+ intf.admin_down()
+
super(TestClassifier, self).tearDown()
if not self.vpp_dead:
self.logger.info(self.vapi.cli("show classify table verbose"))