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

Coding help finding a value for network DVS Configuration

$
0
0

Good day all,

 

I have a workflow that migrates the host and vm's from one vCenter to another.  The workflow get a list of all the VM's, along with the folder it is in and the name of the portgroup it is using. The workflow then disconnects the host on the source vCenter, removes one of the physical nics from the dvs, add the host to the new vCenter and attaches the pnic that was removed to the new DVS then loops through the VM's putting the VM in the correct folder and connecting the the new DVS then migrated the vmkernel ports to the new DVS and this is now where I am stuck

 

To move the other pnics into the new DVS the VcHostNetworkConfig() wants the uplinkPortKey and I just seem to be having all sorts of problems coming up with that value and was hoping that someone might be able to point me in the right direction

 

Thanks

 

 

Steve


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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