How to get host ip address by host name

67 views
Skip to first unread message

ugan jha

unread,
Jan 9, 2017, 5:21:28 AM1/9/17
to pysphere
Actually i want to know ip address of the host which is hosting vcenter vm.

from virtual_machine.properties.runtime.host.name i get host name which is hosting vcenter but i am not sure how to get the ip of this host .

Can anyone suggest how to get this ?
Reply all
Reply to author
Forward
0 new messages