diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-29 17:23:40 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-29 17:23:40 -0700 |
commit | 4e6e6ff12dd1b3c402717d71f9ee1f8f68545213 (patch) | |
tree | beb517d9c00941372a26d1086ab75a6d698f5e14 /templates/qos-policy/rate-control | |
parent | dab4e6ebfa43ef7b60eaedb2002cc4724c123d52 (diff) | |
download | vyatta-cfg-qos-4e6e6ff12dd1b3c402717d71f9ee1f8f68545213.tar.gz vyatta-cfg-qos-4e6e6ff12dd1b3c402717d71f9ee1f8f68545213.zip |
Rename rate-limiter to rate-control
Bug 4541
Limiting implies packet drop, but this qos-policy
does shaping.
Diffstat (limited to 'templates/qos-policy/rate-control')
5 files changed, 33 insertions, 0 deletions
diff --git a/templates/qos-policy/rate-control/node.def b/templates/qos-policy/rate-control/node.def new file mode 100644 index 0000000..57bf98e --- /dev/null +++ b/templates/qos-policy/rate-control/node.def @@ -0,0 +1,8 @@ +tag: +type: txt +help: Set rate limiting policy +syntax:expression: pattern $VAR(@) "^[[:alnum:]][-_[:alnum:]]*$" + ; "only alpha-numeric policy name allowed" +create: /opt/vyatta/sbin/vyatta-qos.pl --create-policy $VAR(.) $VAR(@) +delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-policy $VAR(@) +end: /opt/vyatta/sbin/vyatta-qos.pl --apply-policy $VAR(@) diff --git a/templates/qos-policy/rate-control/node.tag/bandwidth/node.def b/templates/qos-policy/rate-control/node.tag/bandwidth/node.def new file mode 100644 index 0000000..db8ca65 --- /dev/null +++ b/templates/qos-policy/rate-control/node.tag/bandwidth/node.def @@ -0,0 +1,9 @@ +type: txt +help: Set the bandwidth limit +syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" +comp_help: Allowed values: + <number> Bandwidth in Kbps per second + <number><suffix> Value with scaling suffix + bits per sec (kbit, mbit, gbit) + bytes per sec (kbps, mbps, gbps) + diff --git a/templates/qos-policy/rate-control/node.tag/burst/node.def b/templates/qos-policy/rate-control/node.tag/burst/node.def new file mode 100644 index 0000000..4df45de --- /dev/null +++ b/templates/qos-policy/rate-control/node.tag/burst/node.def @@ -0,0 +1,7 @@ +type: txt +help: Set the burst size +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) diff --git a/templates/qos-policy/rate-control/node.tag/description/node.def b/templates/qos-policy/rate-control/node.tag/description/node.def new file mode 100644 index 0000000..1e8e64f --- /dev/null +++ b/templates/qos-policy/rate-control/node.tag/description/node.def @@ -0,0 +1,2 @@ +type: txt +help: Set description for this queuing policy diff --git a/templates/qos-policy/rate-control/node.tag/latency/node.def b/templates/qos-policy/rate-control/node.tag/latency/node.def new file mode 100644 index 0000000..bef5491 --- /dev/null +++ b/templates/qos-policy/rate-control/node.tag/latency/node.def @@ -0,0 +1,7 @@ +type: txt +syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --time $VAR(@)" +default: "50ms" +help: Set maximum latency +comp_help: Limit on the queue size based on latency + <number> Latency in milliseconds + <number><suffix> Time with suffx (secs, ms, us) |