summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-07-15 14:13:51 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-07-15 14:13:51 -0700
commit81b51bb9270e77289604493761a2f7cb047bd3ea (patch)
treebc8c6d8cb285ea99ba8b4296b9b2a26b6bb4efea /templates
parent3dd93c5175de9a4d32cadb7bb0c4f832fb14312d (diff)
downloadvyatta-cfg-qos-81b51bb9270e77289604493761a2f7cb047bd3ea.tar.gz
vyatta-cfg-qos-81b51bb9270e77289604493761a2f7cb047bd3ea.zip
Look for changes in QoS after commit
Since configuration system doesn't correctly notify on addition/deletion, have to introduce this extra verbosity to have each traffic-shaper type check for changes. Bugfix for 3452
Diffstat (limited to 'templates')
-rw-r--r--templates/qos-policy/node.def1
-rw-r--r--templates/qos-policy/traffic-shaper/node.def3
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/qos-policy/node.def b/templates/qos-policy/node.def
index 2499fd5..991b5f5 100644
--- a/templates/qos-policy/node.def
+++ b/templates/qos-policy/node.def
@@ -1,2 +1,3 @@
help: Configure Quality of Service (QOS) policy type
begin: /opt/vyatta/sbin/vyatta-qos.pl --check
+end: /opt/vyatta/sbin/vyatta-qos.pl --apply
diff --git a/templates/qos-policy/traffic-shaper/node.def b/templates/qos-policy/traffic-shaper/node.def
index 31bdc93..b0b209d 100644
--- a/templates/qos-policy/traffic-shaper/node.def
+++ b/templates/qos-policy/traffic-shaper/node.def
@@ -3,6 +3,5 @@ type: txt
help: Set traffic shaping 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(@)"
+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(@)"