You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (clusterHypervisor.equals(HypervisorType.KVM)) {
1249
1249
logger.debug("The cluster {} where the VM is deployed uses the {} hypervisor. Therefore, the {} setting value [{}] will be used.", cluster.getName(), clusterHypervisor, VirtualMachineMaxNicsKvm, VirtualMachineMaxNicsKvm.valueIn(cluster.getId()));
if (clusterHypervisor.equals(HypervisorType.VMware)) {
1254
1254
logger.debug("The cluster {} where the VM is deployed uses the {} hypervisor. Therefore, the {} setting value [{}] will be used.", cluster.getName(), clusterHypervisor, VirtualMachineMaxNicsKvm, VirtualMachineMaxNicsVmware.valueIn(cluster.getId()));
if (clusterHypervisor.equals(HypervisorType.XenServer)) {
1259
1259
logger.debug("The cluster {} where the VM is deployed uses the {} hypervisor. Therefore, the {} setting value [{}] will be used.", cluster.getName(), clusterHypervisor, VirtualMachineMaxNicsXenserver, VirtualMachineMaxNicsXenserver.valueIn(cluster.getId()));
if (virtualMachineHypervisorType.equals(HypervisorType.KVM)) {
1276
1276
logger.debug("Using the {} setting global value {} as the VM {} has the {} hypervisor type and is not deployed on either a host or a cluster.", VirtualMachineMaxNicsKvm, VirtualMachineMaxNicsKvm.value(), virtualMachine.getUuid(), virtualMachineHypervisorType);
1277
-
returnVirtualMachineMaxNicsKvm.value();
1277
+
returngetVirtualMachineMaxNicsKvm(null);
1278
1278
}
1279
1279
1280
1280
if (virtualMachineHypervisorType.equals(HypervisorType.VMware)) {
1281
1281
logger.debug("Using the {} setting global value {} as the VM {} has the {} hypervisor type and is not deployed on either a host or a cluster.", VirtualMachineMaxNicsVmware, VirtualMachineMaxNicsVmware.value(), virtualMachine.getUuid(), virtualMachineHypervisorType);
1282
-
returnVirtualMachineMaxNicsVmware.value();
1282
+
returngetVirtualMachineMaxNicsVmware(null);
1283
1283
}
1284
1284
1285
1285
if (virtualMachineHypervisorType.equals(HypervisorType.XenServer)) {
1286
1286
logger.debug("Using the {} setting global value {} as the VM {} has the {} hypervisor type and is not deployed on either a host or a cluster.", VirtualMachineMaxNicsXenserver, VirtualMachineMaxNicsXenserver.value(), virtualMachine.getUuid(), virtualMachineHypervisorType);
1287
-
returnVirtualMachineMaxNicsXenserver.value();
1287
+
returngetVirtualMachineMaxNicsXenserver(null);
1288
1288
}
1289
1289
1290
1290
logger.debug("Not considering the hypervisor maximum limits as we were unable to find a compatible hypervisor on the VM and VM cluster for virtual machine maximum NICs configurations.");
Copy file name to clipboardExpand all lines: engine/orchestration/src/test/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestratorTest.java
0 commit comments