summaryrefslogtreecommitdiff
path: root/python/commands/qpid-cluster
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-02-05 23:02:45 +0000
committerAlan Conway <aconway@apache.org>2010-02-05 23:02:45 +0000
commit5dd3cd3ae035673bf6003b6422712663ffa57fe5 (patch)
tree0fd603d1e693b5c75ff41a86ed0051b04fa99f02 /python/commands/qpid-cluster
parentf5408c46da630d308f6e2a80b8b228cd398b89b4 (diff)
downloadqpid-python-5dd3cd3ae035673bf6003b6422712663ffa57fe5.tar.gz
Consistent connection names across a cluster.
- use the same host:port for connections and their shadows. - add shadow property to managment connection to identify shadows. - updated qpid-stat and qpid-cluster to filter on shadow property. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@907123 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/commands/qpid-cluster')
-rwxr-xr-xpython/commands/qpid-cluster3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/commands/qpid-cluster b/python/commands/qpid-cluster
index 7afb7671b8..6d64765184 100755
--- a/python/commands/qpid-cluster
+++ b/python/commands/qpid-cluster
@@ -193,7 +193,6 @@ class BrokerManager:
self.qmf.delBroker(self.broker)
self.broker = None
self.brokers = []
- pattern = re.compile("^\\d+\\.\\d+\\.\\d+\\.\\d+:\\d+$")
idx = 0
for host in hostList:
@@ -209,7 +208,7 @@ class BrokerManager:
print "Clients on Member: ID=%s:" % displayList[idx]
connList = self.qmf.getObjects(_class="connection", _package="org.apache.qpid.broker", _broker=broker)
for conn in connList:
- if pattern.match(conn.address):
+ if not conn.shadow:
if self.config._numeric or self.config._delConn:
a = conn.address
else: