cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Angus <paul.an...@shapeblue.com>
Subject RE: How to bind CloudStack host object with vCenter host
Date Mon, 20 Mar 2017 14:28:07 GMT
Hi Igor,

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


Kind regards,

Paul Angus

paul.angus@shapeblue.comĀ 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-----Original Message-----
From: Igor Golikov [mailto:igolikov@gmail.com] 
Sent: 20 March 2017 13:00
To: users@cloudstack.apache.org
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
Mime
View raw message