diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-01-26 20:04:35 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-01-26 20:04:35 +0100 |
commit | 558c6349dc8b851fdf57411196b20765531005eb (patch) | |
tree | 27a68962cf020fa2d5a8f5d2146933d0a5f4b088 /scripts | |
parent | c8814cf9692577c6bf963d2cfc4118f9ee1cd32a (diff) | |
download | vyos-1x-558c6349dc8b851fdf57411196b20765531005eb.tar.gz vyos-1x-558c6349dc8b851fdf57411196b20765531005eb.zip |
interface: bridge: delete member interfaces int test_add_remove_member()
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cli/test_interfaces.py | 3 |
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() |