if (dvPortgroupInfo.uplinkPortgroup)
{
throw new RuntimeException("The vDS portgroup's uplinkPortgroup should not be null");
}
DistributedVirtualPortgroupPortgroupType portgroupType = DistributedVirtualPortgroupPortgroupType.valueOf(dvPortgroupInfo.portgroupType);
String prodLineId = vm.getServerConnection().getServiceInstance().getAboutInfo().getProductLineId();
// standalone host cannot do early or late binding
if (prodLineId.indexOf("ESX")!=-1 &&
(portgroupType == DistributedVirtualPortgroupPortgroupType.earlyBinding ||