summaryrefslogtreecommitdiff
path: root/templates/qos-policy
diff options
context:
space:
mode:
Diffstat (limited to 'templates/qos-policy')
-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(@)"