diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-24 08:27:30 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-10-24 08:27:30 -0700 |
commit | 3b79cbb3a3a97a6cde1a901ea515155ecbcb996d (patch) | |
tree | 35df34229cdb02aa775e34b400039e2a28612bb8 | |
parent | 678eb9f588b8dde7f9ce4f7049728cfc5d627776 (diff) | |
download | vyatta-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.def | 1 | ||||
-rw-r--r-- | templates/interfaces/tunnel/node.tag/qos-policy/out/node.def | 6 |
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(.) |