Delete stale hidden IPs in FIB. 94/74394/17
authorSomashekar Byrappa <somashekar.b@altencalsoftlabs.com>
Tue, 24 Jul 2018 12:42:34 +0000 (18:12 +0530)
committerSam Hague <shague@redhat.com>
Wed, 5 Sep 2018 11:37:17 +0000 (11:37 +0000)
commit66ee603d2b62c26dd0ccc316b77b7f4247b2cd81
tree5cbb45cffbdb3b05e0ed9ad3541a7715c0897686
parent71f016071c917f5076ca2a82d4fb24b0c7a33ca4
Delete stale hidden IPs in FIB.

Issue:
------
When VM is deleted without port being deleted, learnt hidden IPs are
not removed from the adjacency list. When another VM with same port is
created, the learnt hidden IPs which existed in  the adjacency list
will result into programming these IPs in FIB.
This issue exists for both IPv4 and IPv6 addresses.

Fix:
----
Removed learnt hidden IPs from the adjacency list during
processVpnInterfaceDown().

JIRA: NETVIRT-1363

Change-Id: I606f49105c5eee5f76bbae908eb626d4ed346a23
Signed-off-by: Somashekar Byrappa <somashekar.b@altencalsoftlabs.com>
vpnmanager/impl/src/main/java/org/opendaylight/netvirt/vpnmanager/VpnUtil.java
vpnmanager/impl/src/main/java/org/opendaylight/netvirt/vpnmanager/iplearn/IpMonitorStopTask.java