summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-22 08:33:45 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-22 08:33:53 +0200
commit493773257f0ab3f61c1161b32797d12dc101e299 (patch)
tree4533028145a7ae8cebfbb9bc9de8e1ab9a865755 /smoketest
parent1121bed93cf79b838babf73852a456820b865305 (diff)
downloadvyos-1x-493773257f0ab3f61c1161b32797d12dc101e299.tar.gz
vyos-1x-493773257f0ab3f61c1161b32797d12dc101e299.zip
smoketest: vrrp: delete interface vifs after test
(cherry picked from commit 6935c263f5022896e96bec9daa8a5ba29b04b51b)
Diffstat (limited to 'smoketest')
-rwxr-xr-xsmoketest/scripts/cli/test_ha_vrrp.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_ha_vrrp.py b/smoketest/scripts/cli/test_ha_vrrp.py
index 9c8d26699..321a3de24 100755
--- a/smoketest/scripts/cli/test_ha_vrrp.py
+++ b/smoketest/scripts/cli/test_ha_vrrp.py
@@ -43,6 +43,10 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase):
# Check for running process
self.assertTrue(process_named_running(PROCESS_NAME))
+ for group in groups:
+ vlan_id = group.lstrip('VLAN')
+ self.cli_set(['interfaces', 'ethernet', vrrp_interface, 'vif', vlan_id])
+
self.cli_delete(base_path)
self.cli_commit()