From 3b79cbb3a3a97a6cde1a901ea515155ecbcb996d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 24 Oct 2008 08:27:30 -0700 Subject: Add support for QoS on tunnels Makes sense to allow QoS on tunnels since they may be rate limited. --- templates/interfaces/tunnel/node.tag/qos-policy/node.def | 1 + templates/interfaces/tunnel/node.tag/qos-policy/out/node.def | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 templates/interfaces/tunnel/node.tag/qos-policy/node.def create mode 100644 templates/interfaces/tunnel/node.tag/qos-policy/out/node.def 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(.) -- cgit v1.2.3