From b36abb0e1ec751799497d32bacb10187f00259f6 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Wed, 21 May 2014 23:46:36 +0900 Subject: Update shaping rate help --- templates/traffic-policy/shaper/node.tag/bandwidth/node.def | 5 ++++- .../shaper/node.tag/class/node.tag/bandwidth/node.def | 7 +++++-- .../traffic-policy/shaper/node.tag/class/node.tag/ceiling/node.def | 7 +++++-- .../traffic-policy/shaper/node.tag/default/bandwidth/node.def | 7 +++++-- templates/traffic-policy/shaper/node.tag/default/ceiling/node.def | 7 +++++-- 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: ; Rate in k (1000) bytes per second -val_help: ; Rate with scaling suffix (mbit, mbps, ...) +val_help: bit; bit(1), kbit(10^3), mbit(10^6), gbit, tbit +val_help: ibit; kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4) +val_help: ibps; kibps(1024*8), mibps(1024^2*8), gibps, tibps *Byte/sec* +val_help: 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: ; Bandwidth in Kbps +val_help: ; Bandwidth in Kbps(10^3 bits per second) val_help: %%; Percentage of overall rate (default 100%%) -val_help: ; Value with scaling suffix (kbit, kbps, ...) +val_help: bit; bit(1), kbit(10^3), mbit(10^6), gbit, tbit +val_help: ibit; kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4) +val_help: ibps; kibps(1024*8), mibps(1024^2*8), gibps, tibps *Byte/sec* +val_help: 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: ; Bandwidth in Kbps +val_help: ; Bandwidth in Kbps(10^3 bits per second) val_help: %%; Percentage of overall rate (default 100%%) -val_help: ; Value with scaling suffix (kbit, kbps, ...) +val_help: bit; bit(1), kbit(10^3), mbit(10^6), gbit, tbit +val_help: ibit; kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4) +val_help: ibps; kibps(1024*8), mibps(1024^2*8), gibps, tibps *Byte/sec* +val_help: 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: ; Bandwidth in Kbps +val_help: ; Bandwidth in Kbps(10^3 bits per second) val_help: %%; Percentage of overall rate (default 100%%) -val_help: ; Value with scaling suffix (kbit, kbps, ...) +val_help: bit; bit(1), kbit(10^3), mbit(10^6), gbit, tbit +val_help: ibit; kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4) +val_help: ibps; kibps(1024*8), mibps(1024^2*8), gibps, tibps *Byte/sec* +val_help: 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: ; Bandwidth in Kbps +val_help: ; Bandwidth in Kbps(10^3 bits per second) val_help: %%; Percentage of overall rate (default 100%%) -val_help: ; Value with scaling suffix (kbit, kbps, ...) +val_help: bit; bit(1), kbit(10^3), mbit(10^6), gbit, tbit +val_help: ibit; kibit(1024), mibit(1024^2), gibit(1024^3), tbit(1024^4) +val_help: ibps; kibps(1024*8), mibps(1024^2*8), gibps, tibps *Byte/sec* +val_help: bps; bps(8),kbps(8*10^3),mbps(8*10^6), gbps, tbps *Byte/sec* -- cgit v1.2.3