VMware Cloud Community
KGadowski
Enthusiast
Enthusiast
Jump to solution

vmnic & Observed IP ranges - how to determine?

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

Reply
0 Kudos
1 Solution

Accepted Solutions
KGadowski
Enthusiast
Enthusiast
Jump to solution

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

Reply
0 Kudos
1 Reply
KGadowski
Enthusiast
Enthusiast
Jump to solution

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

Host.configManager.networkSystem.queryNetworkHint()

Reply
0 Kudos