summaryrefslogtreecommitdiff
path: root/scripts/vyatta-qos.pl
AgeCommit message (Collapse)Author
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-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-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-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-10-27Fix QoS on VifStephen Hemminger
Handle Vif on serial. Can't have update and create tag.
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-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-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-15Look for changes in QoS after commitStephen Hemminger
Since configuration system doesn't correctly notify on addition/deletion, have to introduce this extra verbosity to have each traffic-shaper type check for changes. Bugfix for 3452
2008-05-14new qos-policy type rate-limitStephen Hemminger
Add new QoS policy type "rate-limit" which is a wrapper around the the Token Bucket Filter (TBF) qdisc. Rate limit provides a simple way to do basic bandwidth limitation without the complexity of the doing multiple classes in the traffic shaper policy.
2008-03-14fix script problem when updating interfaceStephen Hemminger
Bugfix for 3010
2008-03-10add license text to scriptsStephen Hemminger
2008-03-07clear old policy before applying new QOSStephen Hemminger
Need to cleanup old qdisc/class/filters before applying new one. Bugfix: 2932
2008-03-06better syntax/semantic checking of qos-policyStephen Hemminger
Add a bunch of checks. * Check policy configuration at commit time * Add check for duplicate names * Allow _ in policy name Bugfix: 2907
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-03-04fix parsing problems during updateStephen Hemminger
Fix parsing problems for update-interface that caused problems during boot. Bugfix: 2914
2008-03-04remove dead code in qos scriptStephen Hemminger
The function validate_name is no longer used.
2008-03-03QOS perl script policy management changesStephen Hemminger
The delete-policy option requires two arguments (for consistency), and the validate-name option is no longer used.
2008-02-28cleanup variable names for clarityStephen Hemminger
No functional change just change listName to listPolicy to make it clearer what is going on.
2008-02-14if error occurs in qos processing display commandsStephen Hemminger
If the command to tc doesn't work, then reprint to standard out for diagnostic. Also, fix use of sudo in delete of qdisc.
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-05add validation for policy names, and policy update/deleteStephen Hemminger
Check names of policys for syntax and uniqueness. Add hooks for update that does refresh of interface (should fix bug). Block deletion of policy that is in use.
2008-02-05cleanup on failed commitStephen Hemminger
If commit of new policy fails, then remove all filters/qdisc.
2008-02-04don't pass debug to update_interfacesStephen Hemminger
debug is global
2008-01-30change to how open is used to run tcStephen Hemminger
Use exec to ensure running sudo (no shell interpretation). Change how debug is enabled.