diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-04-08 13:18:14 -0500 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-04-09 14:44:27 -0500 |
commit | e2da1de0e4d30cd713b35b5b3fc6a81e018a64ff (patch) | |
tree | aaf4abbeef649f00de71673cefc62e38ed8e0536 /templates | |
parent | 374cd8d8445b23dfc73dceacc0ee9e9212940521 (diff) | |
download | vyatta-cfg-qos-e2da1de0e4d30cd713b35b5b3fc6a81e018a64ff.tar.gz vyatta-cfg-qos-e2da1de0e4d30cd713b35b5b3fc6a81e018a64ff.zip |
Allow qos over vlan
Add template and configuration support for QoS policy over vif.
This is covers bug 3137
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/out/node.def | 9 |
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 |