summaryrefslogtreecommitdiff
path: root/smoketest/scripts
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:18:58 +0100
commit5b83fc25f13164eb948d4749bf744aaa6c6d3fb7 (patch)
treef40fb7d3994bba0ab0d6cba19865e41a8f4a432a /smoketest/scripts
parent2ad3660223480b4c9a0ee0bd8b51a34ca2ea9910 (diff)
downloadvyos-1x-5b83fc25f13164eb948d4749bf744aaa6c6d3fb7.tar.gz
vyos-1x-5b83fc25f13164eb948d4749bf744aaa6c6d3fb7.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. (cherry picked from commit 00d3ba7c7bc2f16a0a029d5f1be964bcd3c45fd9)
Diffstat (limited to 'smoketest/scripts')
-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])