Ask Your Question

How to calculate the number of Hosts per node ? [closed]

asked 2014-07-14 23:25:15 -0700

screwgoth gravatar image

Neither the SwitchManager nor Topology REST APIs help to figure out the number of hosts associated with each Node. The only way to do it seems to be to get the hosts from HostTracker and match the nodeID or nodeConnectorID agains the nodes from SwitchManager. Is this the only way of going about it, or am I missing something here ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by screwgoth
close date 2014-11-17 04:38:10

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-25 17:23:51 -0700

Madhu gravatar image

Yes. The only module that currently handles the Host information is HostTracker and the APIs are used the way you have explained.

But this can be improved based on requirements. Please open an enhancement bug in and we can get to it. Or you can provide a patch as well to the controller project.

edit flag offensive delete publish link more

Question Tools

1 follower


Asked: 2014-07-14 23:25:15 -0700

Seen: 81 times

Last updated: Jul 25 '14