From 591e6f4ff4fa62374b8088e16022affd37db7699 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Sun, 8 Mar 2009 13:29:28 -0700
Subject: Move apply from top level into policy nodes

Makes code simpler and will work better with config system.
Also eliminates need for isChanged() code.
---
 templates/qos-policy/traffic-shaper/node.def | 1 +
 1 file changed, 1 insertion(+)

(limited to 'templates/qos-policy/traffic-shaper/node.def')

diff --git a/templates/qos-policy/traffic-shaper/node.def b/templates/qos-policy/traffic-shaper/node.def
index b0b209d..11b91fe 100644
--- a/templates/qos-policy/traffic-shaper/node.def
+++ b/templates/qos-policy/traffic-shaper/node.def
@@ -5,3 +5,4 @@ syntax:expression: pattern $VAR(@) "^[[:alnum:]][-_[:alnum:]]*$"
                    ; "only alpha-numeric policy name allowed"
 update: /opt/vyatta/sbin/vyatta-qos.pl --create-policy "$VAR(.)" "$VAR(@)"
 delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-policy "$VAR(@)"
+end: /opt/vyatta/sbin/vyatta-qos.pl --apply-policy "$VAR(@)"
-- 
cgit v1.2.3

