summaryrefslogtreecommitdiff
path: root/scripts/vyatta-qos.pl
AgeCommit message (Collapse)Author
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.
2008-01-30Initial version of vyatta-cfg-qosdebian/0.1Stephen Hemminger
This the initial checkin prior to integration