FEATURE
That will enable a VM to be shutdown (be destroyed) after a defined time.
Cloudlet already has such an attribute to define how long it will run (in seconds).
If the VM lifeTime is reached, it is' stopped even if there are running Cloudlets.
A proper log message must be shown to indicate that the VM was destroyed because
a lifeTime was set. In this case, that default warning indicating that the simulation finished
without finishing running Cloudlets must be avoided in this case.
In order to avoid duplicating the getter and setter, a new interface may be introduced to be implemented by both Vm and Cloudlet.
Examples Included
Related Issues
FEATURE
That will enable a VM to be shutdown (be destroyed) after a defined time.
Cloudlet already has such an attribute to define how long it will run (in seconds).
If the VM lifeTime is reached, it is' stopped even if there are running Cloudlets.
A proper log message must be shown to indicate that the VM was destroyed because
a lifeTime was set. In this case, that default warning indicating that the simulation finished
without finishing running Cloudlets must be avoided in this case.
In order to avoid duplicating the getter and setter, a new interface may be introduced to be implemented by both Vm and Cloudlet.
Examples Included
Related Issues