summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2011-08-02Fix Qos start interfaceStephen Hemminger
The start-interface option was not correctly handling both in and out directions. This is part of the problem with OpenVPN, and also shows up when doing QoS on PPP.
2010-12-17Wait for ppp devices when updating interface traffic-policyStephen Hemminger
Bug 4922 Need to add wait loop because bringing up ppp can take some time for interface to settle.
2010-08-11remove CLI backend env variables usageAn-Cheng Huang
* these are no longer necessary with the new CLI library.
2010-07-23Fix delete of interface qos policyStephen Hemminger
Bug 5798
2010-07-21add whitespaceStephen Hemminger
2010-07-21Check target of redirect before removing ifbStephen Hemminger
Bug 5889 Deleting input interface not allowed if target of redirect
2010-07-20Remove sudo from tc commandsStephen Hemminger
No longer need sudo, can just use capabilty.
2010-07-20Fix setting of actions on bootStephen Hemminger
The redirect and mirror actions were incorrectly using an end: node, so they would fail on boot when combined with ifb.
2010-07-09Remove traffic-limiter outboundStephen Hemminger
It won't work because of how classifiers interact with policing. See: http://ace-host.stuart.id.au/russell/files/tc/doc/police.txt
2010-07-09Fix out of date commentsStephen Hemminger
Comments contained reference to old syntax
2010-07-09Allow limiter for inputStephen Hemminger
Bug 5807 Fix regression that broke limiter on input. Caused by rename from traffic-limter to limiter.
2010-06-11Fix mirror and redirect actionStephen Hemminger
Need to run sudo tc
2010-06-11Fix update/delete interfaceStephen Hemminger
Need to restore direction argument from earlier (Kenwood) version.
2010-06-11Fix list policyStephen Hemminger
Last round of changes broke policy name completion
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 "Allow any Qos policy to be used for input"Stephen Hemminger
This reverts commit c8f2c288665143e2b165b7d448555af9d657b56c. Conflicts: scripts/vyatta-qos.pl
2010-04-15Add checking at commit for input policyStephen Hemminger
Handle configuration errors in policy.
2010-04-15Fix modification of input-policyStephen Hemminger
If policy changes, then the whole ingress qdisc needs to be reloaded.
2010-04-15Fix setup of ingress qdiscStephen Hemminger
Need to drop/recreate on changes.
2010-04-07Get rid of out in command syntaxStephen Hemminger
Direction is no longer part of syntax.
2010-04-06Preliminary support of input-policyStephen Hemminger
Support mirror and redirect. Note: traffic-limiter is broken (ignored), and will later be moved to input-policy/limit
2010-03-29Merge branch 'larkspur' of suva.vyatta.com:/git/vyatta-cfg-qos into larkspurStephen Hemminger
2010-03-29Fix traffic-limiter qdisc for rootStephen Hemminger
Need to put prio queue on root queue.
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