summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-08 13:18:14 -0500
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-08 13:18:14 -0500
commit374cd8d8445b23dfc73dceacc0ee9e9212940521 (patch)
treee0b2ad54fa4d8f4784c9995848c5b3dabaed7bca /templates
parentc6c4dc093fdb4f6c6088b7af5682c654e73fbe0a (diff)
downloadvyatta-cfg-qos-374cd8d8445b23dfc73dceacc0ee9e9212940521.tar.gz
vyatta-cfg-qos-374cd8d8445b23dfc73dceacc0ee9e9212940521.zip
allow qos over vlan
Test version
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(.)