I am trying to add vms and cloudlets, to an already existing broker, dynamically as the simulation progresses.
I tried this
CloudSim.startSimulation();
vm_list = create_vm(brokerId, 1, 6); //creating 1 vms,ID=6 cloudlet_list = create_cloudlet(brokerId, 1, 6); // creating 1 cloudlet,CloudletId=6
broker.submitVmList(vm_list);
broker.submitCloudletList(cloudlet_list);
But this code is not working, cloudlets are not taken into account by the cloudSim.Can anyone suggest some way that i would be able to add vms and schedule cloudlets dynamically after the simulation starts?