Hi,
I am kind of novice into vpshere SDK for perl. I have a requirement to automate migration of virtual adapters (vmk0/vmk1) to dvs port groups (using vsphere sdk for perl). Can somebody guide me to some pointers to start with. I have automated "adding host phy nics to DVS uplink port group" and "adding VMnics to dvs port groups". I kind of need a method which combines both, to add host virtual adapters (vmk0/vmk1) to dvs port groups.
We have DistributedVirtualSwitchHostMemberPnicSpec and DistributedVirtualSwitchHostMemberPnicBacking to add physical adapters into dvs (call to ReconfigureDVS). However, I did not find any such thing to add virtual adapters. Any help to get me started would be appreciated.
Thanks,
Pranesh