BGPVPN subnet disassociation fails 74/91674/2
authorKarthikeyan Krishnan <karthikeyangceb007@gmail.com>
Mon, 27 Jul 2020 05:03:10 +0000 (10:33 +0530)
committerKarthikeyan Krishnan <karthikeyangceb007@gmail.com>
Mon, 27 Jul 2020 12:04:55 +0000 (12:04 +0000)
commit25548ba414b8571b1e57d4bd6f22346be3fc03b0
tree511ecba0bf0f36906f48d30cecfd031500f5776f
parent132c506852f2936ded55c702eb4a2fc1b985bec2
BGPVPN subnet disassociation fails

Issue:
======
Having a single HOT template to create/delete network, subnet, bgpvpn and
then to associate/dissassociate network to bgpvpn was leading to subnet
delete triggered by neutron out of order.
This fix improves resiliency of ODL incase such an orchestration is made.
The right mode of orchestration would be to have separate templates for
network/subnets and bgpvpns.

Solution:
=========
handleNeutronSubnetDeleted() method has been changed
properly to process BGPVPN disassociate from the network

Signed-off-by: Karthikeyan Krishnan <karthikeyangceb007@gmail.com>
Change-Id: I5de5c5b246f4ad925043d1a3d16d1b62ec75a242
neutronvpn/impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronSubnetChangeListener.java