summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-10-01 15:01:15 +0200
committerChristian Poessinger <christian@poessinger.com>2021-10-01 15:01:15 +0200
commiteab6e6830a566af647d7e1b24197bf945788c3d0 (patch)
tree5889d007313056da5f3da1060ecf4a6ab3537a4c /smoketest/scripts
parent0537e9f7eb6d6a3fadb8b28245a9450821e601ac (diff)
downloadvyos-1x-eab6e6830a566af647d7e1b24197bf945788c3d0.tar.gz
vyos-1x-eab6e6830a566af647d7e1b24197bf945788c3d0.zip
smoketest: vrrp: validate rfc3768-compatibility is not set
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_ha_vrrp.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_ha_vrrp.py b/smoketest/scripts/cli/test_ha_vrrp.py
index 321a3de24..6121e2da6 100755
--- a/smoketest/scripts/cli/test_ha_vrrp.py
+++ b/smoketest/scripts/cli/test_ha_vrrp.py
@@ -81,6 +81,7 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase):
self.assertIn(f'priority 100', config) # default value
self.assertIn(f'advert_int 1', config) # default value
self.assertIn(f'preempt_delay 0', config) # default value
+ self.assertNotIn(f'use_vmac', config)
self.assertIn(f' {vip}', config)
def test_02_simple_options(self):
@@ -158,6 +159,7 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase):
self.assertIn(f'interface {vrrp_interface}.{vlan_id}', config)
self.assertIn(f'virtual_router_id {vlan_id}', config)
+ self.assertNotIn(f'use_vmac', config)
self.assertIn(f' {vip}', config)
config = getConfig(f'vrrp_sync_group {sync_group}')
@@ -166,4 +168,4 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase):
self.assertIn(f'{group}', config)
if __name__ == '__main__':
- unittest.main(verbosity=2, failfast=True)
+ unittest.main(verbosity=2)