summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/node.def1
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/out/node.def6
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/node.def
new file mode 100644
index 0000000..2c0cf7a
--- /dev/null
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/node.def
@@ -0,0 +1 @@
+help: Configure qos-policy
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/out/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/out/node.def
new file mode 100644
index 0000000..6cfdfc3
--- /dev/null
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/out/node.def
@@ -0,0 +1,6 @@
+type: txt
+help: Set outbound QOS policy
+allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy
+update: sudo ip link set dev $VAR(../../@).$VAR(../@) txqueuelen 100
+ /opt/vyatta/sbin/vyatta-qos.pl --update-interface $VAR(../../@).$VAR(../@) $VAR(.) $VAR(@)
+delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface $VAR(../../@).$VAR(../@) $VAR(.)