summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-29 10:01:47 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-29 10:01:47 -0700
commit5dd7c609b10fb7634b59e8c581b8f832f65c9860 (patch)
treef6931e749a064e1f5c831d5456cd642f83d1823c
parent9488f3c64e0c29ce22631fae3f22ffb73b8349cb (diff)
downloadvyatta-cfg-qos-5dd7c609b10fb7634b59e8c581b8f832f65c9860.tar.gz
vyatta-cfg-qos-5dd7c609b10fb7634b59e8c581b8f832f65c9860.zip
Need to require network delay
Packet reordering doesn't work unless there are packets in the queue, and no packets are held unless there is a delay.
-rw-r--r--templates/qos-policy/network-emulator/node.tag/packet-reordering/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/qos-policy/network-emulator/node.tag/packet-reordering/node.def b/templates/qos-policy/network-emulator/node.tag/packet-reordering/node.def
index 5eb7261..278d4a5 100644
--- a/templates/qos-policy/network-emulator/node.tag/packet-reordering/node.def
+++ b/templates/qos-policy/network-emulator/node.tag/packet-reordering/node.def
@@ -1,6 +1,8 @@
type: txt
help: Set emulated packet reordering percentage
syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --percent \"$VAR(@)\""
+commit:expression: $VAR(../network-delay) != "" ; \
+ "Must specify network-delay for packet reordering"
comp_help: Allowed values:
<number>%% Percentage of packets affected