BUG-4917 Ensure all OVS flows are deleted 29/34529/1
authorJosh <jhershbe@redhat.com>
Tue, 9 Feb 2016 09:31:48 +0000 (11:31 +0200)
committerAnil Vishnoi <vishnoianil@gmail.com>
Fri, 12 Feb 2016 01:59:18 +0000 (01:59 +0000)
commit5b15fc7960aafd8200052945076abd517de7ae65
tree657dafd1813af1649d9bd34cf73ef610811a0658
parent5aea3c01d6b54a0317d74bf50c45ed442b6a93df
BUG-4917 Ensure all OVS flows are deleted

This commit is basically a revert of this change:
https://git.opendaylight.org/gerrit/#/c/27521/
With that change the cache cleanup in fact never ran because the
port is removed before the code is actually run.
The bug for which that commit was a fix is resolved
with this code new commit as well.

In addition, updateL3ForNeutronPort() now allows
deleting flows even when networkId is not found
in networkIdToRouterMacCache. This takes care of
some of the DHCP issues.

Change-Id: Idc3c1ff4b57f5471615ccc6c627ca8f411c37db2
Signed-off-by: Josh <jhershbe@redhat.com>
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
(cherry picked from commit 5824899205c6eb36b45064a3a3f54668e1117a40)
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/impl/NeutronL3Adapter.java