Ernest Allen created DISPATCH-243:
-------------------------------------
Summary: Requesting information about a remote router returns info
about the connected router
Key: DISPATCH-243
URL: https://issues.apache.org/jira/browse/DISPATCH-243
Project: Qpid Dispatch
Issue Type: Bug
Components: Management Agent
Affects Versions: 0.6
Reporter: Ernest Allen
When connected to Router A, and making a request for info about Router B, the
info that is returned is for Router A.
I'm using the proton javascript binding rhea.js and making a QUERY request.
Here is Router B's log entry for the request.
Thu Mar 24 03:40:06 2016 AGENT (debug) Agent request
Message(address='amqp://0.0.0.0:5673/_topo/0/QDR.B/$management',
properties={'operation': 'QUERY', 'entityType': 'router', 'type':
'org.amqp.management', 'name': 'self'}, body={'attributeNames': []},
reply_to='amqp:/_topo/0/QDR.A/temp.43z0E5iKdp4hMed', correlation_id='60') on
link 0
(/home/eallen/workspace/qpid-dispatch/install/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:736)
Thu Mar 24 03:40:06 2016 AGENT (debug) Agent response:
Message(address='amqp:/_topo/0/QDR.A/temp.43z0E5iKdp4hMed',
properties={'statusDescription': 'OK', 'statusCode': 200}, body={'results':
[[4, 'router/QDR.A', 1, '0', 3, 0, 60, 0, 'QDR.A', 30, 'interior',
'org.apache.qpid.dispatch.router', 0, 60, 'router/QDR.A']], 'attributeNames':
[u'raIntervalFlux', u'name', u'helloInterval', u'area', u'helloMaxAge',
u'linkCount', u'remoteLsMaxAge', u'addrCount', u'routerId', u'raInterval',
u'mode', u'type', u'nodeCount', u'mobileAddrMaxAge', u'identity']},
reply_to=None, correlation_id='60')
Responding to:
Message(address='amqp://0.0.0.0:5673/_topo/0/QDR.B/$management',
properties={'operation': 'QUERY', 'entityType': 'router', 'type':
'org.amqp.management', 'name': 'self'}, body={'attributeNames': []},
reply_to='amqp:/_topo/0/QDR.A/temp.43z0E5iKdp4hMed', correlation_id='60')
(/home/eallen/workspace/qpid-dispatch/install/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:715)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]