BUG-4438: When delete a route from the app RIB transaction chain brokes 80/28680/1
authorClaudio D. Gasparini <cgaspari@cisco.com>
Thu, 22 Oct 2015 08:04:57 +0000 (10:04 +0200)
committerClaudio D. Gasparini <cgaspari@cisco.com>
Thu, 22 Oct 2015 08:04:57 +0000 (10:04 +0200)
commit58974e64c68175b71ad36dc09141c44a0b43bf16
treef8339c53db313c7138238fb075c566ac1f8fb330
parent4136c561ff2c4c4e59ff82a332b63966341dcfdc
BUG-4438: When delete a route from the app RIB transaction chain brokes

When deleting routes from app RIB, transaction get broken, therefore
some routes keep stored in DS.
Fix by indentify type of modification applied under
routes in ApplicatioPeer and apply correct write transaction
instead of use 'put' with any of them.

Change-Id: Ia7ad615d5290ec4deed0cdadfcd0d0f64c99cc52
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/ApplicationPeer.java
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/EffectiveRibInWriter.java
bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/AbstractRIBTestSetup.java
bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/PeerTest.java