Skip to content

Commit

Permalink
Update service-inuse-list when disconencting and applying new discove…
Browse files Browse the repository at this point in the history
…ry learnt

xmpp publishers.

Change-Id: Ic3839b5308d04d5f62e0a50bbc4830dbd9205bcc
Closes-Bug:1552277
  • Loading branch information
nipak committed Mar 4, 2016
1 parent b20f1d5 commit 646eae6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vnsw/agent/controller/controller_init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ void VNController::DisConnectControllerIfmapServer(uint8_t idx) {

//cleanup AgentXmppChannel
DeleteAgentXmppChannel(idx);
//Trigger removal from service inuse list for discovery
agent_->controller_xmpp_channel(idx)->UpdateConnectionInfo(xmps::TIMEDOUT);
agent_->reset_controller_xmpp_channel(idx);

//cleanup AgentIfmapXmppChannel
Expand Down

0 comments on commit 646eae6

Please sign in to comment.