diff options
author | Christian Breunig <christian@breunig.cc> | 2023-06-27 20:03:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 20:03:07 +0200 |
commit | 6efdecdaa20359b56d1ff856c9f6f1f736f77a7f (patch) | |
tree | 1cf63b0e4c658079a4de9310ad514d524d7ca8a5 /smoketest/scripts/cli | |
parent | 9c756d5dd20ee059b76a3e8ba2d5602e5a9bbefc (diff) | |
parent | e8ab66da5342579a412de090d827fcb0a0bb0e57 (diff) | |
download | vyos-1x-6efdecdaa20359b56d1ff856c9f6f1f736f77a7f.tar.gz vyos-1x-6efdecdaa20359b56d1ff856c9f6f1f736f77a7f.zip |
Merge pull request #2058 from c-po/vrrp-t5315-backport
vrrp: T5315: add support to explicitly specify version (backport)
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_ha_vrrp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_ha_vrrp.py b/smoketest/scripts/cli/test_ha_vrrp.py index ad272f524..7d8d7c643 100755 --- a/smoketest/scripts/cli/test_ha_vrrp.py +++ b/smoketest/scripts/cli/test_ha_vrrp.py @@ -88,6 +88,7 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase): priority = '123' preempt_delay = '400' startup_delay = '120' + vrrp_version = '3' for group in groups: vlan_id = group.lstrip('VLAN') @@ -114,6 +115,7 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase): # Global parameters self.cli_set(global_param_base + ['startup-delay', f'{startup_delay}']) + self.cli_set(global_param_base + ['version', vrrp_version]) # commit changes self.cli_commit() @@ -121,6 +123,7 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase): # Check Global parameters config = getConfig(f'global_defs') self.assertIn(f'vrrp_startup_delay {startup_delay}', config) + self.assertIn(f'vrrp_version {vrrp_version}', config) for group in groups: vlan_id = group.lstrip('VLAN') |