Age | Commit message (Collapse) | Author |
|
add preliminary support for dsmark (still needs testing).
allow class 2 (compute default class as n+1)
|
|
This enforces syntax checks on dscp values.
|
|
Add templates for hooks to set-dscp value with dsmark
|
|
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.
|
|
Use proper syntax for incoming interface and outgoing vlan match.
Need to catch u32 vs basic match filter conflicts.
|
|
need to lookup ifindex for interface not vlan tag (duh)
and ip field should be initialized only when ip tag is found.
|
|
The script needs to look up ifindex for the match rule, so this is
a good thing to use for syntax checking
|
|
|
|
1 to 10 was too arbitrary restriction since the kernel allows nothing,
or full u32 value.
|
|
comp_help is displayed via printf so % must be doubled.
Fixes: https://bugzilla.vyatta.com/show_bug.cgi?id=2762
|
|
And add more help text.
|
|
1. checking for name clash shouldn't see self
2. leftover from rate to bandwidth name change
3. leftover debug message.
|
|
Return undefined on bad value, so caller can print message.
|
|
Need to find "out" for parent node.
|
|
Make qos syntax more familar to IOS users.
|
|
This is preliminary (still needs testing) but get the syntax and basic structure
in place.
|
|
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.
|
|
This fixes problem where 80%x and x12% would be matched.
|
|
change to recent burst help
|
|
Fixes: https://bugzilla.vyatta.com/show_bug.cgi?id=2763
|
|
fixes http://bugzilla.vyatta.com/show_bug.cgi?id=2738
|
|
If getprotocol or getdsfield is called with undefined value, then
return undefined.
|
|
If commit of new policy fails, then remove all filters/qdisc.
|
|
Try for complete sentences for describing problem.
|
|
Fix a number of perl scoping bugs that kept auto rate processing
from working.
|
|
Using sudo isn't necessary, and clobbers the environment, making
debugging harder.
|
|
numeric comparison uses where string comparison should have been used
|
|
|
|
debug is global
|
|
|
|
Use exec to ensure running sudo (no shell interpretation).
Change how debug is enabled.
|
|
Forgot to hexify the value. Tc takes classnames in hex.
|
|
the code here still doesn't work but fix obvious stuff.
|
|
This the initial checkin prior to integration
|