summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-06 11:36:21 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-06 11:36:21 -0800
commit1c7e03dc0c52c03e87487985ed5877be4e52134a (patch)
tree28ad11af90b085b252f2e1d616c543e481a3aac4 /templates
parent92562803d1c3512dac79e48ad10ea49bf6a117d0 (diff)
downloadvyatta-cfg-qos-1c7e03dc0c52c03e87487985ed5877be4e52134a.tar.gz
vyatta-cfg-qos-1c7e03dc0c52c03e87487985ed5877be4e52134a.zip
fix update problems
1. checking for name clash shouldn't see self 2. leftover from rate to bandwidth name change 3. leftover debug message.
Diffstat (limited to 'templates')
-rw-r--r--templates/qos-policy/fair-queue/node.def2
-rw-r--r--templates/qos-policy/traffic-shaper/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/qos-policy/fair-queue/node.def b/templates/qos-policy/fair-queue/node.def
index 3ec844e..ba88e32 100644
--- a/templates/qos-policy/fair-queue/node.def
+++ b/templates/qos-policy/fair-queue/node.def
@@ -1,6 +1,6 @@
tag:
type: txt
help: Configure fair queueing policy
-syntax:expression: exec " /opt/vyatta/sbin/vyatta-qos.pl --validate-name $VAR(@)"
+syntax:expression: exec " /opt/vyatta/sbin/vyatta-qos.pl --validate-name $VAR(../@) $VAR(@)"
update:expression: "/opt/vyatta/sbin/vyatta-qos.pl --update-policy $VAR(../@) $VAR(@)"
delete:expression: "/opt/vyatta/sbin/vyatta-qos.pl --delete-policy $VAR(@)"
diff --git a/templates/qos-policy/traffic-shaper/node.def b/templates/qos-policy/traffic-shaper/node.def
index afb77bd..f8a33f0 100644
--- a/templates/qos-policy/traffic-shaper/node.def
+++ b/templates/qos-policy/traffic-shaper/node.def
@@ -1,6 +1,6 @@
tag:
type: txt
help: Configure traffic shaping based policy
-syntax:expression: exec " /opt/vyatta/sbin/vyatta-qos.pl --validate-name $VAR(@)"
+syntax:expression: exec " /opt/vyatta/sbin/vyatta-qos.pl --validate-name $VAR(../@) $VAR(@)"
update:expression: "/opt/vyatta/sbin/vyatta-qos.pl --update-policy $VAR(../@) $VAR(@)"
delete:expression: "/opt/vyatta/sbin/vyatta-qos.pl --delete-policy $VAR(@)"