Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251495

vmnic info for the distributedportgroup of type uplink using web services sdk

$
0
0

Hi,

I am looking for the api which could give me the vmic name/s attached to an uplink distributed port group.

I am using sdk5.1.

I am able to fetch the uplinkportgroups for a dvs but i am not able to link that to a vmnic.

What I am looking for is an equivivalent of the esxcfg -l command which lists the property of a distributed vswitch.

 

here is the output for esxcfg command

 

 

DVS Name         Num Ports   Used Ports  Configured Ports  MTU     Uplinks  
dvs-test              256                      22            256               1500    vmnic0 <--- I want to fetch this info via webapi but i am not able to locate it.
Appreciate anyones help on this
Thanks
      

Viewing all articles
Browse latest Browse all 251495

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>