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
OK, I figured that out myself. To collect CDP information for physical nics on the host you can use:
Host.configManager.networkSystem.queryNetworkHint()
OK, I figured that out myself. To collect CDP information for physical nics on the host you can use:
Host.configManager.networkSystem.queryNetworkHint()