cloudstack/api/src/com/cloud
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
..
acl Add license header to files 2011-04-14 11:23:14 -07:00
agent/api Bug 9447 - ModifySshKeyCommand contents are logged... 2011-04-22 10:43:26 -07:00
alert api refactoring 2010-11-21 12:00:21 -08:00
api Bug 9539 - cpu.overprovisioning.factor does not work 2011-04-22 18:09:31 -07:00
async Add license header to files 2011-04-14 11:23:14 -07:00
capacity Bug 7845 - Productize DeploymentPlanner 2011-02-28 13:47:51 -08:00
configuration Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions) 2011-04-21 16:26:53 -07:00
consoleproxy api refactoring 2010-11-21 12:00:21 -08:00
dao api refactoring 2010-11-21 12:00:21 -08:00
dc Add license header to files 2011-04-14 11:23:14 -07:00
deploy Add license header to files 2011-04-14 11:23:14 -07:00
domain Add license header to files 2011-04-14 11:23:14 -07:00
event bug 5912: Added events and logging for securityGroup create/delete 2011-03-25 15:23:18 -07:00
exception bug 9488: throw InsufficientVirtualNetworkCapcityException when fail to allocate guest vnet as a part of network implement() call 2011-04-21 13:59:06 -07:00
host bug 8713 : finalize the implementation of supporting system vm pooling 2011-03-31 17:14:09 -07:00
hypervisor including a new Simulator hypervisor type 2011-03-30 19:39:32 +05:30
network 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
offering Add license header to files 2011-04-14 11:23:14 -07:00
org Add license header to files 2011-04-14 11:23:14 -07:00
resource Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions) 2011-04-21 16:26:53 -07:00
serializer bug 3179: added "count" parameter to the response to all List* api commands 2011-04-01 19:29:08 -07:00
server Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions) 2011-04-21 16:26:53 -07:00
storage Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions) 2011-04-21 16:26:53 -07:00
template Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions) 2011-04-21 16:26:53 -07:00
user Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions) 2011-04-21 16:26:53 -07:00
uservm Add license header to files 2011-04-14 11:23:14 -07:00
vm Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions) 2011-04-21 16:26:53 -07:00