Bug 8142 : DHCP timeout issue. 35/55135/2
authorVyshakh Krishnan CH <vyshakh.krishnan.c.h@ericsson.com>
Tue, 18 Apr 2017 08:12:21 +0000 (13:42 +0530)
committerSam Hague <shague@redhat.com>
Wed, 19 Apr 2017 22:42:25 +0000 (22:42 +0000)
commitf3b171c984c9e4b51c26d1fb8409b95ba49ca6de
tree7c1e45ae06823e6e6fe9f783cb9565cf3d42d495
parent34819334b9ef66593df81853cc9f95857161856d
Bug 8142 : DHCP timeout issue.

Issue:
stable/boron not usable - DHCP timeout

Analysis:
more than 5 thread were waiting on BGPConfigurationManager when BGP was
trying to send thrift messages to QBGP and QBGP is not up. BGP was
retrying it again and again. Meanwhile, services which call addPrefix is
getting blocked due to synchronized behavior of addPrefix.

Fix:
APIs exposed by BGP to other services - addPrefix, delPrefix, addvrf and
delVrf is made unsynchronized.

Change-Id: I6010b1eeef680b1f8d8908c2b9faf283b3827cfc
Signed-off-by: Vyshakh Krishnan CH <vyshakh.krishnan.c.h@ericsson.com>
vpnservice/bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/netvirt/bgpmanager/BgpConfigurationManager.java