Allow submission of VMs with a specific delay
manoelcampos opened this issue · 0 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.