summaryrefslogtreecommitdiff
path: root/scripts/VyattaQosTrafficShaper.pm
AgeCommit message (Collapse)Author
2008-03-05use object factory rather than hardcoded switch for policy configStephen Hemminger
Having a hardcoded switch statement is harder to update than using a hash.
2008-02-15Add new options to set queue type and queue limitStephen Hemminger
This adds ability to choose the underlying queue type for traffic shaper classes: drop-tail => fifo random-detect => red fair-queue => sfq priority => prio For Red, the values are computed based on the bandwidth so it is much simpler than raw tc usage.
2008-02-14get dsmark workingStephen Hemminger
This makes dsmark work. Need to round up to power of 2 and also pass parent down to handle nested case properly.
2008-02-14detect match conflicts during commitStephen Hemminger
Matching on 'ip' uses the u32 tc filter and other match types 'interface', 'vif' use the basic tc filter. Since kernel doesn't allow mixing filter types in the same classifier, need to catch and report the problem rather than failing in the actual commands.
2008-02-13update to qos functionalityStephen Hemminger
add preliminary support for dsmark (still needs testing). allow class 2 (compute default class as n+1)
2008-02-06fix update problemsStephen Hemminger
1. checking for name clash shouldn't see self 2. leftover from rate to bandwidth name change 3. leftover debug message.
2008-02-06rename rate to bandwidthStephen Hemminger
Make qos syntax more familar to IOS users.
2008-02-05add support for match based on incoming device and vlanStephen Hemminger
This is preliminary (still needs testing) but get the syntax and basic structure in place.
2008-02-05better error messages on errorsStephen Hemminger
Try for complete sentences for describing problem.
2008-02-04fix parsing of ethtool output for auto rate processingStephen Hemminger
Fix a number of perl scoping bugs that kept auto rate processing from working.
2008-02-04get rid of unused variableStephen Hemminger
2008-01-30format id for default class correctlyStephen Hemminger
Forgot to hexify the value. Tc takes classnames in hex.
2008-01-30Initial version of vyatta-cfg-qosdebian/0.1Stephen Hemminger
This the initial checkin prior to integration