summaryrefslogtreecommitdiff
path: root/templates/traffic-policy/shaper-hfsc/node.tag/bandwidth/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/traffic-policy/shaper-hfsc/node.tag/bandwidth/node.def')
-rw-r--r--templates/traffic-policy/shaper-hfsc/node.tag/bandwidth/node.def12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/traffic-policy/shaper-hfsc/node.tag/bandwidth/node.def b/templates/traffic-policy/shaper-hfsc/node.tag/bandwidth/node.def
new file mode 100644
index 0000000..2812bd0
--- /dev/null
+++ b/templates/traffic-policy/shaper-hfsc/node.tag/bandwidth/node.def
@@ -0,0 +1,12 @@
+type: txt
+help: Available bandwidth for this policy (sc and ul m2 on root qdisc)
+default: "auto"
+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>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*