Bug 4731: Routes from BGP application peer not populated to example-ipv4-topology... 20/36720/3
authorMilos Fabian <milfabia@cisco.com>
Wed, 16 Mar 2016 17:50:48 +0000 (18:50 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Sat, 26 Mar 2016 10:56:40 +0000 (10:56 +0000)
commit0a14b3f0f8fcc43294a7c18d47f545c82c7213cd
tree26263e39be99df3ceef9e894113b890431ddfdae
parent2257da5c274a0aef2983eba266c444fffe81253a
Bug 4731: Routes from BGP application peer not populated to example-ipv4-topology in case of zero routes initial POST request

Write routes into the eff-rib-in only in a case when
there are some routes in data change, so do not
overwrite empty routes table created before.

Change-Id: Ib3718b4bdee2d738514a0248eee11f0e9c8afbe0
Signed-off-by: Milos Fabian <milfabia@cisco.com>
(cherry picked from commit c1d773731c031a1775fbda56a5551ecdca3a8e55)
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/EffectiveRibInWriter.java