Hi all-
Is there an API that I can query the vCenter to get the IPv4 subnet corresponding to a port-group in a vswitch or a vDS?
Thanks.
There's no such thing as an IPv4 subnet corresponding to a port group. Port groups reference VLAN IDs. The L3 addressing you choose to use on that segment is up to you and not visible or configured in vSphere.