diff options
Diffstat (limited to 'templates/qos-policy/traffic-shaper/node.def')
-rw-r--r-- | templates/qos-policy/traffic-shaper/node.def | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/qos-policy/traffic-shaper/node.def b/templates/qos-policy/traffic-shaper/node.def index 38d72d2..afb77bd 100644 --- a/templates/qos-policy/traffic-shaper/node.def +++ b/templates/qos-policy/traffic-shaper/node.def @@ -1,4 +1,6 @@ tag: type: txt -syntax:expression: pattern $VAR(@) "^[^-]" ; "Qos queue name cannot start with \"-\"" help: Configure traffic shaping based 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(@)" |