Description: Adds specified number of ESXi hosts into dvSwitch using vSphere java API. Here it will find the first free pnic from each ESXi host and then add it to Uplink1 otherwise it will skip that host.
*Input & Steps:: 1) Provide the dvSwitch name(in dvsName) and list of host to add (in hostNames) -- addHostsintoDVS(dvsName,hostNames) 2) It gets DVSwitch object from the dvsName 3) For each host finds the free physical nics.(it will find the free pnics from the hosts vSwitch & proxy switch) 4) Associate first free pnic to the the dvs Uplink1 5) ReconfigureDvs to add above free pnic to the dvs Uplink1. -- reconfigureDvs_Task(dvsConfigSpec)