summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-04 19:17:00 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-04 19:18:27 +0100
commit235aa6098fef3b398505835acbf42d4723b22d49 (patch)
tree350a44ce3b3687cf68532f889f2c702a1eed2935 /smoketest/scripts
parent2f31381416adda8f86d3b66d5e83fcf2b551df3f (diff)
downloadvyos-1x-235aa6098fef3b398505835acbf42d4723b22d49.tar.gz
vyos-1x-235aa6098fef3b398505835acbf42d4723b22d49.zip
smoketest: vrrp: delete VLAN interfaces in tearDown()
(cherry picked from commit 3fb6f5a966c57cb0936b35c13655f0b3f36483c4)
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_ha_vrrp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_ha_vrrp.py b/smoketest/scripts/cli/test_ha_vrrp.py
index 2524bf2b1..c14eea015 100755
--- a/smoketest/scripts/cli/test_ha_vrrp.py
+++ b/smoketest/scripts/cli/test_ha_vrrp.py
@@ -44,7 +44,7 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase):
for group in groups:
vlan_id = group.lstrip('VLAN')
- self.cli_set(['interfaces', 'ethernet', vrrp_interface, 'vif', vlan_id])
+ self.cli_delete(['interfaces', 'ethernet', vrrp_interface, 'vif', vlan_id])
self.cli_delete(base_path)
self.cli_commit()