summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2010-03-29Merge branch 'larkspur' of vm:git/vyatta-cfg-qos into larkspurStephen Hemminger
2010-03-29Get ifb devices workingStephen Hemminger
Need to have a match rule (even it is match all). Change naming convention for ifb devices Don't autocreate ifb0, ifb1
2010-03-29Rename rate-limiter to rate-controlStephen Hemminger
Bug 4541 Limiting implies packet drop, but this qos-policy does shaping.
2010-03-29Check return value from IFB correctly.Stephen Hemminger
2010-03-29Put PPP qos setup inside configure modeStephen Hemminger
Bug 5005 Make sure qos script is run inside equivalent environment as configuration mode.
2010-03-29Allow any Qos policy to be used for inputStephen Hemminger
Bug 5123 Add ability to use traffic-shaper and other policies for input traffic.
2010-03-29Allow use of traffic-limiter for output policyStephen Hemminger
Simple limiting on output.
2010-03-19Set environment so ppp script can find variablesStephen Hemminger
2009-10-01Allow update to interface if not present yetStephen Hemminger
Solves issues like Bug 4759 where qos-policy is commited to an interface that does not exist in system until later. (cherry picked from commit f94f46058fce5ca110a24ef90935b0f517b16d33)
2009-10-01Fix perl error when attempting to delete qos policyStephen Hemminger
Bug 4597 Don't print ARRAY() print the element of that array. (cherry picked from commit 24889117e3aa124071e13541d4a6b663476226a2)
2009-10-01Fix policy updateStephen Hemminger
If policy is updated, then the function interfaces_using() has to set correct arguments for later update. (cherry picked from commit db0b46b068eda15884eb92636d52d6f821869283)
2009-10-01Ignore deleted policy on end testStephen Hemminger
If policy is deleted, then the end: check is still run, but can be safely ignored. (cherry picked from commit 68312d5d735861153fbd28e5e3c98000761ca9a2)
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-01Fix management of delete of policy in useStephen Hemminger
Minor config confusion in script. Bug 4532 (cherry picked from commit 28650945b96e0990fbe39e4743bca436662bae66)
2009-06-01Fix handling of qos-percent/rate valuesStephen Hemminger
Typo in syntax validation script Bug 4485
2009-05-29Fix handling of parameter validationStephen Hemminger
Can't use perl closures in getOptions, if routine exits, the error from getOptions rather than as exit code. Bug 4477
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-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-13Add RoundRobin and Priority to buildStephen Hemminger
2009-03-30Install PPP qos script properlyStephen Hemminger
2009-03-17Use select to avoid passing output path aroundStephen Hemminger
Easier to just use 'select' in perl to avoid passing file descriptor everywhere.
2009-03-08Use hash rather than if/else for delete_interfaceStephen Hemminger
2009-03-08Print correct names for completionStephen Hemminger
Want the policy names, not the policy type.
2009-03-08Reindent qos scriptStephen Hemminger
Getting a little ragged, use perltidy.
2009-03-08Handle multiple options for list, start and deleteStephen Hemminger
Make command more friendly if ever used manually. Handle multiple values for list_policy, start_interface and delete_policy
2009-03-08Move apply from top level into policy nodesStephen Hemminger
Makes code simpler and will work better with config system. Also eliminates need for isChanged() code.
2009-03-08Change vyatta-qos.pl to handle any interface typeStephen Hemminger
Remove code that knows about serial/adsl, etc and replace with new Vyatta::Interface. Simpler and fixes potential issues with bonding, vif, etc.
2009-03-08Fold name conflict checking into policy creationStephen Hemminger
Eliminate need for begin, just check for name conflicts at create.
2009-03-07Fix problems caused by GetOptions() change.Stephen Hemminger
When using closure form of GetOptions, any call to exit only causes GetOptions error rather than exit of program. Since QoS uses die to indicate transaction error, this doesn't work well!
2009-03-07Change optionsStephen Hemminger
Script calls --apply, and typo for --start-interface.
2009-03-07Avoid possible confusion over variable name 'usage'Stephen Hemminger
Having variable and function with same name is confusing.
2009-03-07Cleanup whitespaceStephen Hemminger
Git hates trailing whitespace.
2009-01-30Fix QoS over ppp interfacesStephen Hemminger
Bug 3473 Add ppp startup script to apply QoS on start of related interfaces.
2009-01-25Enable strictStephen Hemminger
Forgot to enable strict.
2009-01-25Fix perl critic warningStephen Hemminger
Make loop variables local
2008-12-09Add support for network emulationStephen Hemminger
New QoS feature to allow emulating WAN characteristics
2008-11-24Change VyattaConfig to Vyatta::ConfigStephen Hemminger
2008-11-21Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg-qos into jennerStephen Hemminger
Conflicts: lib/Vyatta/Qos/TrafficLimiter.pm
2008-11-20Change perl module names from VyattaQosXXX to Vyatta::Qos:XXXStephen Hemminger
Use more multi-level directory hierarchy instead of having all modules at top level.
2008-11-10Change input rate limiting to use token bucketStephen Hemminger
There are two ways to input rate limit. One uses the generic rate estimator which is supposed to measure average rate, the other is to use a token bucket based packet counter. Well the generic rate estimator doesn't work correctly in current kernels (no effect), so switch to using rate and burst. Bugfix 3881
2008-10-27Fix QoS on VifStephen Hemminger
Handle Vif on serial. Can't have update and create tag.
2008-10-24Better message on missing bandwidthStephen Hemminger
Bugfix 3834 Rather than "is not a valid bandwidth", say "bandwidth must be defined for ..."
2008-10-02Fix list-policy problem with ingressStephen Hemminger
Command completeion for policy name was broken by changes to add in and out type.
2008-09-30Validate ingress bandwidth valueStephen Hemminger
The bandwidth value needs to be validated and converted if necessary.
2008-09-23Add incoming traffic limiting to QosStephen Hemminger
This adds support for Qos using incoming policing. It is accepts the syntax and processes commands, but is not fully debugged. Bugfix: 3664
2008-09-05Workaround CLI regex problemStephen Hemminger
Recent CLI changes seem to have broken working templates that do regex matching. Workaround this by doing the syntax checking all in the perl script Bugfix: 3553
2008-08-29Add drop-tail (aka FIFO) QoS policyStephen Hemminger
Add new configuration support for plain fifo queueing. Better code for the table in perl script that loads queue objects.
2008-07-23Handle auto bandwidth value betterStephen Hemminger
Need to handle the case of devices that don't know their current speed. In this case, ethtool will print "Unknown!" which the old code wasn't handling right. Move the default speed stuff down into traffic shaper code as well, so any future policies using auto can make other choices as to what to do in this case. Bugfix: 3450