summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-06 09:10:00 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-06 09:10:00 +0100
commit00d3ba7c7bc2f16a0a029d5f1be964bcd3c45fd9 (patch)
treea048898c71238c86bcb964591dda6ef9a1a678d5 /smoketest
parent4cc8424dc79cef10199720b95ab65bba18b3ba03 (diff)
downloadvyos-1x-00d3ba7c7bc2f16a0a029d5f1be964bcd3c45fd9.tar.gz
vyos-1x-00d3ba7c7bc2f16a0a029d5f1be964bcd3c45fd9.zip
smoketest: pppoe-server: adjust client_ip_pool testcase to latest code fixes
Commit 52ee92b8 ("pppoe: T3386: Fix client ip-pool stop range") fixed the generated client range configuration line for Accel-PPP but missed out altering the testcase, too which validates the generated configuration line.
Diffstat (limited to 'smoketest')
-rwxr-xr-xsmoketest/scripts/cli/test_service_pppoe-server.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_pppoe-server.py b/smoketest/scripts/cli/test_service_pppoe-server.py
index a4bb6e9f9..e8f9facbb 100755
--- a/smoketest/scripts/cli/test_service_pppoe-server.py
+++ b/smoketest/scripts/cli/test_service_pppoe-server.py
@@ -144,7 +144,8 @@ class TestServicePPPoEServer(BasicAccelPPPTest.BaseTest):
start = '192.0.2.10'
stop = '192.0.2.20'
- start_stop = f'{start}-{stop}'
+ stop_octet = stop.split('.')[3]
+ start_stop = f'{start}-{stop_octet}'
self.set(['client-ip-pool', 'start', start])
self.set(['client-ip-pool', 'stop', stop])