Hi Igor,

It's not exposed via the API, but the hosts are linked in the host_details 
table by guid ( ie HostSystem:[email protected]) which takes its value from 
the Object ID in vCenter (ie host-104).


Kind regards,

Paul Angus

[email protected] 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-----Original Message-----
From: Igor Golikov [mailto:[email protected]] 
Sent: 20 March 2017 13:00
To: [email protected]
Subject: How to bind CloudStack host object with vCenter host

Hello,


Is it possible to bind CloudStack host object provided by CloudStack API with 
VMWare host object provided by VMWare API (or MOB)?
Does CloudStack store somewhere "external" UUIDs?

I see that UUIDs are different, only host names are same. But host name is not 
unique

CloudStack API:

<host>
        <id>d58bfab1-e169-460f-b98f-c62b8dd9ef60</id>
        <name>some.host.acme.com</name>
        <state>Up</state>
        <type>Routing</type>

VMware:
name string "some.host.acme.com"
uuid string "564d2545-2480-c18b-fced-87cd460dc16b"

Thanks, Igor

Reply via email to