Fixed most of the currently discovered typos.
This commit is contained in:
@@ -63,7 +63,7 @@ public class DefaultEdgeServerManager extends EdgeServerManager{
|
||||
}
|
||||
}
|
||||
|
||||
public void createVmList(int brockerId){
|
||||
public void createVmList(int brokerId){
|
||||
int hostCounter=0;
|
||||
int vmCounter=0;
|
||||
|
||||
@@ -93,7 +93,7 @@ public class DefaultEdgeServerManager extends EdgeServerManager{
|
||||
long bandwidth = SimSettings.getInstance().getWlanBandwidth() / (hostNodeList.getLength()+vmNodeList.getLength());
|
||||
|
||||
//VM Parameters
|
||||
EdgeVM vm = new EdgeVM(vmCounter, brockerId, mips, numOfCores, ram, bandwidth, storage, vmm, new CloudletSchedulerTimeShared());
|
||||
EdgeVM vm = new EdgeVM(vmCounter, brokerId, mips, numOfCores, ram, bandwidth, storage, vmm, new CloudletSchedulerTimeShared());
|
||||
vmList.get(hostCounter).add(vm);
|
||||
vmCounter++;
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ public abstract class EdgeServerManager {
|
||||
/*
|
||||
* Creates VM List
|
||||
*/
|
||||
public abstract void createVmList(int brockerId);
|
||||
public abstract void createVmList(int brokerId);
|
||||
|
||||
/*
|
||||
* returns average utilization of all VMs
|
||||
|
||||
@@ -84,7 +84,7 @@ public class EdgeVmAllocationPolicy_Custom extends VmAllocationPolicy {
|
||||
Host host = getHostList().get(hostIndex);
|
||||
result = host.vmCreate(vm);
|
||||
|
||||
if (result) { // if vm were succesfully created in the host
|
||||
if (result) { // if vm were successfully created in the host
|
||||
getVmTable().put(vm.getUid(), host);
|
||||
createdVmNum++;
|
||||
Log.formatLine("%.2f: Edge VM #" + vm.getId() + " has been allocated to the host #" + host.getId(),CloudSim.clock());
|
||||
|
||||
Reference in New Issue
Block a user