CharlesQueiroz commented on code in PR #6899:
URL: https://github.com/apache/cloudstack/pull/6899#discussion_r1025340891
##########
engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java:
##########
@@ -1047,6 +1049,13 @@ public void orchestrateStart(final String vmUuid, final
Map<VirtualMachineProfil
resourceCountIncrement(owner.getAccountId(),new
Long(offering.getCpu()), new Long(offering.getRamSize()));
}
+ // Increment the VR resource count if the global setting is set to true
+ // and resource.count.running.vms is also true
+ if (VirtualMachine.Type.DomainRouter.equals(vm.type) &&
+ ResourceCountRouters.valueIn(owner.getDomainId())) {
Review Comment:
done!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]