commit 4992c1079ab1c3a53fec8e0d1464246fe972091e
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.
Reviewed: https:/ /review. opencontrail. org/10105 github. org/Juniper/ contrail- vrouter/ commit/ 4992c1079ab1c3a 53fec8e0d146424 6fe972091e
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 4992c1079ab1c3a 53fec8e0d146424 6fe972091e
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: I2ba384ba2b85f1 9f8e666d858da0f f443dacc7ec
Closes-BUG: #1449919