summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-03-18VC4.0.1debian/0.3Mark O'Brien
2008-03-14fix script problem when updating interfaceStephen Hemminger
Bugfix for 3010
2008-03-10add license text to scriptsStephen Hemminger
2008-03-10Update copyright to GPLv2Stephen Hemminger
Replace reference to old VPL1.0 with GPLv2
2008-03-10Replace VLP with GPLv2Stephen Hemminger
Glendale is licensed under GPLv2
2008-03-07tab completion for protocol valuesStephen Hemminger
Add tab completion for values in /etc/protocols and completion help. Bugfix: 2972
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-07fix filtering rules when using set-dscpStephen Hemminger
The generated filtering rules were using wrong id's when set-dscp was being used. Need to put dsmark rules on root, and htb rules on start of that tree, and the id needs to be printed in hex not decimal. Bugfix: 2947
2008-03-07syntax fix for fair-queue/queue-limitStephen Hemminger
Bugfix: 2939 Add needed space for template.
2008-03-06Remove empty directories from the debian packagerbalocca
2008-03-06Merge branch 'glendale' of suva.vyatta.com:/git/vyatta-cfg-qos into glendaleStephen Hemminger
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-06better error messages for configuration problemsStephen Hemminger
Bugfix: 2919 But configuration level in error message
2008-03-06Fix build problemrbalocca
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-05fix handling of hash-intervalStephen Hemminger
Script was using old value, and default be undefined not 0.
2008-03-05Fix syntax checking for queue-limitStephen Hemminger
Bugfix: 2937 Enforce queue limit > 1
2008-03-05Better help message for class identifierStephen Hemminger
Print better syntax help for class identfier
2008-03-05add QOS support for serialStephen Hemminger
bugfix for 2893. Allow QOS commands over serial
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-03validate queue-limit syntaxStephen Hemminger
1 is not a valid limit for SFQ. Bugfix: 2937
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-03-03change syntax checks for policy nameStephen Hemminger
Only check syntax for policy names in syntax, check for name conflicts later. Part of bug fix for policy name management.
2008-03-03Show DSCP field valuesStephen Hemminger
Add better help for DSCP values. Bugfix: 2930
2008-03-03DSCP values should be scaledStephen Hemminger
For compatiablity use DSCP values in the 0..63 range and scale in the script, rather than uses raw header values. This makes configuration more familar to IOS users.
2008-03-01autocompletion for dscp field namesStephen Hemminger
Bugfix: 2931 Tab completion for possible dscp field values.
2008-02-28auto-completion for qos-policiesStephen Hemminger
Add missing support for completion of policy choices Bugfix: 2915
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-28remove leftover template for default/queueStephen Hemminger
Bugfix: 2914 When queue type was added, the old template was removed.
2008-02-25vc4.0.0debian/0.2Mark O'Brien
2008-02-15default scaling for bandwidth fixStephen Hemminger
If no suffix is given, the bandwidth value should be in "bits/sec" (not bytes/sec), to be compatiable with other routers.
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-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-14use sudo to run ethtoolStephen Hemminger
But do it in a manner safe from quoting attacks!
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-13catch errors where dscp name is not definedStephen Hemminger
This enforces syntax checks on dscp values.
2008-02-12add templates for dscp settingStephen Hemminger
Add templates for hooks to set-dscp value with dsmark
2008-02-12restrict class to 3...4095Stephen Hemminger
Need to reserve: Class 1 for root class Class 2 for default class because dsmark needs to allocate an array and reserving 0x4000 for the default class would cause lots of extra memory wasteage.
2008-02-08fix vlan and device matchingStephen Hemminger
Use proper syntax for incoming interface and outgoing vlan match. Need to catch u32 vs basic match filter conflicts.
2008-02-06fixes for match on vlan or interfaceStephen Hemminger
need to lookup ifindex for interface not vlan tag (duh) and ip field should be initialized only when ip tag is found.
2008-02-06use ifindex to check for valid interface configStephen Hemminger
The script needs to look up ifindex for the match rule, so this is a good thing to use for syntax checking
2008-02-06vlan tag is not a tag nodeStephen Hemminger
2008-02-06allow greater range of priortyStephen Hemminger
1 to 10 was too arbitrary restriction since the kernel allows nothing, or full u32 value.
2008-02-06fix problems with percent sign in comp_helpStephen Hemminger
comp_help is displayed via printf so % must be doubled. Fixes: https://bugzilla.vyatta.com/show_bug.cgi?id=2762
2008-02-06rename dsfield to dscpStephen Hemminger
And add more help text.
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-06better error handling and propogation from get_numStephen Hemminger
Return undefined on bad value, so caller can print message.