summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-24 08:27:30 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-24 08:27:30 -0700
commit3b79cbb3a3a97a6cde1a901ea515155ecbcb996d (patch)
tree35df34229cdb02aa775e34b400039e2a28612bb8
parent678eb9f588b8dde7f9ce4f7049728cfc5d627776 (diff)
downloadvyatta-cfg-qos-3b79cbb3a3a97a6cde1a901ea515155ecbcb996d.tar.gz
vyatta-cfg-qos-3b79cbb3a3a97a6cde1a901ea515155ecbcb996d.zip
Add support for QoS on tunnels
Makes sense to allow QoS on tunnels since they may be rate limited.
-rw-r--r--templates/interfaces/tunnel/node.tag/qos-policy/node.def1
-rw-r--r--templates/interfaces/tunnel/node.tag/qos-policy/out/node.def6
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/interfaces/tunnel/node.tag/qos-policy/node.def b/templates/interfaces/tunnel/node.tag/qos-policy/node.def
new file mode 100644
index 0000000..f5ae777
--- /dev/null
+++ b/templates/interfaces/tunnel/node.tag/qos-policy/node.def
@@ -0,0 +1 @@
+help: Set the tunnel Quality of Service (QOS) policy
diff --git a/templates/interfaces/tunnel/node.tag/qos-policy/out/node.def b/templates/interfaces/tunnel/node.tag/qos-policy/out/node.def
new file mode 100644
index 0000000..063fe58
--- /dev/null
+++ b/templates/interfaces/tunnel/node.tag/qos-policy/out/node.def
@@ -0,0 +1,6 @@
+type: txt
+help: Set the tunnel QoS policy
+allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out
+create: sudo ip link set dev $VAR(../../../@).$VAR(../../@) txqueuelen 100
+update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface $VAR(../../@) $VAR(.) $VAR(@)
+delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface $VAR(../../@) $VAR(.)