summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-02-13 15:06:31 +0000
committerGitHub <noreply@github.com>2023-02-13 15:06:31 +0000
commit9c481b00cae8ed1d121c809fb5edc24a937525e9 (patch)
treec3d2d985b6053bb2f4f5a621fd834bc138495052 /smoketest/scripts
parente7d80294ca5ab3c323c2f16702777724ee5fa121 (diff)
parent8c98ceeee57d062969456d1848b952ed9a3dd7fb (diff)
downloadvyos-1x-9c481b00cae8ed1d121c809fb5edc24a937525e9.tar.gz
vyos-1x-9c481b00cae8ed1d121c809fb5edc24a937525e9.zip
Merge pull request #1812 from sever-sever/T1993-eq
T1993: PPPoE-server add section shaper and fwmark option
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_service_pppoe-server.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_pppoe-server.py b/smoketest/scripts/cli/test_service_pppoe-server.py
index 21d1028ce..e5acff265 100755
--- a/smoketest/scripts/cli/test_service_pppoe-server.py
+++ b/smoketest/scripts/cli/test_service_pppoe-server.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2020 VyOS maintainers and contributors
+# Copyright (C) 2020-2023 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -147,6 +147,8 @@ class TestServicePPPoEServer(BasicAccelPPPTest.TestCase):
self.basic_config()
subnet = '172.18.0.0/24'
+ fwmark = '223'
+ limiter = 'htb'
self.set(['client-ip-pool', 'subnet', subnet])
start = '192.0.2.10'
@@ -155,6 +157,7 @@ class TestServicePPPoEServer(BasicAccelPPPTest.TestCase):
start_stop = f'{start}-{stop_octet}'
self.set(['client-ip-pool', 'start', start])
self.set(['client-ip-pool', 'stop', stop])
+ self.set(['shaper', 'fwmark', fwmark])
# commit changes
self.cli_commit()