diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-04-13 11:31:31 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2009-04-13 11:31:31 -0700 |
commit | 7fb402fcd390b302f60ecf66bf4ed9d72de79214 (patch) | |
tree | 9f279cc0acb756a0465f299835789a0b74c59ba8 /templates/qos-policy/round-robin/node.def | |
parent | edd48273398ba5bf16e9a3233df3429d53cdcc40 (diff) | |
download | vyatta-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.def | 8 |
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(@)" |