cloudstack-mirror/server/src/com/cloud/api
prachi b84a7477f0 Bug 9539 - cpu.overprovisioning.factor does not work
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.
2011-04-22 18:09:31 -07:00
..
doc Add license header to files 2011-04-14 11:23:14 -07:00
response bug 9336: securityGroups can be used by other securityGroups in the same domain only; no cross domain SG authentication 2011-04-22 11:35:29 -07:00
ApiDBUtils.java Bug 9539 - cpu.overprovisioning.factor does not work 2011-04-22 18:09:31 -07:00
ApiDispatcher.java Throw server api exception with correct error code 2011-04-18 16:59:55 -07:00
ApiGsonHelper.java Add license header to files 2011-04-14 11:23:14 -07:00
ApiResponseHelper.java Bug 9539 - cpu.overprovisioning.factor does not work 2011-04-22 18:09:31 -07:00
ApiSerializerHelper.java Add license header to files 2011-04-14 11:23:14 -07:00
ApiServer.java Transform InvalidParameterValueException and PermissionDeniedException to proper API exceptions 2011-04-19 17:07:05 -07:00
ApiServlet.java bug 9336: securityGroups can be used by other securityGroups in the same domain only; no cross domain SG authentication 2011-04-22 11:35:29 -07:00
ResponseObjectTypeAdapter.java Add license header to files 2011-04-14 11:23:14 -07:00