summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue-limit/node.def2
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue-type/node.def10
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue/node.def8
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/default/queue-limit/node.def2
-rw-r--r--templates/qos-policy/traffic-shaper/node.tag/default/queue-type/node.def10
5 files changed, 24 insertions, 8 deletions
diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue-limit/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue-limit/node.def
new file mode 100644
index 0000000..4275b7b
--- /dev/null
+++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue-limit/node.def
@@ -0,0 +1,2 @@
+type: u32
+help: Maximum queue size (packets)
diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue-type/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue-type/node.def
new file mode 100644
index 0000000..295c04c
--- /dev/null
+++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue-type/node.def
@@ -0,0 +1,10 @@
+type: txt
+default: "fair-queue"
+syntax:expression: $VAR(@) in "fair-queue", "priority", "drop-tail", "random-detect"; "Unknown queue-type"
+help: Set the queue type for this class
+comp_help:Possible completions
+ fair-queue\tStochastic Fair Queue (SFQ)
+ drop-tail\tFirst-In-First-Out (FIFO)
+ priority\tPriority queueing based on DSCP
+ random-detect\tRandom Early Detection (RED)
+
diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue/node.def
deleted file mode 100644
index bfe4544..0000000
--- a/templates/qos-policy/traffic-shaper/node.tag/class/node.tag/queue/node.def
+++ /dev/null
@@ -1,8 +0,0 @@
-type: txt
-default: "SFQ"
-syntax:expression: $VAR(@) in "SFQ", "FIFO", "RED"; "Queue must be SFQ, FIFO, or RED"
-help: Set the queue type for this class
-comp_help:Possible completions:
- FIFO Use FIFO queue
- RED Random Exponential Drop - TCP friendly behaviour
- SFQ Use Stochastic Fair Queue - fairness by flow (default)
diff --git a/templates/qos-policy/traffic-shaper/node.tag/default/queue-limit/node.def b/templates/qos-policy/traffic-shaper/node.tag/default/queue-limit/node.def
new file mode 100644
index 0000000..4275b7b
--- /dev/null
+++ b/templates/qos-policy/traffic-shaper/node.tag/default/queue-limit/node.def
@@ -0,0 +1,2 @@
+type: u32
+help: Maximum queue size (packets)
diff --git a/templates/qos-policy/traffic-shaper/node.tag/default/queue-type/node.def b/templates/qos-policy/traffic-shaper/node.tag/default/queue-type/node.def
new file mode 100644
index 0000000..295c04c
--- /dev/null
+++ b/templates/qos-policy/traffic-shaper/node.tag/default/queue-type/node.def
@@ -0,0 +1,10 @@
+type: txt
+default: "fair-queue"
+syntax:expression: $VAR(@) in "fair-queue", "priority", "drop-tail", "random-detect"; "Unknown queue-type"
+help: Set the queue type for this class
+comp_help:Possible completions
+ fair-queue\tStochastic Fair Queue (SFQ)
+ drop-tail\tFirst-In-First-Out (FIFO)
+ priority\tPriority queueing based on DSCP
+ random-detect\tRandom Early Detection (RED)
+