[ovs-dev] [PATCH v2] docker: Integrate docker containers with Open vSwitch.

Flavio Leitner fbl at redhat.com
Wed Oct 29 13:59:19 UTC 2014


On Wed, Oct 29, 2014 at 06:43:10AM -0700, Gurucharan Shetty wrote:
> On Wed, Oct 29, 2014 at 6:29 AM, Flavio Leitner <fbl at redhat.com> wrote:
> > On Wed, Oct 29, 2014 at 06:09:10AM -0700, Gurucharan Shetty wrote:
> >> On Wed, Oct 29, 2014 at 5:49 AM, Flavio Leitner <fbl at redhat.com> wrote:
> >> > On Thu, Oct 16, 2014 at 01:26:37AM -0700, Gurucharan Shetty wrote:
> >> >> Open vSwitch does not have native integration with Docker.
> >> >> INSTALL.Docker explains how Open vSwitch can be integrated
> >> >> with docker non-natively.
> >> >>
> >> >> ovs-docker is a helper script to add network interfaces to
> >> >> docker containers and to attach them as ports to OVS bridge.
> >> >> This script can be further enhanced as we understand different
> >> >> use cases.
> >> >>
> >> >> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
> >> >
> >> > Docker supports Linux bridge and it seems to me that it
> >> > should also be changed to support Open vSwitch, not the
> >> > other way around.
> >> >
> >> > I did a quick hack sort of replacing brctl commands with
> >> > ovs-vsctl commands to see if it works here:
> >> > https://github.com/fleitner/docker-ovs/tree/v1.2.0-ovs
> >> >
> >> > I am quite sure there are other forks doing something like that.
> >> >
> >> > My concern is with long term support/maintenance of this
> >> > because as soon as OVS support gets integrated to Docker,
> >> > we would have to keep supporting this method anyway.
> >> I did not intend to support this long term. My plan is to update the
> >> INSTALL.Docker if/when there is native integration of Docker with Open
> >> vSwitch.
> >
> > What about environments built on top this script?
> >
> > That's why I am suggesting to have a separate project for it
> > and not really attach to OVS repo.
> The patch has been committed a couple of weeks ago. We have previously
> made features redundant. e,g., bridge compatibility. The current
> script provides a way to integrate with Open vSwitch till a native
> integration is available, so I see it as a plus.

It is a plus, no questions about that.

> > At least, the documentation should warn about the future.
> I agree. I will send out a patch.

Thanks Gurucharan!
fbl



More information about the dev mailing list