VMware {code} Community
Michael_Michae1
Contributor
Contributor

find out all IPs for each VM using VI SDK 25 or vijava2b220090321

I'm trying to use VI SDK 25 Java and vijava2b220090321. I have a question . I could search out total number of network cards for each VM , no all IPs but one for each VM . who knows how to find out all IPs for each VM using any of the above 2 packages ?

Thanks

Michael

Tags (4)
Reply
0 Kudos
4 Replies
lamw
Community Manager
Community Manager

Hi Michael,

There is a dedicated forum for the VI SDK for Java that you could post in to get some help: http://communities.vmware.com/community/developer/java_toolkit

If you're looking at the right property of the VM for the IP Address, also make sure that your VM(s) has the latest VMware Tools installed, this information along with other guest properties are only available when VMware Tools is installed.

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Michael_Michae1
Contributor
Contributor

the problem is resolved

Reply
0 Kudos
Texiwill
Leadership
Leadership

Hello,

Moved to the Java SDK forum.


Best regards,
Edward L. Haletky
VMware Communities User Moderator, VMware vExpert 2009
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
Blue Gears and SearchVMware Pro Blogs -- Top Virtualization Security Links -- Virtualization Security Round Table Podcast

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Michael_Michae1
Contributor
Contributor

GuestNicInfo has method of getIpAddress() to collect IP address .

Reply
0 Kudos