Revision history [back]

click to hide/show revision 1
initial version

what is the hostId parameter in server details?


How can I match a hypervisor (IDs are integers: 1,2,3...) to a server? I can get the hypervisor name from the server details, but i'd like to get the ID of the hypervisor (host).

I know I can do the opposite - get the servers of each hypervisor, but I wonder what the hostId is referencing.

server details:

{"server": {"status": "ACTIVE", "updated": "2013-10-29T12:32:20Z",

"hostId": "380a3cb5901763eaca27cc2c93713d93b79c8fed0e8d926e25cfd64a", ...

hypervisor details:

{ "hypervisor":{ "id":1, ...