| Modifier and Type | Field and Description |
|---|---|
protected List<? extends Vm> |
DatacenterBroker.vmList
The vm list.
|
protected List<? extends Vm> |
DatacenterBroker.vmsCreatedList
The vms created list.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Vm> |
DatacenterBroker.getVmList()
Gets the vm list.
|
<T extends Vm> |
Host.getVmList()
Gets the vm list.
|
<T extends Vm> |
Datacenter.getVmList()
Gets the vm list.
|
<T extends Vm> |
DatacenterBroker.getVmsCreatedList()
Gets the vm list.
|
protected <T extends Vm> |
DatacenterBroker.setVmList(List<T> vmList)
Sets the vm list.
|
protected <T extends Vm> |
Datacenter.setVmList(List<T> vmList)
Sets the vm list.
|
protected <T extends Vm> |
DatacenterBroker.setVmsCreatedList(List<T> vmsCreatedList)
Sets the vm list.
|
| Modifier and Type | Method and Description |
|---|---|
Vm |
Host.getVm(int vmId,
int userId)
Returns a VM object.
|
| Modifier and Type | Method and Description |
|---|---|
List<Vm> |
HostDynamicWorkload.getCompletedVms()
Gets the completed vms.
|
List<Vm> |
Host.getVmsMigratingIn()
Gets the vms migrating in.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Host.addMigratingInVm(Vm vm)
Adds the migrating in vm.
|
boolean |
VmAllocationPolicySimple.allocateHostForVm(Vm vm)
Allocates a host for a given VM.
|
abstract boolean |
VmAllocationPolicy.allocateHostForVm(Vm vm)
Allocates a host for a given VM.
|
boolean |
VmAllocationPolicySimple.allocateHostForVm(Vm vm,
Host host) |
abstract boolean |
VmAllocationPolicy.allocateHostForVm(Vm vm,
Host host)
Allocates a specified host for a given VM.
|
abstract boolean |
VmScheduler.allocatePesForVm(Vm vm,
List<Double> mipsShare)
Allocates PEs for a VM.
|
boolean |
VmSchedulerSpaceShared.allocatePesForVm(Vm vm,
List<Double> mipsShare) |
boolean |
Host.allocatePesForVm(Vm vm,
List<Double> mipsShare)
Allocates PEs for a VM.
|
boolean |
VmSchedulerTimeShared.allocatePesForVm(Vm vm,
List<Double> mipsShareRequested) |
void |
VmAllocationPolicySimple.deallocateHostForVm(Vm vm)
Releases the host used by a VM.
|
abstract void |
VmAllocationPolicy.deallocateHostForVm(Vm vm)
Releases the host used by a VM.
|
abstract void |
VmScheduler.deallocatePesForVm(Vm vm)
Releases PEs allocated to a VM.
|
void |
VmSchedulerSpaceShared.deallocatePesForVm(Vm vm) |
void |
Host.deallocatePesForVm(Vm vm)
Releases PEs allocated to a VM.
|
void |
VmSchedulerTimeShared.deallocatePesForVm(Vm vm) |
List<Double> |
VmScheduler.getAllocatedMipsForVm(Vm vm)
Returns the MIPS share of each Pe that is allocated to a given VM.
|
List<Double> |
Host.getAllocatedMipsForVm(Vm vm)
Returns the MIPS share of each Pe that is allocated to a given VM.
|
Host |
VmAllocationPolicySimple.getHost(Vm vm)
Gets the host that is executing the given VM belonging to the given user.
|
abstract Host |
VmAllocationPolicy.getHost(Vm vm)
Get the host that is executing the given VM belonging to the given user.
|
double |
HostDynamicWorkload.getMaxUtilizationAmongVmsPes(Vm vm)
Gets the max utilization among by all PEs allocated to the VM.
|
List<Pe> |
VmScheduler.getPesAllocatedForVM(Vm vm)
Gets the pes allocated for vm.
|
double |
VmScheduler.getTotalAllocatedMipsForVm(Vm vm)
Gets the total allocated MIPS for a VM over all the PEs.
|
double |
Host.getTotalAllocatedMipsForVm(Vm vm)
Gets the total allocated MIPS for a VM over all the PEs.
|
boolean |
Host.isSuitableForVm(Vm vm)
Checks if is suitable for vm.
|
void |
Host.removeMigratingInVm(Vm vm)
Removes the migrating in vm.
|
boolean |
Host.vmCreate(Vm vm)
Allocates PEs and memory to a new VM in the Host.
|
protected void |
Host.vmDeallocate(Vm vm)
Deallocate all hostList for the VM.
|
void |
Host.vmDestroy(Vm vm)
Destroys a VM running in the host.
|
| Modifier and Type | Method and Description |
|---|---|
List<Map<String,Object>> |
VmAllocationPolicySimple.optimizeAllocation(List<? extends Vm> vmList) |
abstract List<Map<String,Object>> |
VmAllocationPolicy.optimizeAllocation(List<? extends Vm> vmList)
Optimize allocation of the VMs according to current utilization.
|
void |
DatacenterBroker.submitVmList(List<? extends Vm> list)
This method is used to send to the broker the list with virtual machines that must be
created.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Vm> |
VmList.getById(List<T> vmList,
int id)
Return a reference to a Vm object from its ID.
|
static <T extends Vm> |
VmList.getByIdAndUserId(List<T> vmList,
int id,
int userId)
Return a reference to a Vm object from its ID and user ID.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Pe> |
PeList.getMaxUtilizationAmongVmsPes(List<Pe> peList,
Vm vm)
Gets the max utilization among by all PEs allocated to the VM.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NetworkVm
NetworkVm class extends Vm to support simulation of networked datacenters.
|
| Modifier and Type | Field and Description |
|---|---|
List<Vm> |
Switch.BagofTaskVm |
| Modifier and Type | Method and Description |
|---|---|
<T extends Vm> |
NetDatacenterBroker.getVmList()
Gets the vm list.
|
<T extends Vm> |
NetDatacenterBroker.getVmsCreatedList()
Gets the vm list.
|
protected <T extends Vm> |
NetDatacenterBroker.setVmList(List<T> vmList)
Sets the vm list.
|
protected <T extends Vm> |
NetDatacenterBroker.setVmsCreatedList(List<T> vmsCreatedList)
Sets the vm list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
NetworkVmAllocationPolicy.allocateHostForVm(Vm vm)
Allocates a host for a given VM.
|
boolean |
NetworkVmAllocationPolicy.allocateHostForVm(Vm vm,
Host host) |
void |
NetworkVmAllocationPolicy.deallocateHostForVm(Vm vm)
Releases the host used by a VM.
|
Host |
NetworkVmAllocationPolicy.getHost(Vm vm)
Gets the host that is executing the given VM belonging to the given user.
|
protected double |
NetworkVmAllocationPolicy.getMaxUtilizationAfterAllocation(NetworkHost host,
Vm vm) |
double |
NetworkHost.getMaxUtilizationAmongVmsPes(Vm vm) |
boolean |
NetworkDatacenter.processVmCreateNetwork(Vm vm)
Create the VM within the NetworkDatacenter.
|
| Modifier and Type | Method and Description |
|---|---|
List<Map<String,Object>> |
NetworkVmAllocationPolicy.optimizeAllocation(List<? extends Vm> vmList) |
void |
NetDatacenterBroker.submitVmList(List<? extends Vm> list)
This method is used to send to the broker the list with virtual machines that must be
created.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PowerVm
The class of a VM that stores its CPU utilization history.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Vm |
PowerVmSelectionPolicy.getVmToMigrate(PowerHost host)
Gets the vms to migrate.
|
Vm |
PowerVmSelectionPolicyMinimumMigrationTime.getVmToMigrate(PowerHost host) |
Vm |
PowerVmSelectionPolicyMaximumCorrelation.getVmToMigrate(PowerHost host) |
Vm |
PowerVmSelectionPolicyRandomSelection.getVmToMigrate(PowerHost host) |
Vm |
PowerVmSelectionPolicyMinimumUtilization.getVmToMigrate(PowerHost host) |
| Modifier and Type | Method and Description |
|---|---|
protected List<? extends Vm> |
PowerVmAllocationPolicyMigrationAbstract.getVmsToMigrateFromHosts(List<PowerHostUtilizationHistory> overUtilizedHosts)
Gets the vms to migrate from hosts.
|
protected List<? extends Vm> |
PowerVmAllocationPolicyMigrationAbstract.getVmsToMigrateFromUnderUtilizedHost(PowerHost host)
Gets the vms to migrate from under utilized host.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PowerVmAllocationPolicyAbstract.allocateHostForVm(Vm vm) |
boolean |
PowerVmAllocationPolicyAbstract.allocateHostForVm(Vm vm,
Host host) |
void |
PowerVmAllocationPolicyAbstract.deallocateHostForVm(Vm vm) |
PowerHost |
PowerVmAllocationPolicyMigrationAbstract.findHostForVm(Vm vm)
Find host for vm.
|
PowerHost |
PowerVmAllocationPolicyAbstract.findHostForVm(Vm vm)
Find host for vm.
|
PowerHost |
PowerVmAllocationPolicyMigrationAbstract.findHostForVm(Vm vm,
Set<? extends Host> excludedHosts)
Find host for vm.
|
Host |
PowerVmAllocationPolicyAbstract.getHost(Vm vm) |
protected double |
PowerVmAllocationPolicyMigrationAbstract.getMaxUtilizationAfterAllocation(PowerHost host,
Vm vm)
Gets the power after allocation.
|
protected double |
PowerVmAllocationPolicyMigrationAbstract.getPowerAfterAllocation(PowerHost host,
Vm vm)
Gets the power after allocation.
|
protected boolean |
PowerVmAllocationPolicyMigrationAbstract.isHostOverUtilizedAfterAllocation(PowerHost host,
Vm vm)
Checks if is host over utilized after allocation.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Map<String,Object>> |
PowerVmAllocationPolicyMigrationAbstract.getNewVmPlacement(List<? extends Vm> vmsToMigrate,
Set<? extends Host> excludedHosts)
Gets the new vm placement.
|
protected List<Map<String,Object>> |
PowerVmAllocationPolicyMigrationAbstract.getNewVmPlacementFromUnderUtilizedHost(List<? extends Vm> vmsToMigrate,
Set<? extends Host> excludedHosts)
Gets the new vm placement from under utilized host.
|
List<Map<String,Object>> |
PowerVmAllocationPolicyMigrationAbstract.optimizeAllocation(List<? extends Vm> vmList)
Optimize allocation of the VMs according to current utilization.
|
List<Map<String,Object>> |
PowerVmAllocationPolicySimple.optimizeAllocation(List<? extends Vm> vmList) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Vm> |
PowerVmList.sortByCpuUtilization(List<T> vmList)
Sort by cpu utilization.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BwProvisionerSimple.allocateBwForVm(Vm vm,
long bw) |
abstract boolean |
BwProvisioner.allocateBwForVm(Vm vm,
long bw)
Allocates BW for a given VM.
|
abstract boolean |
PeProvisioner.allocateMipsForVm(Vm vm,
double mips)
Allocates MIPS for a given VM.
|
boolean |
PeProvisionerSimple.allocateMipsForVm(Vm vm,
double mips) |
abstract boolean |
PeProvisioner.allocateMipsForVm(Vm vm,
List<Double> mips)
Allocates MIPS for a given VM.
|
boolean |
PeProvisionerSimple.allocateMipsForVm(Vm vm,
List<Double> mips) |
boolean |
RamProvisionerSimple.allocateRamForVm(Vm vm,
int ram) |
abstract boolean |
RamProvisioner.allocateRamForVm(Vm vm,
int ram)
Allocates RAM for a given VM.
|
void |
BwProvisionerSimple.deallocateBwForVm(Vm vm) |
abstract void |
BwProvisioner.deallocateBwForVm(Vm vm)
Releases BW used by a VM.
|
abstract void |
PeProvisioner.deallocateMipsForVm(Vm vm)
Releases MIPS used by a VM.
|
void |
PeProvisionerSimple.deallocateMipsForVm(Vm vm) |
void |
RamProvisionerSimple.deallocateRamForVm(Vm vm) |
abstract void |
RamProvisioner.deallocateRamForVm(Vm vm)
Releases BW used by a VM.
|
long |
BwProvisionerSimple.getAllocatedBwForVm(Vm vm) |
abstract long |
BwProvisioner.getAllocatedBwForVm(Vm vm)
Gets the allocated BW for VM.
|
abstract List<Double> |
PeProvisioner.getAllocatedMipsForVm(Vm vm)
Gets allocated MIPS for a given VM.
|
List<Double> |
PeProvisionerSimple.getAllocatedMipsForVm(Vm vm) |
abstract double |
PeProvisioner.getAllocatedMipsForVmByVirtualPeId(Vm vm,
int peId)
Gets allocated MIPS for a given VM for a given virtual Pe.
|
double |
PeProvisionerSimple.getAllocatedMipsForVmByVirtualPeId(Vm vm,
int peId) |
int |
RamProvisionerSimple.getAllocatedRamForVm(Vm vm) |
abstract int |
RamProvisioner.getAllocatedRamForVm(Vm vm)
Gets the allocated RAM for VM.
|
abstract double |
PeProvisioner.getTotalAllocatedMipsForVm(Vm vm)
Gets total allocated MIPS for a given VM for all PEs.
|
double |
PeProvisionerSimple.getTotalAllocatedMipsForVm(Vm vm) |
boolean |
RamProvisionerSimple.isSuitableForVm(Vm vm,
int ram) |
abstract boolean |
RamProvisioner.isSuitableForVm(Vm vm,
int ram)
Checks if is suitable for vm.
|
boolean |
BwProvisionerSimple.isSuitableForVm(Vm vm,
long bw) |
abstract boolean |
BwProvisioner.isSuitableForVm(Vm vm,
long bw)
Checks if BW is suitable for vm.
|
Copyright © 2012 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.