cloudsimplus / cloudsimplus

State-of-the-art Framework 🏗 for Cloud Computing ⛅️ Simulation: a modern, full-featured, easier-to-use, highly extensible 🧩, faster 🚀 and more accurate ☕️ Java 17+ tool for cloud computing research 🎓. Examples: https://github.com/cloudsimplus/cloudsimplus-examples

Home Page:https://cloudsimplus.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow submission of VMs with a specific delay

manoelcampos opened this issue · comments

FEATURE:

Create an overloaded version of the DatacenterBroker.submitVms method to receive a delay parameter in order to postpone the creation of the submitted VMs inside some Host.

Detailed information about how the feature should work

A Delayable interface was introduced and now Cloudlet and Vm interfaces extends it.
The interface provides a getSubmissionDelay and setSubmissionDelay methods that are used by a DatacenterBroker when a list of VMs or Cloudlets is submitted passing a specific delay.
In this case, the broker will set the given delay to the delay attribute of the VMs or Cloudlets into the list.

The delay os VMs and Cloudlets can also be defined individually by calling the setSubmissionDelay in each object. By this way, using the regular submission method, the delay will not be changed and the request to create the objects will follow the delay defined in each object.

Related Issues