summaryrefslogtreecommitdiff
path: root/templates/qos-policy/priority-queue/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-04-13 11:33:32 -0700
committerStephen Hemminger <shemminger@vyatta.com>2009-04-13 11:33:32 -0700
commit5ffdd07788770e5431fb839d77d4a530c8166fb6 (patch)
treefbe4ee1c4f55fd2117eeea3255796b7e9bcb31d7 /templates/qos-policy/priority-queue/node.def
parent7fb402fcd390b302f60ecf66bf4ed9d72de79214 (diff)
downloadvyatta-cfg-qos-5ffdd07788770e5431fb839d77d4a530c8166fb6.tar.gz
vyatta-cfg-qos-5ffdd07788770e5431fb839d77d4a530c8166fb6.zip
Add priority policy support
New policy allowing strict priority traffic assignment
Diffstat (limited to 'templates/qos-policy/priority-queue/node.def')
-rw-r--r--templates/qos-policy/priority-queue/node.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/qos-policy/priority-queue/node.def b/templates/qos-policy/priority-queue/node.def
new file mode 100644
index 0000000..21f04d9
--- /dev/null
+++ b/templates/qos-policy/priority-queue/node.def
@@ -0,0 +1,8 @@
+tag:
+type: txt
+help: Set priority-queue policy
+syntax:expression: pattern $VAR(@) "^[[:alnum:]][-_[:alnum:]]*$"
+ ; "only alpha-numeric policy name allowed"
+create: /opt/vyatta/sbin/vyatta-qos.pl --create-policy "$VAR(.)" "$VAR(@)"
+delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-policy "$VAR(@)"
+end: /opt/vyatta/sbin/vyatta-qos.pl --apply-policy "$VAR(@)"