VMware Cloud Community
lawrend
Contributor
Contributor

Want to Link vApp Networks with the vSphere VDPortgroup Created when network is powered up

Hello

I am needing to get a listing of vApp Networks, via "Get-civappnetwork" and compare this to the networks created in vSphere, when these virtual networks are powered up.


You can see the vSphere Virtual Distributed Port group created by doing a "Get-VDPortgroup".

example:

vApp network                     vSphere VDPortgroup

(Get-civappnetwork)          (Get-VDPortgroup)           

network-1a                         vxw-dvs-51-virtualwire-150-sid-8003-dvs.VCDVS[network-1a]-[numbers and letters]     example ( -64723045-353d-d45g-33434)

network-2a                         vxw-dvs-51-virtualwire-150-sid-8003-dvs.VCDVS[network-2a]-[numbers and letters]

as you can see from above, the vApp network name appears in the vSphere VDPortgroup name, but the vSphere VDPortgroup name has an unknown quantity of numbers, letters and dashes at the end of the string.

I would like to be able to get the vApp Network name, and find the corresponding VDPortGroup name, or vice versa.

thanks

David

Reply
0 Kudos
1 Reply
mattelliott
Contributor
Contributor

Bumping this. I'm trying to find a good way to accomplish this as well. The best I can figure out right now is to search through all of the port group names to see if there is a match on the org network name. That'll work but it's not ideal.

Reply
0 Kudos