Closed ormergi closed 9 months ago
/cc @EdDev @AlonaKaplan
Changes: add failing test when both IPAM and disable-interface parameters are set
have you checked if there is something to do for the check command? Does it verify that the link is up?
Hi @mlguerrero12 thanks for the review :grinning: , from what I saw the check cmd does not check the interface state at all.
From what I saw the check cmd does not check the interface state at
Hah. Oops :-). Well, that would be good to fix, but it could be in a separate PR :grimacing:
Hey @squeed please take another look, let me know if there is anything else we should do :slightly_smiling_face:
Updating docs PR https://github.com/containernetworking/cni.dev/pull/137
Thanks for your contribution!
The new
disableContainerInterface
parameter is added to the bridge plugin to enable setting the container interface state down.When the parameter is enabled, the container interface (veth peer that is placed at the container ns) remain down (i.e: disabled). The bridge and host peer interfaces state are not affected by the parameter.
Notes for reviewers:
Related Issue: https://github.com/containernetworking/plugins/issues/951