summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroyuki Sato <hiroysato@gmail.com>2014-05-21 23:46:36 +0900
committerHiroyuki Sato <hiroysato@gmail.com>2014-05-21 23:46:36 +0900
commitb36abb0e1ec751799497d32bacb10187f00259f6 (patch)
treea1e7b7304408e7d1cd45db514627d9e39090c9a5
parent01edcf637772ae4e29acd230170fffe96575bc97 (diff)
downloadvyatta-cfg-qos-b36abb0e1ec751799497d32bacb10187f00259f6.tar.gz
vyatta-cfg-qos-b36abb0e1ec751799497d32bacb10187f00259f6.zip
Update shaping rate help
-rw-r--r--templates/traffic-policy/shaper/node.tag/bandwidth/node.def5
-rw-r--r--templates/traffic-policy/shaper/node.tag/class/node.tag/bandwidth/node.def7
-rw-r--r--templates/traffic-policy/shaper/node.tag/class/node.tag/ceiling/node.def7
-rw-r--r--templates/traffic-policy/shaper/node.tag/default/bandwidth/node.def7
-rw-r--r--templates/traffic-policy/shaper/node.tag/default/ceiling/node.def7
5 files changed, 24 insertions, 9 deletions
diff --git a/templates/traffic-policy/shaper/node.tag/bandwidth/node.def b/templates/traffic-policy/shaper/node.tag/bandwidth/node.def
index 08384f6..5372e20 100644
--- a/templates/traffic-policy/shaper/node.tag/bandwidth/node.def
+++ b/templates/traffic-policy/shaper/node.tag/bandwidth/node.def
@@ -6,4 +6,7 @@ syntax:expression: $VAR(@) == "auto" || \
val_help: auto; Rate matches interface speed (default)
val_help: <number>; Rate in k (1000) bytes per second
-val_help: <number><suffix>; Rate with scaling suffix (mbit, mbps, ...)
+val_help: <number>bit; bit(1), kbit(10^3), mbit(10^6), gbit, tbit
+val_help: <number>ibit; kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4)
+val_help: <number>ibps; kibps(1024*8), mibps(1024^2*8), gibps, tibps *Byte/sec*
+val_help: <number>bps; bps(8),kbps(8*10^3),mbps(8*10^6), gbps, tbps *Byte/sec*
diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/bandwidth/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/bandwidth/node.def
index 1bc24c5..30cb80a 100644
--- a/templates/traffic-policy/shaper/node.tag/class/node.tag/bandwidth/node.def
+++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/bandwidth/node.def
@@ -2,6 +2,9 @@ type: txt
default: "100%"
help: Bandwidth used for this class
syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)"
-val_help: <number>; Bandwidth in Kbps
+val_help: <number>; Bandwidth in Kbps(10^3 bits per second)
val_help: <number>%%; Percentage of overall rate (default 100%%)
-val_help: <number><suffix>; Value with scaling suffix (kbit, kbps, ...)
+val_help: <number>bit; bit(1), kbit(10^3), mbit(10^6), gbit, tbit
+val_help: <number>ibit; kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4)
+val_help: <number>ibps; kibps(1024*8), mibps(1024^2*8), gibps, tibps *Byte/sec*
+val_help: <number>bps; bps(8),kbps(8*10^3),mbps(8*10^6), gbps, tbps *Byte/sec*
diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/ceiling/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/ceiling/node.def
index bd3c588..d41303b 100644
--- a/templates/traffic-policy/shaper/node.tag/class/node.tag/ceiling/node.def
+++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/ceiling/node.def
@@ -2,6 +2,9 @@ type: txt
help: Bandwidth limit for this class
syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)"
-val_help: <number>; Bandwidth in Kbps
+val_help: <number>; Bandwidth in Kbps(10^3 bits per second)
val_help: <number>%%; Percentage of overall rate (default 100%%)
-val_help: <number><suffix>; Value with scaling suffix (kbit, kbps, ...)
+val_help: <number>bit; bit(1), kbit(10^3), mbit(10^6), gbit, tbit
+val_help: <number>ibit; kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4)
+val_help: <number>ibps; kibps(1024*8), mibps(1024^2*8), gibps, tibps *Byte/sec*
+val_help: <number>bps; bps(8),kbps(8*10^3),mbps(8*10^6), gbps, tbps *Byte/sec*
diff --git a/templates/traffic-policy/shaper/node.tag/default/bandwidth/node.def b/templates/traffic-policy/shaper/node.tag/default/bandwidth/node.def
index e44dd92..10f981f 100644
--- a/templates/traffic-policy/shaper/node.tag/default/bandwidth/node.def
+++ b/templates/traffic-policy/shaper/node.tag/default/bandwidth/node.def
@@ -2,6 +2,9 @@ type: txt
help: Bandwidth used for default traffic [REQUIRED]
syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate \$VAR(@)"
-val_help: <number>; Bandwidth in Kbps
+val_help: <number>; Bandwidth in Kbps(10^3 bits per second)
val_help: <number>%%; Percentage of overall rate (default 100%%)
-val_help: <number><suffix>; Value with scaling suffix (kbit, kbps, ...)
+val_help: <number>bit; bit(1), kbit(10^3), mbit(10^6), gbit, tbit
+val_help: <number>ibit; kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4)
+val_help: <number>ibps; kibps(1024*8), mibps(1024^2*8), gibps, tibps *Byte/sec*
+val_help: <number>bps; bps(8),kbps(8*10^3),mbps(8*10^6), gbps, tbps *Byte/sec*
diff --git a/templates/traffic-policy/shaper/node.tag/default/ceiling/node.def b/templates/traffic-policy/shaper/node.tag/default/ceiling/node.def
index b4d9caf..ae7fdbc 100644
--- a/templates/traffic-policy/shaper/node.tag/default/ceiling/node.def
+++ b/templates/traffic-policy/shaper/node.tag/default/ceiling/node.def
@@ -2,6 +2,9 @@ type: txt
help: Bandwidth limit for default traffic
syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)"
-val_help: <number>; Bandwidth in Kbps
+val_help: <number>; Bandwidth in Kbps(10^3 bits per second)
val_help: <number>%%; Percentage of overall rate (default 100%%)
-val_help: <number><suffix>; Value with scaling suffix (kbit, kbps, ...)
+val_help: <number>bit; bit(1), kbit(10^3), mbit(10^6), gbit, tbit
+val_help: <number>ibit; kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4)
+val_help: <number>ibps; kibps(1024*8), mibps(1024^2*8), gibps, tibps *Byte/sec*
+val_help: <number>bps; bps(8),kbps(8*10^3),mbps(8*10^6), gbps, tbps *Byte/sec*