mirror of
https://github.com/apache/cloudstack
synced 2026-09-04 16:34:34 +00:00
Changes: - Changed host allocators/planner to use cpu.overprovisioning.factor - Removed following: while adding a new host, we were setting the total_cpu in op_host_capacity to be actual_cpu * cpu.overprovisioning.factor. Now we set it to actual_cpu. - ListCapacities response now calculates the total CPU as actual * cpu.overprovisioning.factor (This change does not add anything new - listCapacities was pulling total CPU from op_host_capacity DB earlier which had the cpu.overprovisioning.factor applied already. Now we need to apply it over the DB entry.) - HostResponse has a new field: 'cpuWithOverprovisioning' that returns the cpu after applying the cpu.overprovisioning.factor - Db Upgrade 222 to 224 now updates the total_cpu in op_host_capacity to be the actual_cpu for each Routing host. |
||
|---|---|---|
| .. | ||
| doc | ||
| response | ||
| ApiDBUtils.java | ||
| ApiDispatcher.java | ||
| ApiGsonHelper.java | ||
| ApiResponseHelper.java | ||
| ApiSerializerHelper.java | ||
| ApiServer.java | ||
| ApiServlet.java | ||
| ResponseObjectTypeAdapter.java | ||