This class is to enable vSphere Kubernetes cluster Description: -- - This class is used to enable vSphere Kubernetes cluster(supervisor cluster) on a given cluster using Java Rest APIs. - It supports both DHCP or STATICRANGE mode, for network configurations. - It automatically finds compatible virtual distributed switch and edgecluster(optional) on a given cluster. - It gives cluster compatibility reasons. - To use this class add below jars in the build path libraries/dependencies
EnableVsphereKubernetesCluster.java
* Description : Adds the VMkernel network adapter for all the hosts in the dvSwitch and assign them to dvPortgroup ports and also enable vMotion service in vmkernel nics using vSphere java API. Input: 1) DVSwitch name 2) DVPortgroup name #addvmkernel #vSpherejavasdk #enablevmotion #MIT #Java #vSphereManagementSDK #vmkernel #yavijavaapi #VIJavaAPI
AddVMkernelToHostsInDVS.java