summaryrefslogtreecommitdiff
path: root/templates/qos-policy/rate-limit
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-01 15:25:21 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-01 15:25:21 -0700
commitf3b45e56dd88d41b294c663e82f9684d53f0acb9 (patch)
treed9074c64f13b31894f04d74d0df83fa23e38a8ba /templates/qos-policy/rate-limit
parenta193407dbe85242b7afa0f2bc2ab1bceb1d6cb53 (diff)
downloadvyatta-cfg-qos-f3b45e56dd88d41b294c663e82f9684d53f0acb9.tar.gz
vyatta-cfg-qos-f3b45e56dd88d41b294c663e82f9684d53f0acb9.zip
Fix more places where VAR is quoted
CLI quoting in expressions seems to have changed, so adapt. Bug 4485
Diffstat (limited to 'templates/qos-policy/rate-limit')
-rw-r--r--templates/qos-policy/rate-limit/node.tag/bandwidth/node.def2
-rw-r--r--templates/qos-policy/rate-limit/node.tag/burst/node.def2
-rw-r--r--templates/qos-policy/rate-limit/node.tag/latency/node.def2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/qos-policy/rate-limit/node.tag/bandwidth/node.def b/templates/qos-policy/rate-limit/node.tag/bandwidth/node.def
index 3e48fd3..db8ca65 100644
--- a/templates/qos-policy/rate-limit/node.tag/bandwidth/node.def
+++ b/templates/qos-policy/rate-limit/node.tag/bandwidth/node.def
@@ -1,6 +1,6 @@
type: txt
help: Set the bandwidth limit
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate \"$VAR(@)\""
+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
diff --git a/templates/qos-policy/rate-limit/node.tag/burst/node.def b/templates/qos-policy/rate-limit/node.tag/burst/node.def
index 56174bb..4df45de 100644
--- a/templates/qos-policy/rate-limit/node.tag/burst/node.def
+++ b/templates/qos-policy/rate-limit/node.tag/burst/node.def
@@ -1,7 +1,7 @@
type: txt
help: Set the burst size
default: "15k"
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --burst \"$VAR(@)\""
+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-limit/node.tag/latency/node.def b/templates/qos-policy/rate-limit/node.tag/latency/node.def
index 486bfa3..bef5491 100644
--- a/templates/qos-policy/rate-limit/node.tag/latency/node.def
+++ b/templates/qos-policy/rate-limit/node.tag/latency/node.def
@@ -1,5 +1,5 @@
type: txt
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --time \"$VAR(@)\""
+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