I am trying to do horizontal auto-scaling in the CloudSim Plus simulator. I need to scale up the application by more than one VM. I am trying to modify the example LoadBalancerByHorizontalVmScalingExample provided by CloudSim Plus.
The example has a setVmSupplier()
function which has a createVm()
parameter which returns only one VM. Moreover, the setVmSupplier()
function accepts only one VM and not a list of VMs. I am not able to modify the function even in the superclass. How can I provide more than one VM?