summaryrefslogtreecommitdiff
path: root/templates/qos-policy/fair-queue/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/qos-policy/fair-queue/node.def')
-rw-r--r--templates/qos-policy/fair-queue/node.def6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/qos-policy/fair-queue/node.def b/templates/qos-policy/fair-queue/node.def
index 304e0d4..3ec844e 100644
--- a/templates/qos-policy/fair-queue/node.def
+++ b/templates/qos-policy/fair-queue/node.def
@@ -1,4 +1,6 @@
tag:
type: txt
-syntax:expression: pattern $VAR(@) "^[^-]" ; "Qos queue name cannot start with \"-\""
-help: Configure fair queueing based policy
+help: Configure fair queueing policy
+syntax:expression: exec " /opt/vyatta/sbin/vyatta-qos.pl --validate-name $VAR(@)"
+update:expression: "/opt/vyatta/sbin/vyatta-qos.pl --update-policy $VAR(../@) $VAR(@)"
+delete:expression: "/opt/vyatta/sbin/vyatta-qos.pl --delete-policy $VAR(@)"