qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesh Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-251) GET-MGMT-NODES returns an empty list when there is only one router
Date Thu, 07 Apr 2016 21:33:25 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231111#comment-15231111
] 

Ganesh Murthy commented on DISPATCH-251:
----------------------------------------

The Management spec states the following 

{noformat}
If the request was successful then the statusCode MUST be 200 (OK) and the body of the message
MUST contain 
a list of addresses of other Management Nodes known by this Management Node.
{noformat}

Note the word "other". So, if there are two or more nodes in the router network, a GET-MGMT-NODES
request to one of the routers will return the list of management addresses of all the "other"
routers in the router network. If there is only one standalone router, there are no "other"
routers in the network, so a call to GET-MGMT-NODES returns an empty list.

Ernie, let me know what your thought are.

> GET-MGMT-NODES returns an empty list when there is only one router
> ------------------------------------------------------------------
>
>                 Key: DISPATCH-251
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-251
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Management Agent
>    Affects Versions: 0.6
>            Reporter: Ernest Allen
>            Assignee: Ganesh Murthy
>
> Start up a single router (from etc/qdrouterd.conf)
> run
>     qdmanage GET-MGMT-NODES
> an empty list is returned
> The node Id of the singe router should be returned



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message