ECMP-fib entry not populated correctly 37/82937/3
authorAmitesh Soni <amitesh.soni@ericsson.com>
Fri, 5 Jul 2019 06:48:59 +0000 (12:18 +0530)
committerFaseela K <faseela.k@ericsson.com>
Fri, 12 Jul 2019 09:55:11 +0000 (09:55 +0000)
commit7aad417dbcf4f02829f94c96a166a4c04ff39316
tree56fdcbed15bdbb0ab36266d8e26197eca9a0abc9
parentc7b88e2a9c2674eb0559c3167aa9e01f885d17ff
ECMP-fib entry not populated correctly

1. File: NeutronRouterChangeListener
- During Router Update, consolidating the original and updated routes,
the logics for calculation of the Routes to be added and routes to be
deleted were incorrect. It was deleting everything from the list
containing Routes to be deleted.

2. File: VpnInterfaceManager
- While deletion of adjacencies from odl-l3vpn:vpn-interface-op-data
datastore,  merge call was not removing it. Now using delete instead,
which is working.

3. File: VpnUtil
- Added InstanceIdentifier builder for reaching the correct adjacency
which would be deleted after merge.

Change-Id: I7299e642484c97dada3f966153b88d64c0cabf20
Signed-off-by: Amitesh Soni <amitesh.soni@ericsson.com>
neutronvpn/impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronRouterChangeListener.java
vpnmanager/impl/src/main/java/org/opendaylight/netvirt/vpnmanager/VpnInterfaceManager.java
vpnmanager/impl/src/main/java/org/opendaylight/netvirt/vpnmanager/VpnUtil.java