Fix to advertise VRF routes from DC-GW 46/73646/3
authoreswanit <swati.udhavrao.niture@ericsson.com>
Mon, 11 Jun 2018 05:27:48 +0000 (10:57 +0530)
committerSam Hague <shague@redhat.com>
Tue, 3 Jul 2018 17:52:00 +0000 (17:52 +0000)
commitd034ac5496316a5a0efe051abb039a53ce7724de
tree006e4cb115676f2c6e60f02571c771d2457f70e5
parentb801006429a556db27b0015b7ff4e30c4a90ea10
Fix to advertise VRF routes from DC-GW

VRF routes from DC-GW is not advertised
to ODL primary RDs

Previously, when some routes are advertised from DC-GW
to quagga. since it was imported by a wrong RD which is
not primary, destination prefix (advertised by DC-GW)
in vrf-entry of fib was under wrong RD.

This is fixed now by checking if RD equals primary RD
(while advertising routes to quagga bgp), then send
an import RTs list, otherwise send an empty list.

Change-Id: I268e5da85df2c1115ef1549b1ff97514d31b4f58
Signed-off-by: eswanit <swati.udhavrao.niture@ericsson.com>
vpnmanager/impl/src/main/java/org/opendaylight/netvirt/vpnmanager/VpnOpStatusListener.java