cni
cni copied to clipboard
Should the Bridge plugin be chained?
(credt to @dcbw for dreaming this up) Right now, the bridge plugin sets up a veth pair, ensuring the host-side is in a bridge. Theoretically, it should be able to add any reasonable host-side interface to a bridge.
As a motivating example, consider a tap interface created by a previous step in the plugin chain.
Currently, the container-side of the veth is not configured particularly differently from the standard veth plugin.
Perhaps, then, the bridge plugin should accept a PreviousResult if supplied, and create a veth if not?
👍 This makes a lot of sense, at least in the abstract.
I like this too
+1. Makes a lot of sense for taped (and other) devices.