Drop new xmpp connection for existing connection with same name
If the IP address is different, then it implies mis-configuration of
the xmpp agents. In such cases, drop new connection request and
retain existing connection intact
Since xmpp tasks run concurrently (across different IP addresses),
use a XmppConnectionManager scoped mutex to solve concurrency issues
among such parallel xmpp connection requests processing
Also increase severity of a couple of related log messages
Re-enable and fix few UTs that test this very exact scenario
Reviewed: https:/ /review. opencontrail. org/30922 github. com/Juniper/ contrail- controller/ commit/ 2a5ba530be83d8e c252f0c3f36bff5 a038c80823
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.1
commit 2a5ba530be83d8e c252f0c3f36bff5 a038c80823
Author: Ananth Suryanarayana <email address hidden>
Date: Mon May 1 15:52:14 2017 -0700
Drop new xmpp connection for existing connection with same name
If the IP address is different, then it implies mis-configuration of
the xmpp agents. In such cases, drop new connection request and
retain existing connection intact
Since xmpp tasks run concurrently (across different IP addresses), anager scoped mutex to solve concurrency issues
use a XmppConnectionM
among such parallel xmpp connection requests processing
Also increase severity of a couple of related log messages
Re-enable and fix few UTs that test this very exact scenario
Change-Id: Id65ea8ba9b4f94 bf8a566408c6fcb 2e66ee570d8
Closes-Bug: #1687096