qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ernie Allen" <eal...@redhat.com>
Subject Review Request 15322: Add management interface to return the connections for a dispatch router
Date Thu, 07 Nov 2013 20:47:23 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15322/
-----------------------------------------------------------

Review request for qpid and Ted Ross.


Repository: qpid


Description
-------

Respond to a management request to display the list of connections for a dispatch router.
The router responds with the following info for each connection: 
container - the name of the router handling the request
state     - the state of the connection (Connecting, Opening, Operational, Failed, User) 
host      - the host of the connection's container 
port      - the post of the connection's container
sasl      - the sasl mechanism list of the connection's container
role      - the role of the connection's container

tools/src/py/qdstat was updated to honor the -c command line switch. 
./qdstat -c -b localhost:20001
  container  state        host     port   sasl       role
  ===========================================================
  QDR.A      Operational  0.0.0.0  20002  ANONYMOUS  inter-router
  QDR.A      Operational  0.0.0.0  20003  ANONYMOUS  inter-router
  QDR.A      Operational  0.0.0.0  20004  ANONYMOUS  inter-router


Diffs
-----

  /dispatch/trunk/src/server.c 1538673 
  /dispatch/trunk/src/server_private.h 1538673 
  /dispatch/trunk/tools/src/py/qdstat 1538673 

Diff: https://reviews.apache.org/r/15322/diff/


Testing
-------

Start a network of routers
Display connections using qdstat -c for each router
Verify connections match config file entries for each router
Kill a router in the network
Verify connections to the killed router are no longer listed
Restart the killed router
Verify connections to the restarted router are displayed


Thanks,

Ernie Allen


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message