Age | Commit message (Collapse) | Author |
|
Use more multi-level directory hierarchy instead of having all
modules at top level.
|
|
Recent CLI changes seem to have broken working templates that
do regex matching. Workaround this by doing the syntax checking
all in the perl script
Bugfix: 3553
|
|
Need to handle the case of devices that don't know their current speed.
In this case, ethtool will print "Unknown!" which the old code wasn't
handling right.
Move the default speed stuff down into traffic shaper code as well,
so any future policies using auto can make other choices as to what
to do in this case.
Bugfix: 3450
|
|
Bugfix 3450
If device is offline, can't find speed. So use a sensible default
and try a few times.
|
|
Use speed of underlying interface. Bug 3137
|
|
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.
|
|
This reverts commit ff77155be360216289e1e73af50dc4b82383cc68.
|
|
Revert "More unfrozen stuff"
This reverts commit f1e5d5991c8fc1420d00ef51c826f77b2d8c2bbd.
|
|
Revert "Better validation of numeric input"
This reverts commit e1624917ba2ed574fe350b470762a732a9820cbd.
|
|
Revert "silence ethtool messages when auto bandwidth used"
This reverts commit c1b530e7bfa5c33a8f51f634f906d2412f187e90.
|
|
If device doesn't support full ethtool, then ethtool error messages
were leaking out to console, when QOS bandwidth was detecting interface
speed.
|
|
Fix for Bug 2763 and related problems. Need better handling of numeric
inputs. Real perl programmers don't use a switch, but hash instead.
|
|
|
|
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.
|
|
If no suffix is given, the bandwidth value should be in "bits/sec"
(not bytes/sec), to be compatiable with other routers.
|
|
But do it in a manner safe from quoting attacks!
|
|
This enforces syntax checks on dscp values.
|
|
Return undefined on bad value, so caller can print message.
|
|
Make qos syntax more familar to IOS users.
|
|
This is preliminary (still needs testing) but get the syntax and basic structure
in place.
|
|
If getprotocol or getdsfield is called with undefined value, then
return undefined.
|
|
Fix a number of perl scoping bugs that kept auto rate processing
from working.
|
|
numeric comparison uses where string comparison should have been used
|
|
This the initial checkin prior to integration
|