summaryrefslogtreecommitdiff
path: root/templates/qos-policy/round-robin/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-04-13 11:31:31 -0700
committerStephen Hemminger <shemminger@vyatta.com>2009-04-13 11:31:31 -0700
commit7fb402fcd390b302f60ecf66bf4ed9d72de79214 (patch)
tree9f279cc0acb756a0465f299835789a0b74c59ba8 /templates/qos-policy/round-robin/node.def
parentedd48273398ba5bf16e9a3233df3429d53cdcc40 (diff)
downloadvyatta-cfg-qos-7fb402fcd390b302f60ecf66bf4ed9d72de79214.tar.gz
vyatta-cfg-qos-7fb402fcd390b302f60ecf66bf4ed9d72de79214.zip
Add deficit Round-Robin support
Round-robin class based policy
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(@)"