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”
Tag Archives: Distributed Virtual Switch
vCO – Create Distributed Virtual Port Group
Here is the code for creating a distributed virtual port group. Input is of type VC:VmwareDistributedVirtualSwitch
vCO – Create Distributed Virtual Switch (DVS)
Here is the code for creating a distributed virtual switch. Input is sdkConnection. The code assumes you have only the root network folder.