diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-09-30 15:16:53 +0200 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-09-30 15:16:53 +0200 |
commit | cd75a9966320ea25402af8afb84fcb44591e1857 (patch) | |
tree | de4e1c6186076d643a19d53c2182aa470f00dd46 /templates | |
parent | c5212b8510ecb480f759ccf3c81184c57c2d6426 (diff) | |
download | vyatta-cfg-qos-cd75a9966320ea25402af8afb84fcb44591e1857.tar.gz vyatta-cfg-qos-cd75a9966320ea25402af8afb84fcb44591e1857.zip |
fair-queue: validate policy on update
Need to check validity on update, not just create
Diffstat (limited to 'templates')
-rw-r--r-- | templates/qos-policy/fair-queue/node.def | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/qos-policy/fair-queue/node.def b/templates/qos-policy/fair-queue/node.def index 306bdf9..aee9aa3 100644 --- a/templates/qos-policy/fair-queue/node.def +++ b/templates/qos-policy/fair-queue/node.def @@ -3,6 +3,5 @@ type: txt help: Set fair queueing policy syntax:expression: pattern $VAR(@) "^[[:alnum:]][-_[:alnum:]]*$" ; "only alpha-numeric policy name allowed" -create: /opt/vyatta/sbin/vyatta-qos.pl --create-policy "$VAR(.)" "$VAR(@)" +update: /opt/vyatta/sbin/vyatta-qos.pl --create-policy "$VAR(.)" "$VAR(@)" delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-policy "$VAR(@)" -update: /opt/vyatta/sbin/vyatta-qos.pl --update-policy "$VAR(.)" "$VAR(@)" |