summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2024-03-25 18:31:25 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2024-03-25 18:31:25 +0000
commit98f923bd0f4dd66db5c89f38f9aa3c13ba23edcd (patch)
tree4f39d56d94d0858570b95348ab4fc19573e3b810 /smoketest/scripts
parent7c0be25eea90cf9324e421b6c2dfda9bda2ecb7e (diff)
downloadvyos-1x-98f923bd0f4dd66db5c89f38f9aa3c13ba23edcd.tar.gz
vyos-1x-98f923bd0f4dd66db5c89f38f9aa3c13ba23edcd.zip
T6171: migrate <set service dhcp-server failover> to <set service dhcp-server high-availability>.
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_service_dhcp-server.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/smoketest/scripts/cli/test_service_dhcp-server.py b/smoketest/scripts/cli/test_service_dhcp-server.py
index b582a2108..24bd14af2 100755
--- a/smoketest/scripts/cli/test_service_dhcp-server.py
+++ b/smoketest/scripts/cli/test_service_dhcp-server.py
@@ -673,7 +673,7 @@ class TestServiceDHCPServer(VyOSUnitTestSHIM.TestCase):
# Check for running process
self.assertTrue(process_named_running(PROCESS_NAME))
- def test_dhcp_failover(self):
+ def test_dhcp_high_availability(self):
shared_net_name = 'FAILOVER'
failover_name = 'VyOS-Failover'
@@ -695,10 +695,10 @@ class TestServiceDHCPServer(VyOSUnitTestSHIM.TestCase):
failover_local = router
failover_remote = inc_ip(router, 1)
- self.cli_set(base_path + ['failover', 'source-address', failover_local])
- self.cli_set(base_path + ['failover', 'name', failover_name])
- self.cli_set(base_path + ['failover', 'remote', failover_remote])
- self.cli_set(base_path + ['failover', 'status', 'primary'])
+ self.cli_set(base_path + ['high-availability', 'source-address', failover_local])
+ self.cli_set(base_path + ['high-availability', 'name', failover_name])
+ self.cli_set(base_path + ['high-availability', 'remote', failover_remote])
+ self.cli_set(base_path + ['high-availability', 'status', 'primary'])
# commit changes
self.cli_commit()