diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-19 16:07:42 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-19 16:07:42 -0700 |
commit | a621b1970b76f7d7585261ba6255b1fa63dc520c (patch) | |
tree | 1ac0315daee5a4b95ba5953956385c046348147e /templates/qos-policy/weighted-random/node.def | |
parent | e1ae2edb9fe3cfd41535bb6f0bd2132e2b23ad47 (diff) | |
download | vyatta-cfg-qos-a621b1970b76f7d7585261ba6255b1fa63dc520c.tar.gz vyatta-cfg-qos-a621b1970b76f7d7585261ba6255b1fa63dc520c.zip |
Rename weighted-random
Having too long a name messes up column output on operational commands.
Diffstat (limited to 'templates/qos-policy/weighted-random/node.def')
-rw-r--r-- | templates/qos-policy/weighted-random/node.def | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/qos-policy/weighted-random/node.def b/templates/qos-policy/weighted-random/node.def new file mode 100644 index 0000000..02911a1 --- /dev/null +++ b/templates/qos-policy/weighted-random/node.def @@ -0,0 +1,8 @@ +tag: +type: txt +help: Set Weighted Random Early Detect 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(@)" |