diff options
Diffstat (limited to 'templates/qos-policy/traffic-limiter/node.def')
-rw-r--r-- | templates/qos-policy/traffic-limiter/node.def | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/qos-policy/traffic-limiter/node.def b/templates/qos-policy/traffic-limiter/node.def new file mode 100644 index 0000000..f8bdf26 --- /dev/null +++ b/templates/qos-policy/traffic-limiter/node.def @@ -0,0 +1,8 @@ +tag: +type: txt +help: Set traffic input limiting policy +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(@) +end: /opt/vyatta/sbin/vyatta-qos.pl --apply-policy $VAR(@) |