diff options
author | aapostoliuk <a.apostoliuk@vyos.io> | 2023-12-27 12:36:22 +0200 |
---|---|---|
committer | aapostoliuk <a.apostoliuk@vyos.io> | 2023-12-27 12:36:22 +0200 |
commit | 714a6b1dd5e4de6c85911fa64f4b5f37b44979cf (patch) | |
tree | cfc87a7308332b4989f469e747140428f4acdc13 /smoketest/scripts/cli/test_service_ipoe-server.py | |
parent | b86f13a1e41513c929acffdb693b358b42b234af (diff) | |
download | vyos-1x-714a6b1dd5e4de6c85911fa64f4b5f37b44979cf.tar.gz vyos-1x-714a6b1dd5e4de6c85911fa64f4b5f37b44979cf.zip |
T5859: Fixed format of pool range in the accel-ppp config
Fixed format of ipv4 pool range from 'x.x.x.x-x.x.x.y'
to 'x.x.x.x-y'
Diffstat (limited to 'smoketest/scripts/cli/test_service_ipoe-server.py')
-rwxr-xr-x | smoketest/scripts/cli/test_service_ipoe-server.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_ipoe-server.py b/smoketest/scripts/cli/test_service_ipoe-server.py index 358668e0d..6e95b3bd1 100755 --- a/smoketest/scripts/cli/test_service_ipoe-server.py +++ b/smoketest/scripts/cli/test_service_ipoe-server.py @@ -117,6 +117,7 @@ class TestServiceIPoEServer(BasicAccelPPPTest.TestCase): first_pool = "POOL1" second_pool = "POOL2" range = "192.0.2.10-192.0.2.20" + range_config = "192.0.2.10-20" for gw in gateway: self.set(["gateway-address", gw]) @@ -141,7 +142,7 @@ class TestServiceIPoEServer(BasicAccelPPPTest.TestCase): self.assertIn( f"{first_pool},next={second_pool}", conf["ip-pool"][f"{subnet},name"] ) - self.assertIn(second_pool, conf["ip-pool"][f"{range},name"]) + self.assertIn(second_pool, conf["ip-pool"][f"{range_config},name"]) gw_pool_config_list = conf.get("ip-pool", "gw-ip-address") gw_ipoe_config_list = conf.get(self._protocol_section, "gw-ip-address") |