summaryrefslogtreecommitdiff
path: root/templates/qos-policy/round-robin/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-13 11:58:04 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-13 11:58:04 -0700
commit319605ef2d6f1c9a0977b928bf6340adb33a4251 (patch)
tree10fd6de2abdd83a55e7fce9652c7ef36848d62da /templates/qos-policy/round-robin/node.def
parentacdb535d64c08d3169ea1c481f25f7c90bafe404 (diff)
parent5ffdd07788770e5431fb839d77d4a530c8166fb6 (diff)
downloadvyatta-cfg-qos-319605ef2d6f1c9a0977b928bf6340adb33a4251.tar.gz
vyatta-cfg-qos-319605ef2d6f1c9a0977b928bf6340adb33a4251.zip
Merge branch 'jenner' of 192.168.1.9:git/qos into jenner
Diffstat (limited to 'templates/qos-policy/round-robin/node.def')
-rw-r--r--templates/qos-policy/round-robin/node.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/qos-policy/round-robin/node.def b/templates/qos-policy/round-robin/node.def
new file mode 100644
index 0000000..daf795a
--- /dev/null
+++ b/templates/qos-policy/round-robin/node.def
@@ -0,0 +1,8 @@
+tag:
+type: txt
+help: Set deficit round robin based 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(@)"