summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(.)