diff options
author | Christian Breunig <christian@breunig.cc> | 2023-02-11 08:31:53 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-02-11 08:32:19 +0100 |
commit | 4a4b25cba424347e2d114b37b079c31441fc011e (patch) | |
tree | 05a5b60167156d21124edd9839ca54880c330534 /smoketest/configs | |
parent | 847434e1e34ea66c41a0c77ff22321452fbe5f7b (diff) | |
download | vyos-1x-4a4b25cba424347e2d114b37b079c31441fc011e.tar.gz vyos-1x-4a4b25cba424347e2d114b37b079c31441fc011e.zip |
qos: T4284: migration script must ensure bandwidth is converted to lower case
tc acccepts the bandwidth value/unit pairs as lowercase - so does the VyOS CLI
validator work, too.
Diffstat (limited to 'smoketest/configs')
-rw-r--r-- | smoketest/configs/qos-basic | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/smoketest/configs/qos-basic b/smoketest/configs/qos-basic index c279cbf67..65a888d38 100644 --- a/smoketest/configs/qos-basic +++ b/smoketest/configs/qos-basic @@ -8,7 +8,7 @@ interfaces { ethernet eth1 { address 10.2.1.1/24 traffic-policy { - out M2 + out ISPC } } ethernet eth2 { @@ -74,25 +74,15 @@ system { } } traffic-policy { - shaper M2 { - bandwidth auto - class 10 { - bandwidth 100% - burst 15k - match ssh4 { - ip { - destination { - port 22 - } - } - } - queue-type fair-queue - } + shaper ISPC { + bandwidth 600Mbit default { - bandwidth 10mbit - burst 15k - queue-type fair-queue + bandwidth 50% + burst 768k + ceiling 100% + queue-type fq-codel } + description "Outbound Traffic Shaper - ISPC" } shaper MY-HTB { bandwidth 10mbit |