diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-06 09:10:00 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-06 09:18:58 +0100 |
commit | 5b83fc25f13164eb948d4749bf744aaa6c6d3fb7 (patch) | |
tree | f40fb7d3994bba0ab0d6cba19865e41a8f4a432a /smoketest/scripts/cli/test_service_pppoe-server.py | |
parent | 2ad3660223480b4c9a0ee0bd8b51a34ca2ea9910 (diff) | |
download | vyos-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/cli/test_service_pppoe-server.py')
-rwxr-xr-x | smoketest/scripts/cli/test_service_pppoe-server.py | 3 |
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]) |