summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2008-02-06fix update/delete tags to properly find parentStephen Hemminger
Need to find "out" for parent node.
2008-02-06rename rate to bandwidthStephen Hemminger
Make qos syntax more familar to IOS users.
2008-02-05add support for match based on incoming device and vlanStephen Hemminger
This is preliminary (still needs testing) but get the syntax and basic structure in place.
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-05make sure regex for matching percentage are anchoredStephen Hemminger
This fixes problem where 80%x and x12% would be matched.
2008-02-05don't indent help as muchStephen Hemminger
change to recent burst help
2008-02-05Add help for burst valuesStephen Hemminger
Fixes: https://bugzilla.vyatta.com/show_bug.cgi?id=2763
2008-02-05get match rules to work.Stephen Hemminger
fixes http://bugzilla.vyatta.com/show_bug.cgi?id=2738
2008-02-05handle undefined values betterStephen Hemminger
If getprotocol or getdsfield is called with undefined value, then return undefined.
2008-02-05cleanup on failed commitStephen Hemminger
If commit of new policy fails, then remove all filters/qdisc.
2008-02-05better error messages on errorsStephen Hemminger
Try for complete sentences for describing problem.
2008-02-04fix parsing of ethtool output for auto rate processingStephen Hemminger
Fix a number of perl scoping bugs that kept auto rate processing from working.
2008-02-04don't use sudo when updating interfaceStephen Hemminger
Using sudo isn't necessary, and clobbers the environment, making debugging harder.
2008-02-04get auto speed correctlyStephen Hemminger
numeric comparison uses where string comparison should have been used
2008-02-04get rid of unused variableStephen Hemminger
2008-02-04don't pass debug to update_interfacesStephen Hemminger
debug is global
2008-01-31convert templates to new syntaxAn-Cheng Huang
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-30format id for default class correctlyStephen Hemminger
Forgot to hexify the value. Tc takes classnames in hex.
2008-01-30fix typos in management of match rulesStephen Hemminger
the code here still doesn't work but fix obvious stuff.
2008-01-30Initial version of vyatta-cfg-qosdebian/0.1Stephen Hemminger
This the initial checkin prior to integration