diff options
author | currite <sll@disroot.org> | 2020-06-25 02:08:23 +0200 |
---|---|---|
committer | currite <sll@disroot.org> | 2020-06-29 19:47:28 +0200 |
commit | f4317464e69bc9e6156d5734c3c65c24f6667dd0 (patch) | |
tree | 05ce479855df2197860cbc7b131c412c2be8990f | |
parent | 755c57f7d31b16b1e78d4ca4036947453be68e4f (diff) | |
download | vyatta-cfg-qos-f4317464e69bc9e6156d5734c3c65c24f6667dd0.tar.gz vyatta-cfg-qos-f4317464e69bc9e6156d5734c3c65c24f6667dd0.zip |
qos: T2572: fix default tc units
Fix every wrong default unit in rates for Limiter, Network Emulator, Rate Control,
Shaper and Shaper HFSC.
Delete default unit help for Random Detect.
(cherry picked from commit b44a95e70057d7ffbe0991449d901ade71b83e04)
21 files changed, 20 insertions, 21 deletions
diff --git a/templates/traffic-policy/limiter/node.tag/class/node.tag/bandwidth/node.def b/templates/traffic-policy/limiter/node.tag/class/node.tag/bandwidth/node.def index 1e1f95b..f5ea405 100644 --- a/templates/traffic-policy/limiter/node.tag/class/node.tag/bandwidth/node.def +++ b/templates/traffic-policy/limiter/node.tag/class/node.tag/bandwidth/node.def @@ -2,5 +2,5 @@ type: txt help: Traffic-limit used for this class [REQUIRED] syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" -val_help: <number>; Rate in k (1000) bytes per second +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number><suffix>; Rate with scaling suffix (mbit, mbps, ...) diff --git a/templates/traffic-policy/limiter/node.tag/default/bandwidth/node.def b/templates/traffic-policy/limiter/node.tag/default/bandwidth/node.def index 59cb0f1..b494d87 100644 --- a/templates/traffic-policy/limiter/node.tag/default/bandwidth/node.def +++ b/templates/traffic-policy/limiter/node.tag/default/bandwidth/node.def @@ -2,5 +2,5 @@ type: txt help: Traffic-limit used for this class syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" -val_help: <number>; Rate in k (1000) bytes per second +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number><suffix>; Rate with scaling suffix (mbit, mbps, ...) diff --git a/templates/traffic-policy/network-emulator/node.tag/bandwidth/node.def b/templates/traffic-policy/network-emulator/node.tag/bandwidth/node.def index 7f08b01..7e874aa 100644 --- a/templates/traffic-policy/network-emulator/node.tag/bandwidth/node.def +++ b/templates/traffic-policy/network-emulator/node.tag/bandwidth/node.def @@ -2,5 +2,5 @@ type: txt help: Bandwidth limit syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" -val_help: <number>; Rate in k (1000) bytes per second +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number><suffix>; Rate with scaling suffix (mbit, mbps, ...) diff --git a/templates/traffic-policy/random-detect/node.tag/bandwidth/node.def b/templates/traffic-policy/random-detect/node.tag/bandwidth/node.def index 88ac488..abf2d00 100644 --- a/templates/traffic-policy/random-detect/node.tag/bandwidth/node.def +++ b/templates/traffic-policy/random-detect/node.tag/bandwidth/node.def @@ -4,5 +4,4 @@ default: "auto" syntax:expression: $VAR(@) == "auto" || \ exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" val_help: auto; Rate based on interface speed (default) -val_help: <number>; Rate in k (1000) bytes per second val_help: <number><suffix>; Rate with scaling suffix (mbit, mbps, ...) diff --git a/templates/traffic-policy/rate-control/node.tag/bandwidth/node.def b/templates/traffic-policy/rate-control/node.tag/bandwidth/node.def index 7f08b01..7e874aa 100644 --- a/templates/traffic-policy/rate-control/node.tag/bandwidth/node.def +++ b/templates/traffic-policy/rate-control/node.tag/bandwidth/node.def @@ -2,5 +2,5 @@ type: txt help: Bandwidth limit syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" -val_help: <number>; Rate in k (1000) bytes per second +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number><suffix>; Rate with scaling suffix (mbit, mbps, ...) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/bandwidth/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/bandwidth/node.def index 2812bd0..d4f4bca 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/bandwidth/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/bandwidth/node.def @@ -5,7 +5,7 @@ syntax:expression: $VAR(@) == "auto" || \ exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" val_help: auto; Rate matches interface speed (default) -val_help: <number>; Rate in k (1000) bytes per second +val_help: <number>; Rate in kbit (kilobit per second) 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* diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/linkshare/m1/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/linkshare/m1/node.def index 5042d96..ddbfff3 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/linkshare/m1/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/linkshare/m1/node.def @@ -2,7 +2,7 @@ type: txt help: Linkshare m1 parameter for class traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/linkshare/m2/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/linkshare/m2/node.def index e3fbe2b..333a4a5 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/linkshare/m2/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/linkshare/m2/node.def @@ -2,7 +2,7 @@ type: txt help: Linkshare m2 traffic for class traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/realtime/m1/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/realtime/m1/node.def index 05f56ff..ab56171 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/realtime/m1/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/realtime/m1/node.def @@ -2,7 +2,7 @@ type: txt help: Realtime m1 traffic for class traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/realtime/m2/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/realtime/m2/node.def index 7895416..b6b191c 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/realtime/m2/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/realtime/m2/node.def @@ -2,7 +2,7 @@ type: txt help: Realtime m2 traffic for class traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/upperlimit/m1/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/upperlimit/m1/node.def index 8c72edf..9b41deb 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/upperlimit/m1/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/upperlimit/m1/node.def @@ -2,7 +2,7 @@ type: txt help: Upperlimit m1 traffic for class traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/upperlimit/m2/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/upperlimit/m2/node.def index 886e8db..6c1692c 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/upperlimit/m2/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/class/node.tag/upperlimit/m2/node.def @@ -2,7 +2,7 @@ type: txt help: Upperlimit m2 traffic for class traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/default/linkshare/m1/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/default/linkshare/m1/node.def index ab9048e..7fd112e 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/default/linkshare/m1/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/default/linkshare/m1/node.def @@ -2,7 +2,7 @@ type: txt help: Linkshare m1 parameter for default traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/default/linkshare/m2/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/default/linkshare/m2/node.def index 45c3cdc..7392093 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/default/linkshare/m2/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/default/linkshare/m2/node.def @@ -2,7 +2,7 @@ type: txt help: Linkshare m2 parameter for default queue syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/default/realtime/m1/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/default/realtime/m1/node.def index b9d4807..2e46014 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/default/realtime/m1/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/default/realtime/m1/node.def @@ -2,7 +2,7 @@ type: txt help: Realtime m1 parameter for default traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/default/realtime/m2/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/default/realtime/m2/node.def index 6d320ce..38f80a6 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/default/realtime/m2/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/default/realtime/m2/node.def @@ -2,7 +2,7 @@ type: txt help: Realtime m2 parameter default traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/default/upperlimit/m1/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/default/upperlimit/m1/node.def index fe85bd4..4a85072 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/default/upperlimit/m1/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/default/upperlimit/m1/node.def @@ -2,7 +2,7 @@ type: txt help: Upperlimit m1 parameter for default traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/default/upperlimit/m2/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/default/upperlimit/m2/node.def index e90e303..d5a6cdc 100644 --- a/templates/traffic-policy/shaper-hfsc/node.tag/default/upperlimit/m2/node.def +++ b/templates/traffic-policy/shaper-hfsc/node.tag/default/upperlimit/m2/node.def @@ -2,7 +2,7 @@ type: txt help: Upperlimit m2 parameter for default traffic syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent-or-rate $VAR(@)" -val_help: <number>; Bandwidth in Kbps(10^3 bits per second) +val_help: <number>; Rate in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) diff --git a/templates/traffic-policy/shaper/node.tag/bandwidth/node.def b/templates/traffic-policy/shaper/node.tag/bandwidth/node.def index 5372e20..04ea997 100644 --- a/templates/traffic-policy/shaper/node.tag/bandwidth/node.def +++ b/templates/traffic-policy/shaper/node.tag/bandwidth/node.def @@ -5,7 +5,7 @@ syntax:expression: $VAR(@) == "auto" || \ exec "/opt/vyatta/sbin/vyatta-qos-util.pl --rate $VAR(@)" val_help: auto; Rate matches interface speed (default) -val_help: <number>; Rate in k (1000) bytes per second +val_help: <number>; Rate in kbit (kilobit per second) 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* 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 30cb80a..d643baf 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,7 +2,7 @@ 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(10^3 bits per second) +val_help: <number>; Bandwidth in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) 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 10f981f..369249f 100644 --- a/templates/traffic-policy/shaper/node.tag/default/bandwidth/node.def +++ b/templates/traffic-policy/shaper/node.tag/default/bandwidth/node.def @@ -2,7 +2,7 @@ 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(10^3 bits per second) +val_help: <number>; Bandwidth in kbit (kilobit per second) val_help: <number>%%; Percentage of overall rate (default 100%%) 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) |