summaryrefslogtreecommitdiff
path: root/scripts/VyattaQosUtil.pm
AgeCommit message (Collapse)Author
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-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-14use sudo to run ethtoolStephen Hemminger
But do it in a manner safe from quoting attacks!
2008-02-13catch errors where dscp name is not definedStephen Hemminger
This enforces syntax checks on dscp values.
2008-02-06better error handling and propogation from get_numStephen Hemminger
Return undefined on bad value, so caller can print message.
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-05handle undefined values betterStephen Hemminger
If getprotocol or getdsfield is called with undefined value, then return undefined.
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-04get auto speed correctlyStephen Hemminger
numeric comparison uses where string comparison should have been used
2008-01-30Initial version of vyatta-cfg-qosdebian/0.1Stephen Hemminger
This the initial checkin prior to integration