diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-07-13 13:53:51 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-07-13 16:06:31 -0700 |
commit | 3c68c870041d5e4e2be560db5ba9e5be08450df8 (patch) | |
tree | b3d27b5a7372738caa02b655199a572b5ea434e1 /templates/traffic-policy/priority-queue/node.def | |
parent | defc161a43dfa74b4de8d8289ca099a9d807d9b5 (diff) | |
download | vyatta-cfg-qos-3c68c870041d5e4e2be560db5ba9e5be08450df8.tar.gz vyatta-cfg-qos-3c68c870041d5e4e2be560db5ba9e5be08450df8.zip |
Add support for priority-queue policy
Bug 3643
Enhancement to expose kernel priority queuing.
Diffstat (limited to 'templates/traffic-policy/priority-queue/node.def')
-rw-r--r-- | templates/traffic-policy/priority-queue/node.def | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/traffic-policy/priority-queue/node.def b/templates/traffic-policy/priority-queue/node.def new file mode 100644 index 0000000..b848108 --- /dev/null +++ b/templates/traffic-policy/priority-queue/node.def @@ -0,0 +1,8 @@ +tag: +type: txt +help: Priority queuing based 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(@) |