Fix EffectiveRibInWriter overwriting the entire route table 24/21924/8
authorDana Kutenicsova <dkutenic@cisco.com>
Fri, 5 Jun 2015 07:53:40 +0000 (09:53 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 8 Jun 2015 15:47:45 +0000 (15:47 +0000)
commit1d6e02186ac85eff5734db59d3cbf5017214ddce
treeafd9ce197540142a2dac24ae14a538feec091353
parentd6d82b4dd809cb63449bfd1f7de2491696612be2
Fix EffectiveRibInWriter overwriting the entire route table

The fall-through in SUBTREE_MODIFIED case means that for any new write we
replace the entire route table, which has the effect of LocRib having to
run route selection even on routes which have not changed.

Fix this by removing the fall-through and deal with individual routes as appropriate.

Change-Id: I847936025d21e63c91945380744832f7af16b3dc
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/EffectiveRibInWriter.java