forked from cloudsimplus/cloudsimplus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Created a VmCloner class to store the Vm and Cloudlets Cloner Functions. It also defines the maximum number of VM clones to be created using a VmCloner object. Now, the HostFaultInjection class accepts a VmCloner object, instead of setting Vm Cloner and Cloudlets Cloner individually. - Changed the faultArrivalTimesGenerator into the HostFaultInjection class documentation to indicate the faultArrivalTimesGenerator is considered to be in hours (not minutes anymore). - Included a FaultToleranceLevel inside the JSON SLA Contracts (see SlaContract class). Now, the number of VMs to create for each broker is based on this k-fault-tolerance level. The AWS EC2 Template to be used to create these k VMs is based on the max price the customer is willing to pay hourly for all VMs. This way, the price for each VM template cannot be higher than maxPrice/k. If this is the case, the cheaper VM will be selected and the k will be recomputed to avoiding violating the contract price. If even the cheaper VM is more expensive than the contract price, it will be created only one instance of it, violating the contract price, but avoiding the customer services to be stopped.
- Loading branch information
1 parent
08f77cf
commit e7be6d3
Showing
21 changed files
with
749 additions
and
693 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.