Wi5/odin-wi5-controller

About timeout

Opened this issue · 0 comments

Hi.
In src/main/java/net/floodlightcontroller/odin/master/OdinMaster.java receivePing function line 104, it called the agentManager.receivePing(odinAgentAddr),which will set a timer to check if the agent has timed out. In line 136 it will update the info of that agent.
I add a line in 136 to inform me that when the info of agent has been updated.
log.info("Successfully Update: "+ odinAgentAddr.getHostAddress());

But it seem that the agent still timeout though ODIN_MASTER has received the ping Message.
screenshot from 2017-05-11 19 04 50

Please give me some guide. THX.