cni icon indicating copy to clipboard operation
cni copied to clipboard

Should the Bridge plugin be chained?

Open squeed opened this issue 7 years ago • 3 comments

(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?

squeed avatar Mar 02 '17 13:03 squeed

👍 This makes a lot of sense, at least in the abstract.

rosenhouse avatar Mar 02 '17 18:03 rosenhouse

I like this too

tomdee avatar Mar 09 '17 17:03 tomdee

+1. Makes a lot of sense for taped (and other) devices.

feiskyer avatar Apr 26 '17 05:04 feiskyer