Bug8484: Non-NAPT Group action is drop for router associated with BGP-VPN 63/57263/4
authorkarthikeyan <karthikeyan.k@altencalsoftlabs.com>
Wed, 17 May 2017 11:28:14 +0000 (16:58 +0530)
committerSam Hague <shague@redhat.com>
Thu, 18 May 2017 23:43:29 +0000 (23:43 +0000)
commit0a96b635ec6a32aa0cc5434b203e1d039d2fdc0d
treeb14241782828a7e30dcde3c8a26a4ac3faf003d9
parentdcfb2aa394062f2a29766d41c1623eb44117e337
Bug8484: Non-NAPT Group action is drop for router associated with BGP-VPN

Problem Description:
======================
Non-NAPT to NAPT VM Traffic is getting dropped at Non-NAPT Group level
when router is being associated with private BGP-VPN.

Solution:
===========
When ever Vxlan tunnel got "down" followed by "up" event between Non-NAPT to
Napt Switch happened, Non-Napt group got re-created through tunnel
interface state listener. In this use case is not been properly having the
code logic for if the router with private bgp-vpn configured.

Added the proper code for creating tunnel bucket information for Non-NAPT
groups got re-created during tunnel state changed.

Change-Id: I509eeda9041d5e1b170e45554b3d9f661e6091fd
Signed-off-by: karthikeyan <karthikeyan.k@altencalsoftlabs.com>
vpnservice/natservice/natservice-impl/src/main/java/org/opendaylight/netvirt/natservice/internal/ExternalRoutersListener.java
vpnservice/natservice/natservice-impl/src/main/java/org/opendaylight/netvirt/natservice/internal/NatTunnelInterfaceStateListener.java