Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

adapter dvuplink assignment

$
0
0

I'm looking for a way to get the DVSwitch dvUplink and VMnic assignment. I can get this information from going to the switch below.

 

This gets me to the pnic...

// VcHostNetworkSystem

var networkSystem = host.configManager.networkSystem;

var networkInfo = networkSystem.networkInfo;  

var pnic = networkInfo.pnic;

for (var i in pnic){

  System.log("pnic.device: " + pnic[i].device); 

  System.log("pnic.key: " + pnic[i].key); 

  System.log("pnic.mac: " + pnic[i].mac); 

  System.log("pnic.spec: " + pnic[i].spec); 

System.log("--"); 

}

 

switch.png


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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