summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)Author
2010-07-28Fix help string on limiter priorityStephen Hemminger
(cherry picked from commit 2c9b0e0641b24dc79320282eff358079b3c7c7c3)
2010-07-23Revert "Rename limiter class priority field to precedence"Stephen Hemminger
This reverts commit cf51e90bfc2d1c3b58192a726e786b598681fb71. Conflicts: templates/traffic-policy/limiter/node.tag/class/node.tag/precedence/node.def
2010-07-21Check target of redirect before removing ifbStephen Hemminger
Bug 5889 Deleting input interface not allowed if target of redirect
2010-07-21Move input interface back to Qos packageStephen Hemminger
2010-07-21Fix error message for redirect/mirror and ingress conflictStephen Hemminger
2010-07-21Only allow redirect and mirror on ethernet devicesStephen Hemminger
For simplicity only allow mirror/redirect templates to exist on ethernet device.
2010-07-21Remove 'limiter default priority'Stephen Hemminger
Priority for default rule makes no sense. The default is always after all other rules.
2010-07-20Allow larger queue size for sub-queues in Shaper and RoundRobinStephen Hemminger
For queue-type (other than fair-queue), it is allowable to have larger queue size. Move validation into class checking.
2010-07-19Cleanup usage of val_help:Stephen Hemminger
Add spaces and use u32: format
2010-07-16Allow text string for IP port matchStephen Hemminger
This allows use of IANA (/etc/services) values for port names: example: traffic-policy shaper SS { class 2 { match SMTP ip destination port smtp } }
2010-07-16Use val_help: to show command optionsStephen Hemminger
Replace all usage in this package of comp_help with new val_help
2010-07-16Remove verb from help string textStephen Hemminger
And fix some typos
2010-07-15Allow match on Ethernet protocol nameStephen Hemminger
Allow using common values supported by TC filter.
2010-07-14Limit queues using fair-queue to <= 127Stephen Hemminger
Bug 5849
2010-07-13Require queue limit to be greater than zeroStephen Hemminger
Since queue limit of zero causes all packets to be dropped; require user to configure a reasonable value Bug 5842
2010-07-12Remove limiter firewall mark match templateStephen Hemminger
There is no way for firewall mark to be useful in limiter policy since limiter is only allowed on ingress. And ingress takes place before firewall rules are applied.
2010-07-12Rename limiter class priority field to precedenceStephen Hemminger
Bug 5407 This fixes the confusing usage of priority field in both shaper and limiter class. In limiter, it is renamed to precedence since it controls the order of match rule evaluation.
2010-07-08Add ability to match on firewall markStephen Hemminger
Bug 5799 - Add matching on firewall mark values Bug 5795 - Block match rules that have multiple underlying filters
2010-07-06Add help text for intermediate nodes in matchStephen Hemminger
Bug 5783
2010-06-14Reject ip as a IP protocol valueStephen Hemminger
The name ip exists in /etc/protocols as a pseudonym for all IP protocols. But the Qos match logic doesn't support it so do not allow the user to choose that value Bug 5689
2010-06-14Add default for traffic limiterStephen Hemminger
This adds: set traffic-policy limiter TL default bandwidth 1mbit
2010-06-07Rearrange Qos commands for LarkspurStephen Hemminger
Current (Kenwood and earlier): set qos-policy traffic-shaper TS { ...classes } set qos-policy traffic-limiter TL { ...classes } seq qos-policy network-emulator NE ... set qos-policy random-detect RD ... set qos-policy rate-limiter RC ... set qos-policy round-robin RR ... set interfaces ethernet eth0 qos-policy out TS set interfaces ethernet eth0 qos-policy in TL New (Larkspur and later): set traffic-policy shaper TS { ...classes } set traffic-policy limiter TL { ...classes } seq traffic-policy network-emulator NE ... set traffic-policy random-detect RD ... set traffic-policy rate-control RC ... set traffic-policy round-robin RR ... set interfaces ethernet eth0 traffic-policy out TS set interfaces ethernet eth0 traffic-policy in TL set interfaces ethernet eth0 redirect ifb0 set interfaces ethernet eth0 mirror eth2 Note: 1. Only one of the following is allowed: "redirect", or "mirror" 2. Traffic-policy limiter is allowed with redirection/mirror and takes place before mirror/redirect action (NEW) 3. Limiter policy may applied on output (NEW) 4. Only limiter policies can be applied on input (same as previous releases) This does add some new functionality (#2, and #3) which are possible because of how filter classes are implemented.
2010-06-07Revert "Move traffic-limiter to input-policy"Stephen Hemminger
This reverts commit b75a66a4d5768f22a4b995d49ba442de8762a800.
2010-04-06Move traffic-limiter to input-policyStephen Hemminger
This changes: qos-policy traffic-limiter foo class ... interfaces ethernet eth0 qos-policy in foo to interface ethernet eth0 input-policy limit class ... Which unifies all uses of ingress qdisc (limit, redirect, mirror) into a single usage model.
2010-03-29Rename rate-limiter to rate-controlStephen Hemminger
Bug 4541 Limiting implies packet drop, but this qos-policy does shaping.
2009-11-30added required keyword to help text.Michael Larson
2009-11-05Fix parse error found by check_tmpl script.Stig Thormodsrud
2009-10-20add support for priority in projectslioch
2009-10-01Don't allow random-detect type for round-robin queue typeStephen Hemminger
Random detect requires bandwidth which is not part of round robin policy. Therefore drop it as a configurable value. Bug 4595 (cherry picked from commit b1b823012b2a1aa0fa8578054fc1179f92a32c2f)
2009-10-01Remove extra quote that caused shell error in fair-queueStephen Hemminger
Bug 4590 (cherry picked from commit 447b5430e8f4019e5d3b6e3f1f2025712d1c7b7f)
2009-10-01Fix update (apply-policy) at endStephen Hemminger
The $VAR(.) is not set on end node, so have to go hunting for policy type. Related to Bug 4545 (cherry picked from commit 39712bfaf390a4435218a14308cc6efa1a2d39b8)
2009-10-01Cleanup how qos-policy change detection worksStephen Hemminger
The CLI end: node does work correctly, so don't need to go walking configuration manually Bug 4545 (cherry picked from commit 377896b296827e4d7c3c20debb3487605c45bbe3)
2009-10-01Allow setting queue limit and average packet sizeStephen Hemminger
Two more (optional) parameters for random detect precedence groups. Bug 4518,4519 (cherry picked from commit 8104da09f5da338c6ce0813c367262de4e417598)
2009-10-01Allow random-detect for round-robin subqueueStephen Hemminger
Bug 4516 (cherry picked from commit 26890ac98e3ed6c0830e61fa91f306fea0cc227a)
2009-06-01Fix more places where VAR is quotedStephen Hemminger
CLI quoting in expressions seems to have changed, so adapt. Bug 4485
2009-06-01Fix problems with bandwidth templateStephen Hemminger
Bug 4485 Change template to deal with CLI changes in quoting evaluation of expressions.
2009-05-29Mark probability must be > 0Stephen Hemminger
2009-05-29Need to require network delayStephen Hemminger
Packet reordering doesn't work unless there are packets in the queue, and no packets are held unless there is a delay.
2009-05-26Can't have RED queue with Round RobinStephen Hemminger
The RED queue setup needs a rate value and RR doesn't have rate configuration.
2009-05-23Reimplementation of WREDStephen Hemminger
Make a simpler version of WRED that acts more like Cisco. Use Diffserv on Linux paper for example of how to use DSMARK and GRED to achieve similar result.
2009-05-20Fix definition of class valuesStephen Hemminger
GRED only allows 1..16 for classes, and reserve one for default so only 1..15 are ok for class value.
2009-05-20Fix help textStephen Hemminger
Class value of 2 is allowed.
2009-05-20change default packet size ot 1024Stephen Hemminger
2009-05-19Rename weighted-randomStephen Hemminger
Having too long a name messes up column output on operational commands.
2009-05-19Add Weighted RED QosStephen Hemminger
Bug 4296 Ehancement to allow configuring GRED as form of weighted RED.
2009-04-15Add Qos matching based on Ethernet MAC addressStephen Hemminger
Use existing u32 infrastructure to match in header
2009-04-14Remove priority queue implementationStephen Hemminger
It needs more work (not ready for prime time).
2009-04-13Merge branch 'jenner' of 192.168.1.9:git/qos into jennerStephen Hemminger
2009-04-13Add priority policy supportStephen Hemminger
New policy allowing strict priority traffic assignment
2009-04-13Add deficit Round-Robin supportStephen Hemminger
Round-robin class based policy