Comment 8 for bug 1449919

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10172
Committed: http://github.org/Juniper/contrail-vrouter/commit/95bc24f9e62d500894d7d657a2c44bca36519cf8
Submitter: Zuul
Branch: master

commit 95bc24f9e62d500894d7d657a2c44bca36519cf8
Author: Anand H. Krishnan <email address hidden>
Date: Fri May 8 14:24:37 2015 +0530

Make interface notifier to act only in default namespace

vRouter listens for netdevice register/unregister events so that it
can cleanup its view of interfaces that it uses. The way vRouter
identifies an interface is through the name of the interface.

When docker is run, docker also can create interfaces with the same
name and interface index, albeit in a different name space. In this
particular case, docker creates a veth pair, assigns name of "eth0"
to one part of the pair (that is used by the container) and at exit
deletes the interface. vRouter wrongly assumes that the "eth0" delete
is really for the "eth0" in the default name space and detaches the
interface from vRouter.

Change-Id: I2ba384ba2b85f19f8e666d858da0ff443dacc7ec
Closes-BUG: #1449919