Process host pending list on a Cache sync update. 12/812/2
authorMadhu Venugopal <vmadhu@cisco.com>
Wed, 7 Aug 2013 05:27:20 +0000 (22:27 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 7 Aug 2013 07:43:53 +0000 (07:43 +0000)
commit6841bbe558146312e1568fc897a054e007a3ba45
tree4bf69264b6eda204fabd520753be7462672cb3f4
parent9d89e28b651597a03eabf1e629228292b7c2635c
Process host pending list on a Cache sync update.

In a Clustered Controller environment, with switches connected to different controllers, ARP messages originated from
a Controller may not see the ARP reply on the same controller. The ARP response from the Host might end up in another
controller. Hence it is not appropriate to expect responses from host to terminate in the originating controller.
discoverHost is one such method that has this wrong assumption. This fix is to listen to Active Cache update and
trigger a Pending list processing (In addition to existing code that just waits on a Future object for ARP response
on the local controller).

Change-Id: I4223db66ff75bbf4d60011c9581e4dff594c0a9c
Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
opendaylight/hosttracker/implementation/src/main/java/org/opendaylight/controller/hosttracker/internal/Activator.java
opendaylight/hosttracker/implementation/src/main/java/org/opendaylight/controller/hosttracker/internal/HostTracker.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.