Fix EffectiveRibInWriter overwriting the entire route table 63/22363/2
authorIveta Halanova <iveta.halanova@pantheon.sk>
Thu, 11 Jun 2015 13:36:28 +0000 (15:36 +0200)
committerIveta Halanova <iveta.halanova@pantheon.sk>
Thu, 11 Jun 2015 13:59:40 +0000 (15:59 +0200)
commit48fcd5d5dc2e305b499322fca1680b214ab9e333
treeb9e848f6dd6ecd4998daa6136142af6c31b788ce
parentf5f4e71bda9883feb096bd74717c5fc98f0a352e
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: I1297afc878d3d8bf9d0c0f461244cc4414f1caa1
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
Signed-off-by: Iveta Halanova <iveta.halanova@pantheon.sk>
(cherry picked from commit 1d6e02186ac85eff5734db59d3cbf5017214ddce)
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/EffectiveRibInWriter.java