summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2023-01-01 22:06:12 +0100
committerChristian Poessinger <christian@poessinger.com>2023-01-01 22:06:12 +0100
commit6af6482f5ab5040696635aa3f581427fb638fd1e (patch)
tree40e9958183126704fe522f7e0dcc2725c063d658 /smoketest
parent6574b0dd5a5c7616ac4b17619d5f2c29a691616d (diff)
downloadvyos-1x-6af6482f5ab5040696635aa3f581427fb638fd1e.tar.gz
vyos-1x-6af6482f5ab5040696635aa3f581427fb638fd1e.zip
qos: T4284: migrate percentaged bandwidth to absolute value in bit/s
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/configs/qos-basic9
1 files changed, 9 insertions, 0 deletions
diff --git a/smoketest/configs/qos-basic b/smoketest/configs/qos-basic
index f94a5650d..96fa7bef4 100644
--- a/smoketest/configs/qos-basic
+++ b/smoketest/configs/qos-basic
@@ -16,6 +16,11 @@ interfaces {
traffic-policy {
out MY-HTB
}
+ vif 200 {
+ traffic-policy {
+ out foo-emulate
+ }
+ }
}
loopback lo {
}
@@ -198,6 +203,10 @@ traffic-policy {
queue-type fair-queue
}
}
+ network-emulator foo-emulate {
+ bandwidth 300mbit
+ burst 20000
+ }
}
// Warning: Do not remove the following line.
// vyos-config-version: "broadcast-relay@1:cluster@1:config-management@1:conntrack@3:conntrack-sync@2:dhcp-relay@2:dhcp-server@6:dhcpv6-server@1:dns-forwarding@3:firewall@5:https@2:interfaces@22:ipoe-server@1:ipsec@5:isis@1:l2tp@3:lldp@1:mdns@1:nat@5:ntp@1:pppoe-server@5:pptp@2:qos@1:quagga@8:rpki@1:salt@1:snmp@2:ssh@2:sstp@3:system@21:vrrp@2:vyos-accel-ppp@2:wanloadbalance@3:webproxy@2:zone-policy@1"