KGadowski
Enthusiast
Enthusiast

vmnic & Observed IP ranges - how to determine?

Jump to solution

Hi,

I am in the middle of a process of configuring new standard vswitches on ESXi hosts using Orchestrator. I need to somehow determine which of the vmnics should be added to new vswitch. To do that I need to know what IP ranges each of them can see (see attached image). Could anyone help me determine the right JavaScript scripting object/attribute I could use for that?

Thanks,

K

0 Kudos
1 Solution

Accepted Solutions
KGadowski
Enthusiast
Enthusiast

OK, I figured that out myself. To collect CDP information for physical nics on the host you can use:

Host.configManager.networkSystem.queryNetworkHint()

View solution in original post

0 Kudos
1 Reply
KGadowski
Enthusiast
Enthusiast

OK, I figured that out myself. To collect CDP information for physical nics on the host you can use:

Host.configManager.networkSystem.queryNetworkHint()

0 Kudos