HostTracker immediately ages out hosts on coordinator 05/1005/1
authorGiovanni Meo <gmeo@cisco.com>
Mon, 26 Aug 2013 17:53:20 +0000 (19:53 +0200)
committerGiovanni Meo <gmeo@cisco.com>
Mon, 26 Aug 2013 17:53:20 +0000 (19:53 +0200)
- Let say an Host 1.1.4.1 is learnt by CTRL2 and CTRL1 is doing
cleanup of the host tracker database, the CTRL1 was cleaning
immediately the hosts learnt on other controllers because the host
count was not serialized appropriately

Change-Id: I1a0542c5e44cf3fc3f33d6fe95d129e83825cc8c
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
opendaylight/hosttracker/api/src/main/java/org/opendaylight/controller/hosttracker/hostAware/HostNodeConnector.java

index 893648cde8b7180cb054fc5ddb45ecaf3611894d..206124b93bf67a2fc995e960e36bc0bdae21942a 100644 (file)
@@ -35,7 +35,7 @@ public class HostNodeConnector extends Host implements Serializable {
     private short vlan;
     @XmlElement
     private boolean staticHost;
-    private transient short arpSendCountDown;
+    private short arpSendCountDown;
 
     /**
      * Private constructor used for JAXB mapping