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/out/node.def9
1 files changed, 6 insertions, 3 deletions
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
index 6cfdfc3..ba98afa 100644
--- 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
@@ -1,6 +1,9 @@
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(.)
+create: 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(.)
+ sudo ip link set dev $VAR(../../../@).$VAR(../../@) txqueuelen 0