diff options
Diffstat (limited to 'templates/qos-policy/fair-queue/node.def')
-rw-r--r-- | templates/qos-policy/fair-queue/node.def | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/qos-policy/fair-queue/node.def b/templates/qos-policy/fair-queue/node.def index b45f93e..76969a2 100644 --- a/templates/qos-policy/fair-queue/node.def +++ b/templates/qos-policy/fair-queue/node.def @@ -1,7 +1,8 @@ tag: type: txt help: Configure fair queueing policy -syntax:expression: pattern $VAR(@) "^[[:alnum:]][-[:alnum:]]*$" - ; "invalid qos-policy name $VAR(@)" -update: /opt/vyatta/sbin/vyatta-qos.pl --update-policy $VAR(../@) $VAR(@) -delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-policy $VAR(../@) $VAR(@) +syntax:expression: pattern $VAR(@) "^[[:alnum:]][-_[:alnum:]]*$" + ; "only alpha-numeric policy name allowed" +create: /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(@)" |