h0nIg and Casey Callendrello
24b0bf96af
make test working again
...
Signed-off-by: h0nIg <h0nIg@users.noreply.github.com >
2024-10-14 11:47:24 +02:00
h0nIg and Casey Callendrello
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
Raphael and Tomofumi Hayashi
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
Matthieu MOREL and GitHub
10ddd9e454
enable govet and unparam linters
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2023-04-11 12:07:04 +02:00
Matthieu MOREL
a02bf4b463
enable revive linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2023-03-13 17:59:41 +01:00
Matthieu MOREL
d12b81dec5
ci(lint): setup golangci-lint
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2023-03-01 06:55:40 +00:00
liornoy and Sascha Grunert
2d1005ec02
Update tests to utilize ginkgo/v2
...
This commit updates the import of ginkgo to v2 in
all of the tests.
Signed-off-by: liornoy <lnoy@redhat.com >
Co-authored-by: Sascha Grunert <sgrunert@redhat.com >
2023-02-13 21:15:18 +02:00
Federico Paolinelli
8a6e96b3f0
Replace nc with the local echo client.
...
This makes the behaviour more consistent across platforms.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com >
2020-10-07 20:13:24 +02:00
Casey Callendrello
05f121a406
integration: fix ip address collision in integration tests
...
Signed-off-by: Casey Callendrello <cdc@redhat.com >
2019-11-11 13:36:21 +01:00
Dan Williams and GitHub
1df359a210
Merge pull request #144 from squeed/build-fixes
...
build: some small improvements; bump to go1.10
2018-04-25 10:41:32 -05:00
Lion-Wei and m1093782566
4a0971bcd8
update integration test configlist
2018-04-19 10:08:25 +08:00
Casey Callendrello
aade7b93ee
build: some small improvements; bump to go1.10
...
- bump to go 1.10
- Add a linker tag with the build version
- Remove fastbuild, go builds are cached now
- Use better ginkgo suite names
2018-04-12 16:59:51 +02:00
Tyler Schultz and Aidan Obley
fe0cf201f8
Safely print error
...
Format plugin code
Signed-off-by: Aidan Obley <aobley@pivotal.io >
2018-03-12 15:53:23 -07:00
Aidan Obley and Tyler Schultz
d2f6472474
Ensure the bandwith plugin chooses the host veth device
...
When chained with a plugin that returns multiple devices, the bandwidth
plugin chooses the host veth device.
Signed-off-by: Tyler Schultz <tschultz@pivotal.io >
2018-03-12 15:08:53 -07:00
Gabe Rosenhouse
d5bdfe4cbd
top-level integration test for bridge + bandwidth
2018-02-28 13:28:06 -08:00
Gabe Rosenhouse
2793dd11cb
top-level integration test coverage for ptp + bandwidth
2018-02-28 12:56:10 -08:00