summaryrefslogtreecommitdiff
path: root/scripts/cli
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-01-26 20:04:35 +0100
committerChristian Poessinger <christian@poessinger.com>2020-01-26 20:04:35 +0100
commit558c6349dc8b851fdf57411196b20765531005eb (patch)
tree27a68962cf020fa2d5a8f5d2146933d0a5f4b088 /scripts/cli
parentc8814cf9692577c6bf963d2cfc4118f9ee1cd32a (diff)
downloadvyos-1x-558c6349dc8b851fdf57411196b20765531005eb.tar.gz
vyos-1x-558c6349dc8b851fdf57411196b20765531005eb.zip
interface: bridge: delete member interfaces int test_add_remove_member()
Diffstat (limited to 'scripts/cli')
-rwxr-xr-xscripts/cli/test_interfaces.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/cli/test_interfaces.py b/scripts/cli/test_interfaces.py
index 0e7c4dc07..fb5c53adc 100755
--- a/scripts/cli/test_interfaces.py
+++ b/scripts/cli/test_interfaces.py
@@ -104,7 +104,10 @@ class BridgeInterfaceTest(BasicInterfaceTest.BaseTest):
self.session.set(self._base_path + [intf, 'member', 'interface', member, 'priority', str(priority)])
cost += 1
priority += 1
+ self.session.commit()
+ for intf in self._interfaces:
+ self.session.delete(self._base_path + [intf, 'member'])
self.session.commit()