summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-05 16:53:46 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-05 16:53:46 -0800
commit24b46144a00f1346b0c983884e3f11b91b0c4379 (patch)
tree5643fcf4e33a70e4d7f510a3e0e85b5022808e9d /templates/interfaces
parentcbea4bffaf8ee64229db7624d63e47427c43d664 (diff)
downloadvyatta-cfg-qos-24b46144a00f1346b0c983884e3f11b91b0c4379.tar.gz
vyatta-cfg-qos-24b46144a00f1346b0c983884e3f11b91b0c4379.zip
add validation for policy names, and policy update/delete
Check names of policys for syntax and uniqueness. Add hooks for update that does refresh of interface (should fix bug). Block deletion of policy that is in use.
Diffstat (limited to 'templates/interfaces')
-rw-r--r--templates/interfaces/ethernet/node.tag/qos-policy/out/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def b/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def
index 20ecd5e..c8f875f 100644
--- a/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def
+++ b/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def
@@ -1,4 +1,4 @@
type: txt
help: Set outbound QOS policy
-update:expression: "/opt/vyatta/sbin/vyatta-qos.pl --update $VAR(../../@) out $VAR(@)"
-delete:expression: "/opt/vyatta/sbin/vyatta-qos.pl --delete $VAR(../../@) out"
+update:expression: "/opt/vyatta/sbin/vyatta-qos.pl --update-interface $VAR(../../@) $VAR(../@) $VAR(@)"
+delete:expression: "/opt/vyatta/sbin/vyatta-qos.pl --delete-interface $VAR(../../@) $VAR(../@)"