BUG-4917 Ensure all OVS flows are deleted
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)
commit1bedc79c70edf75ff40f3146b0f4e49043adf500
treeace812bca124f64cf8b1a6fbda9dbfcf44a18d1c
parent984a003f17c87f881b4f79506d74979de8d5284d
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