Stale table 21 and table 220 entries 94/83594/8
authorRavindra Thakur <ravindra.nath.thakur@ericsson.com>
Tue, 11 Jun 2019 10:11:37 +0000 (15:41 +0530)
committerAbhinav Gupta <abhinav.gupta@ericsson.com>
Mon, 25 Nov 2019 07:14:17 +0000 (07:14 +0000)
commit88f571c455b926e587eefb154e8e331020ec6ee5
tree2e69cc2251a4cd59988a700b58b6c56e1f4ed8b1
parent4b9b5cf1cc8a44c347af60fd24082b9f16d5d1d5
Stale table 21 and table 220 entries

RC: getPrimaryRd() with vpnInstance is used is delete path.
which does not return the correct RD in delete path.

Fix: use getVpnRd() with vpnName  for vpn op data lookup.

The variant with vpnName as lookup key uses vpn-instance-to-vpn-id
DS to read the primary RD which gives correct primary RD value.

Change-Id: I27467be7f0ea5eb6a05e5a5153887f6bbb06bac0
Signed-off-by: Ravindra Thakur <ravindra.nath.thakur@ericsson.com>
Signed-off-by: Arun Sharma <arun.e.sharma@ericsson.com>
vpnmanager/impl/src/main/java/org/opendaylight/netvirt/vpnmanager/VpnInstanceListener.java