NETVIRT-1410 Vrf advertised after routes to DC-GW 20/77320/7
authoreupakir <kiran.n.upadhyaya@ericsson.com>
Mon, 29 Oct 2018 13:24:18 +0000 (18:54 +0530)
committerSam Hague <shague@redhat.com>
Thu, 27 Dec 2018 16:39:24 +0000 (16:39 +0000)
commit7309203d50c6f8a6c944714f22a6428a34af1026
tree5c6e9a6a4c190ab5d27837869aca5bbbcf6e77c6
parent6ccc0a474ab46bad8fb89ba591841919de478778
NETVIRT-1410 Vrf advertised after routes to DC-GW

On a Router/Network association, the vpn-op update to configure IpFamily
was being done after the creation of Vpn Interfaces. THis was leading to
the Networks being written to bgp before the vrf, causing failure in
advertisement of the route to DC-Gw.
This fix swaps the order of IpFamily update and VPN Interface creation.

Change-Id: I52ebf0b5abd9869dfe1c08b2f2511d0ec8468a02
Signed-off-by: eupakir <kiran.n.upadhyaya@ericsson.com>
fibmanager/impl/src/main/java/org/opendaylight/netvirt/fibmanager/VrfEntryListener.java
neutronvpn/impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronvpnManager.java