summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-10 18:12:54 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-10 18:12:54 -0800
commit1f3727b1c665c5a22e6d461b052f0c2ffc76d810 (patch)
tree8d7998603c93e3c8fe5c5a3640be6795db6ca79b /templates
parenteacbdd4f0b986b9598cf7f5b38dcac01aabbdab3 (diff)
downloadvyatta-cfg-qos-1f3727b1c665c5a22e6d461b052f0c2ffc76d810.tar.gz
vyatta-cfg-qos-1f3727b1c665c5a22e6d461b052f0c2ffc76d810.zip
Change input rate limiting to use token bucket
There are two ways to input rate limit. One uses the generic rate estimator which is supposed to measure average rate, the other is to use a token bucket based packet counter. Well the generic rate estimator doesn't work correctly in current kernels (no effect), so switch to using rate and burst. Bugfix 3881
Diffstat (limited to 'templates')
-rw-r--r--templates/qos-policy/traffic-limiter/node.tag/class/node.tag/burst/node.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/qos-policy/traffic-limiter/node.tag/class/node.tag/burst/node.def b/templates/qos-policy/traffic-limiter/node.tag/class/node.tag/burst/node.def
new file mode 100644
index 0000000..54ae4f3
--- /dev/null
+++ b/templates/qos-policy/traffic-limiter/node.tag/class/node.tag/burst/node.def
@@ -0,0 +1,7 @@
+type: txt
+help: Set the burst size for this class (default: 15kb)
+default: "15k"
+syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --burst \"$VAR(@)\""
+comp_help: Allowed values:
+ <number> Burst size in bytes
+ <number><suffix> Size with scaling suffix (kb, mb, gb)