Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/vyos/vyatta-cfg-qos

Configuration templates and scripts for QoS
https://github.com/vyos/vyatta-cfg-qos

vc4.0.0

cbac17efa8d0710eb442c3fe8e681a5624723bec authored almost 17 years ago
default scaling for bandwidth fix

If no suffix is given, the bandwidth value should be in "bits/sec"
(not bytes/sec), to be compat...

93ef17574ac5fa8f41561d081914faa698e904b6 authored almost 17 years ago
Add new options to set queue type and queue limit

This adds ability to choose the underlying queue type for traffic shaper
classes:
drop-tail => ...

1b29c373e90074f6ba4de36523be7e09d90b6b58 authored almost 17 years ago
get dsmark working

This makes dsmark work. Need to round up to power of 2 and also
pass parent down to handle neste...

529f2f91a74aca030ad07af120322ec515d6d377 authored almost 17 years ago
if error occurs in qos processing display commands

If the command to tc doesn't work, then reprint to standard out
for diagnostic. Also, fix use of...

c2b36d99a7715e13df75d83cc63ce92cac0981dc authored almost 17 years ago
use sudo to run ethtool

But do it in a manner safe from quoting attacks!

72728a87d04ab3027960f7667840e4d4f781bb7d authored almost 17 years ago
detect match conflicts during commit

Matching on 'ip' uses the u32 tc filter and other match types 'interface',
'vif' use the basic t...

33e9fbd53200bcb39b19fe9258679e9c27b67c2f authored almost 17 years ago
update to qos functionality

add preliminary support for dsmark (still needs testing).
allow class 2 (compute default class a...

13dfe609dfddf211b39d92fa372e0f583cd07355 authored almost 17 years ago
catch errors where dscp name is not defined

This enforces syntax checks on dscp values.

85296d793a2320485fb075ae9ee09b62c72f8e96 authored almost 17 years ago
add templates for dscp setting

Add templates for hooks to set-dscp value with dsmark

8132689b6e461ad068746741bfec1bd82efbe915 authored almost 17 years ago
restrict class to 3...4095

Need to reserve:
Class 1 for root class
Class 2 for default class
because dsmark needs to ...

fae283702fb73bec0abee76095bb76aa0a537b9d authored almost 17 years ago
fix vlan and device matching

Use proper syntax for incoming interface and outgoing vlan match.
Need to catch u32 vs basic mat...

20b1f2af56a7b7c96eed434f0761b6e8bae53555 authored almost 17 years ago
fixes for match on vlan or interface

need to lookup ifindex for interface not vlan tag (duh)
and ip field should be initialized only ...

49decef8f62c517071c76b620f6f19ef90a8cbf8 authored almost 17 years ago
use ifindex to check for valid interface config

The script needs to look up ifindex for the match rule, so this is
a good thing to use for synta...

248920901afa3f1b6d2d461057f51164b66de041 authored almost 17 years ago
vlan tag is not a tag node

22f85542c72b71d64a8ad70d73be1e99d01eaee4 authored almost 17 years ago
allow greater range of priorty

1 to 10 was too arbitrary restriction since the kernel allows nothing,
or full u32 value.

497ebd0e02f0f1ed137dc405e858e21e1779b577 authored almost 17 years ago
fix problems with percent sign in comp_help

comp_help is displayed via printf so % must be doubled.
Fixes: https://bugzilla.vyatta.com/show_...

8ed8df0993705bd51aa3167dd364bd40cfc6fc68 authored almost 17 years ago
rename dsfield to dscp

And add more help text.

e956fa4071b05e427b260ee3332ac06afc91dde4 authored almost 17 years ago
fix update problems

1. checking for name clash shouldn't see self
2. leftover from rate to bandwidth name change
3. ...

1c7e03dc0c52c03e87487985ed5877be4e52134a authored almost 17 years ago
better error handling and propogation from get_num

Return undefined on bad value, so caller can print message.

92562803d1c3512dac79e48ad10ea49bf6a117d0 authored almost 17 years ago
fix update/delete tags to properly find parent

Need to find "out" for parent node.

c6a1cf5355dd30eb90602e942c86d5389fcf55bf authored almost 17 years ago
rename rate to bandwidth

Make qos syntax more familar to IOS users.

b67e379379ca5be816c7d6d9cdcec99395556733 authored almost 17 years ago
add support for match based on incoming device and vlan

This is preliminary (still needs testing) but get the syntax and basic structure
in place.

0b8d73903c3a1245c95d3ed92756fe3df649bbed authored almost 17 years ago
add validation for policy names, and policy update/delete

Check names of policys for syntax and uniqueness.
Add hooks for update that does refresh of inte...

24b46144a00f1346b0c983884e3f11b91b0c4379 authored almost 17 years ago
make sure regex for matching percentage are anchored

This fixes problem where 80%x and x12% would be matched.

cbea4bffaf8ee64229db7624d63e47427c43d664 authored almost 17 years ago
don't indent help as much

change to recent burst help

25da013b77ac8037b72db34d0ecbe6cf081c0e20 authored almost 17 years ago
Add help for burst values

Fixes: https://bugzilla.vyatta.com/show_bug.cgi?id=2763

ed8fa18f6d066b728673b473e7fc2ce646942b29 authored almost 17 years ago
get match rules to work.

fixes http://bugzilla.vyatta.com/show_bug.cgi?id=2738

2e846fde9ce03b52e43ee6a1d81755429c027971 authored almost 17 years ago
handle undefined values better

If getprotocol or getdsfield is called with undefined value, then
return undefined.

50127014a2b863fb4b5e31f5f61230b22f371e63 authored almost 17 years ago
cleanup on failed commit

If commit of new policy fails, then remove all filters/qdisc.

d8075f1b0189a8a788dd8c5b31f8dcbd4e652415 authored almost 17 years ago
better error messages on errors

Try for complete sentences for describing problem.

e13559d7b6a386f8d7e1afaff4fe5b64da7297a8 authored almost 17 years ago
fix parsing of ethtool output for auto rate processing

Fix a number of perl scoping bugs that kept auto rate processing
from working.

77f0136069ca2c4040fe7782ee87089dc11f086b authored almost 17 years ago
don't use sudo when updating interface

Using sudo isn't necessary, and clobbers the environment, making
debugging harder.

9918f96c8aa7da45f27594f372c28d7f6e720e73 authored almost 17 years ago
get auto speed correctly

numeric comparison uses where string comparison should have been used

bf65dc7681eb22bbf52a413d2c694e3c0bf5b06c authored almost 17 years ago
get rid of unused variable

e32e0645b5fe0a3c6427f8cddc75318e9acc9e36 authored almost 17 years ago
don't pass debug to update_interfaces

debug is global

947f442fc870aeb2c31f016c002d2d48ea1f2552 authored almost 17 years ago
convert templates to new syntax

a35625b08aa22b0fd9cbd92d72af6d9d7dc49b56 authored almost 17 years ago
change to how open is used to run tc

Use exec to ensure running sudo (no shell interpretation).
Change how debug is enabled.

8406bb6bd1c288ad30f4e67cff106b34b2c4d578 authored almost 17 years ago
format id for default class correctly

Forgot to hexify the value. Tc takes classnames in hex.

82d29738bd169b47611aa0247516e2f7569f6471 authored almost 17 years ago
fix typos in management of match rules

the code here still doesn't work but fix obvious stuff.

8e96d1f6674c3649aa2c8266352f9909ed011b81 authored almost 17 years ago
Initial version of vyatta-cfg-qos

This the initial checkin prior to integration

86fc4e7801919a1da123f34500218a69a30c2059 authored almost 17 years ago