summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-24 12:30:08 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-24 12:30:08 -0700
commit74bdb15b4e321143e4d19583b6c572a4b6ed28f1 (patch)
tree3f26278f06f82b7052e22c72f17d2ad651f596c2
parent3b79cbb3a3a97a6cde1a901ea515155ecbcb996d (diff)
downloadvyatta-cfg-qos-74bdb15b4e321143e4d19583b6c572a4b6ed28f1.tar.gz
vyatta-cfg-qos-74bdb15b4e321143e4d19583b6c572a4b6ed28f1.zip
fix minor qos-policy types
These two policy types didn't get fixed in change over to policy management. Bugfix 3829
-rw-r--r--templates/qos-policy/drop-tail/node.def3
-rw-r--r--templates/qos-policy/rate-limit/node.def3
2 files changed, 2 insertions, 4 deletions
diff --git a/templates/qos-policy/drop-tail/node.def b/templates/qos-policy/drop-tail/node.def
index 980e5c6..4cb2ada 100644
--- a/templates/qos-policy/drop-tail/node.def
+++ b/templates/qos-policy/drop-tail/node.def
@@ -3,6 +3,5 @@ type: txt
help: Set drop tail queue (FIFO) 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(@)"
diff --git a/templates/qos-policy/rate-limit/node.def b/templates/qos-policy/rate-limit/node.def
index 55728a7..85586db 100644
--- a/templates/qos-policy/rate-limit/node.def
+++ b/templates/qos-policy/rate-limit/node.def
@@ -3,6 +3,5 @@ type: txt
help: Set rate limiting 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(@)"