Here is some code how to configure the vMotion address with a distributed virtual switch. Input parameter are my host and dvSwitch. I go through all portgroups and compare if it is called vmotion. If so I set IP and subnet. Hard coded so it is easier to understand, you probably want this also asContinue reading “vCO – Configure vMotion with Virtual Distributed Virtual Switch”
Here is the code for creating a distributed virtual port group. Input is of type VC:VmwareDistributedVirtualSwitch
Here is the code for creating a distributed virtual switch. Input is sdkConnection. The code assumes you have only the root network folder.
Well this is my very first blog ever. Actually this is a reply to a blog on the mighty virtualization blog from Christian Johannsen on http://mighty-virtualization.blogspot.com/2011/01/vco-get-all-distributed-virtual.html Blogspot for some reason did not let me post this code as a reply but I thought I do not want to leave my talent wasted (cough!) and post it asContinue reading “vCO – Another way of getting Distributed Virtual Switches”