Bug 7607 : Bgp route not getting sync-up with fib 47/54347/2
authorVyshakh Krishnan CH <vyshakh.krishnan.c.h@ericsson.com>
Wed, 5 Apr 2017 09:20:48 +0000 (14:50 +0530)
committerSam Hague <shague@redhat.com>
Wed, 5 Apr 2017 14:36:12 +0000 (14:36 +0000)
commit5763e4a78f8491c4bbe321a2e319aeca25e28184
tree52845da72f262d7097ac0e87888f9a8ede148cbc
parent36af64f6ae472f9bca3068663205f2d9c20decd8
Bug 7607 : Bgp route not getting sync-up with fib

Problem:
ODL bgp route not getting sync-up with fib table

Analysis and Fix:
In BGPManger, configs are replayed to quagga in BGP reactor.
BGP reactor gets trigered whenever ebgp.yang data model gets added.
on configuring a VPN also ebgp gets added and replay is called. But no bgp
configs are there to replay. Now when BGP config is added later, no replay
will happen and routes will be missed
So moving the config replay to ASID reactor.

Change-Id: I1cef1415759267ebfe96ac9fbc28cf84b58577ed
Signed-off-by: Vyshakh Krishnan CH <vyshakh.krishnan.c.h@ericsson.com>
vpnservice/bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/netvirt/bgpmanager/BgpConfigurationManager.java
vpnservice/bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/netvirt/bgpmanager/commands/Router.java