c52e02bccf
add problem hint
...
Signed-off-by: h0nIg <h0nIg@users.noreply.github.com >
2024-10-14 11:47:24 +02:00
d44bbf28af
Revert "Merge pull request #921 from oOraph/dev/exclude_subnets_from_traffic_shapping2"
...
This reverts commit ef076afac1
, reversing
changes made to 597408952e
.
Signed-off-by: h0nIg <h0nIg@users.noreply.github.com >
2024-10-14 11:47:24 +02:00
c666d1400d
bandwidth plugin: split unit tests in several files
...
Signed-off-by: Raphael <oOraph@users.noreply.github.com >
2024-04-08 15:39:47 +09:00
ab0b386b4e
bandwidth: possibility to specify shaped subnets or to exclude some from shaping
...
Signed-off-by: Raphael <oOraph@users.noreply.github.com >
2024-04-08 15:39:47 +09:00
52da39d3aa
bandwidth: possibility to exclude some subnets from traffic shaping
...
what changed:
we had to refactor the bandwidth plugin and switch from a classless qdisc (tbf)
to a classful qdisc (htb).
subnets are to be provided in config or runtimeconfig just like other parameters
unit and integration tests were also adapted in consequence
unrelated changes:
test fixes: the most important tests were just silently skipped due to ginkgo Measure deprecation
(the ones actually checking the effectiveness of the traffic control)
Signed-off-by: Raphael <oOraph@users.noreply.github.com >
2024-04-08 15:39:46 +09:00
2fb0efe8a3
enable durationcheck, predeclared, unconvert, unused and wastedassign linters
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2023-03-16 07:29:37 +01:00
d12b81dec5
ci(lint): setup golangci-lint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2023-03-01 06:55:40 +00:00
0dff883769
Use uint64 for Bandwidth plugin
...
Signed-off-by: Ashley Reese <ashley@victorianfox.com >
2019-10-03 16:05:27 +02:00
7571169160
Fix tc-tbf burst value in bytes.
2018-07-03 18:36:49 +08:00
90252c30fb
meta/bandwidth: package main so we can build a binary
2018-02-27 22:24:26 -08:00
59fa37252f
meta/bandwidth: group and sort imports
...
ref: https://github.com/golang/go/wiki/CodeReviewComments#imports
2018-02-27 20:47:42 -08:00
b78e535055
plugins/meta/bandwith: traffic shaping plugin
...
Add chained plugin to add a tbf qdisc to shape ingress/egress traffic
2018-02-27 20:47:41 -08:00