summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/qos-policy/out/node.def9
-rw-r--r--templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/qos-policy/out/node.def8
-rw-r--r--templates/interfaces/serial/node.tag/ppp/vif/node.tag/qos-policy/out/node.def8
3 files changed, 25 insertions, 0 deletions
diff --git a/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/qos-policy/out/node.def b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/qos-policy/out/node.def
new file mode 100644
index 0000000..f4b7221
--- /dev/null
+++ b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/qos-policy/out/node.def
@@ -0,0 +1,9 @@
+type: txt
+help: Set outbound 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(.) $VAR(@)
+delete: /opt/vyatta/sbin/vyatta-qos.pl \
+ --delete-interface $VAR(../../../../@).$VAR(../../@) $VAR(.)
+
diff --git a/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/qos-policy/out/node.def b/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/qos-policy/out/node.def
new file mode 100644
index 0000000..905c3b5
--- /dev/null
+++ b/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/qos-policy/out/node.def
@@ -0,0 +1,8 @@
+type: txt
+help: Set outbound 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(.) $VAR(@)
+delete: /opt/vyatta/sbin/vyatta-qos.pl \
+ --delete-interface $VAR(../../../../@).$VAR(../../@) $VAR(.)
diff --git a/templates/interfaces/serial/node.tag/ppp/vif/node.tag/qos-policy/out/node.def b/templates/interfaces/serial/node.tag/ppp/vif/node.tag/qos-policy/out/node.def
new file mode 100644
index 0000000..905c3b5
--- /dev/null
+++ b/templates/interfaces/serial/node.tag/ppp/vif/node.tag/qos-policy/out/node.def
@@ -0,0 +1,8 @@
+type: txt
+help: Set outbound 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(.) $VAR(@)
+delete: /opt/vyatta/sbin/vyatta-qos.pl \
+ --delete-interface $VAR(../../../../@).$VAR(../../@) $VAR(.)