Skip to content

Commit 86df54c

Browse files
committed
test/case/infix_containers: ensure IP forwarding is enabled
Usually the CNI bridge plugin "takes care" of enabling IPv4 forwarding on all interfaces, see issue #1125, but when the container tests are run in a different order from the infix_containers.yaml, Infix may reset the IPv4 forwarding on this critical interface. This change is both future proof and also ensures the test works as it was intended even if tests are run out-of-order. Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 34dead1 commit 86df54c

File tree

1 file changed

+1
-0
lines changed
  • test/case/infix_containers/container_bridge

1 file changed

+1
-0
lines changed

test/case/infix_containers/container_bridge/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
{
3737
"name": f"{ifname}",
3838
"ipv4": {
39+
"forwarding": True,
3940
"address": [{
4041
"ip": f"{DUTIP}",
4142
"prefix-length": 24

0 commit comments

Comments
 (0)