diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-22 08:33:45 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-22 08:33:45 +0200 |
commit | 6935c263f5022896e96bec9daa8a5ba29b04b51b (patch) | |
tree | 563801594090ada2ab4124fba521aefda6028bee /smoketest | |
parent | 3114c7ccbdf867f9cdaa436792937b16ea4d85bf (diff) | |
download | vyos-1x-6935c263f5022896e96bec9daa8a5ba29b04b51b.tar.gz vyos-1x-6935c263f5022896e96bec9daa8a5ba29b04b51b.zip |
smoketest: vrrp: delete interface vifs after test
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_ha_vrrp.py | 4 |
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 4a743fe5e..bbf24095b 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() |