summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-04-11 14:41:06 -0700
committerrbalocca <rbalocca@vyatta.com>2008-04-11 14:41:06 -0700
commitb7cfe533b5d0dde7fffc773cad9452a330edd8b7 (patch)
tree620866b848b43f4d29df8c3fb14e6db9477fee9d /templates
parent733014cfc7b2e04caa44d9001549780727b206a4 (diff)
parent5d55f49def2ed0fd5740a4a345b756fce1892553 (diff)
downloadvyatta-cfg-qos-b7cfe533b5d0dde7fffc773cad9452a330edd8b7.tar.gz
vyatta-cfg-qos-b7cfe533b5d0dde7fffc773cad9452a330edd8b7.zip
Merge branch 'glendale' into hollywood
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.def9
2 files changed, 10 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..ba98afa
--- /dev/null
+++ b/templates/interfaces/ethernet/node.tag/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
+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