Bug 4731: Routes from BGP application peer not populated to example-ipv4-topology... 12/36312/2
authorMilos Fabian <milfabia@cisco.com>
Wed, 16 Mar 2016 17:50:48 +0000 (18:50 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 24 Mar 2016 08:30:04 +0000 (08:30 +0000)
commitc1d773731c031a1775fbda56a5551ecdca3a8e55
treecb08445e3001aa9bea793f17283f071f562397ec
parentc536a6cea582a90af3644a8f21886a2d0ee508be
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>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/EffectiveRibInWriter.java