vCenter

 View Only
  • 1.  Getting host FQDN using vSphere Manangement SDK

    Posted May 16, 2017 01:47 PM

    I am using esxi hosts and vcenter 6.5

    and want to get the topology of the esxi hosts using LLDP from DVS and vCenter Management SDK.

    I can receive LLDP packet from hosts throw openflow switch, and it includes following information.

    As shown in above figure, host FQDN is shown as System Name field in LLDP packet.

    If I can get the FQDN of host from vCenter Management SDK, I can know which host is connected on which port of the switch.

    Also, I checked that host FQDN is shown in host summary tab of vCenter client UI.

    so, I surely thought that I can get the host FQDN using SDK.

    I tried to find it from HostSystem Managed Object, I couldn't get it.

    VMware vSphere 6.5 Documentation Library

    Is there a way to get FQDN information, or is there a way to find which host is connected on which port of the switch?

    Thanks in advance.



  • 2.  RE: Getting host FQDN using vSphere Manangement SDK
    Best Answer

    Posted May 17, 2017 04:50 AM

    It was located in HostDnsConfig

    VMware vSphere 6.5 Documentation Library