Bug 6992 - legacy: ignore IPv6 router interface 75/47175/4
authorIsaku Yamahata <isaku.yamahata@intel.com>
Tue, 18 Oct 2016 19:18:02 +0000 (12:18 -0700)
committerIsaku Yamahata <isaku.yamahata@intel.com>
Thu, 20 Oct 2016 01:50:49 +0000 (18:50 -0700)
commita649a85da5d16d917a6c6bf3982c3a93e22de228
tree7f6a1f41088134fb3f7b05faa5e1e7cb805e9457
parent9846ee771646c6352d2f34608363d040df5fd4d7
Bug 6992 - legacy: ignore IPv6 router interface

Since NeutronL3Adapter doesn't know ipv6, it should ignore
ipv6 router interface. Especially floating ip doesn't work
depending on the situation.

Neutron Router can be attached with both of IPv6 only port and IPv4 only
port. IPv6 only port should be ignored when programming for floatingip.
Otherwise networkIdToRouterMacCache can populated with mac address of
IPv6 only port, and programFlowsForNeutronRouterInterface() may program
flow with IPv4 address with mac address of IPv6 port. It should use
mac address of the IPv4 port. Otherwise floatingip is broken.

Change-Id: I87ec4e2537666f5db6826ca93be8be1793157ec7
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
openstack/net-virt/src/main/java/org/opendaylight/netvirt/openstack/netvirt/impl/NeutronL3Adapter.java