Age | Commit message (Collapse) | Author |
|
Easier to just use 'select' in perl to avoid passing file
descriptor everywhere.
|
|
|
|
Want the policy names, not the policy type.
|
|
Getting a little ragged, use perltidy.
|
|
Make command more friendly if ever used manually. Handle multiple
values for list_policy, start_interface and delete_policy
|
|
Makes code simpler and will work better with config system.
Also eliminates need for isChanged() code.
|
|
Remove code that knows about serial/adsl, etc and replace with
new Vyatta::Interface. Simpler and fixes potential issues with
bonding, vif, etc.
|
|
Eliminate need for begin, just check for name conflicts at create.
|
|
When using closure form of GetOptions, any call to exit only
causes GetOptions error rather than exit of program. Since QoS
uses die to indicate transaction error, this doesn't work well!
|
|
Script calls --apply, and typo for --start-interface.
|
|
Having variable and function with same name is confusing.
|
|
Git hates trailing whitespace.
|
|
Bug 3473
Add ppp startup script to apply QoS on start of related
interfaces.
|
|
Make loop variables local
|
|
New QoS feature to allow emulating WAN characteristics
|
|
|
|
Conflicts:
lib/Vyatta/Qos/TrafficLimiter.pm
|
|
Use more multi-level directory hierarchy instead of having all
modules at top level.
|
|
Handle Vif on serial.
Can't have update and create tag.
|
|
Command completeion for policy name was broken by changes to add
in and out type.
|
|
This adds support for Qos using incoming policing. It is accepts the
syntax and processes commands, but is not fully debugged.
Bugfix: 3664
|
|
Add new configuration support for plain fifo queueing.
Better code for the table in perl script that loads queue objects.
|
|
Since configuration system doesn't correctly notify on addition/deletion,
have to introduce this extra verbosity to have each traffic-shaper type
check for changes.
Bugfix for 3452
|
|
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.
|
|
Bugfix for 3010
|
|
|
|
Need to cleanup old qdisc/class/filters before applying new one.
Bugfix: 2932
|
|
Add a bunch of checks.
* Check policy configuration at commit time
* Add check for duplicate names
* Allow _ in policy name
Bugfix: 2907
|
|
Having a hardcoded switch statement is harder to update than
using a hash.
|
|
Fix parsing problems for update-interface that caused problems
during boot.
Bugfix: 2914
|
|
The function validate_name is no longer used.
|
|
The delete-policy option requires two arguments (for consistency),
and the validate-name option is no longer used.
|
|
No functional change just change listName to listPolicy to make
it clearer what is going on.
|
|
If the command to tc doesn't work, then reprint to standard out
for diagnostic. Also, fix use of sudo in delete of qdisc.
|
|
1. checking for name clash shouldn't see self
2. leftover from rate to bandwidth name change
3. leftover debug message.
|
|
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.
|
|
If commit of new policy fails, then remove all filters/qdisc.
|
|
debug is global
|
|
Use exec to ensure running sudo (no shell interpretation).
Change how debug is enabled.
|
|
This the initial checkin prior to integration
|