public class PowerVmAllocationPolicySimple extends PowerVmAllocationPolicyAbstract
Constructor and Description |
---|
PowerVmAllocationPolicySimple(List<? extends Host> list)
Instantiates a new power vm allocation policy simple.
|
Modifier and Type | Method and Description |
---|---|
List<Map<String,Object>> |
optimizeAllocation(List<? extends Vm> vmList)
Optimize allocation of the VMs according to current utilization.
|
allocateHostForVm, allocateHostForVm, deallocateHostForVm, findHostForVm, getHost, getHost, getVmTable
getHostList, setHostList
public List<Map<String,Object>> optimizeAllocation(List<? extends Vm> vmList)
VmAllocationPolicy
optimizeAllocation
in class VmAllocationPolicy
vmList
- the vm listCopyright © 2012 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.