Add a new network adapter and assign the nic to specified distributed switch portgroup How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step-by-step-guide-for-beginners/ #vSpherejavasdk #vSphereAPI #Java #addnictodvs #MIT #addvmnic #vSphereManagementSDK
AddandReconfigVMNicsToDVS.java
2 Comments - https://code.vmware.com/samples/1824/assign-dvswitch-portgroup-to-the-specified-vm-network-adapter?
Description: This method is used to create dvPortgroup in the specified dvSwitch Inputs: 1) DVSwitch name 2) DVPortgroup name to create in the dvSwitch #addportgroup #vSphereAPI #dvportgroup #vSphere #Java #VIJavaAPI #vSphereManagementSDK #yavijavaapi #MIT
AddDVPortGroup.java
Add a new VM network adapter and assign the nic to specified standard switch portgroup
AddandReconfigVMNicsToVSS.java