If we're not using suspension, set the scheduling threshold to 0.
suspend-rate and resume-rate should only be required when using suspension.
Fixed: Lease-to-XML did not take into account multi-instance resources.
Merged changes from trunk to correctly support ONE_AUTH and the OpenNebula authorization file.
TimeDelta configuration values are specified as an integer (seconds) not in HH:MM:SS format.
Correctly detect the number of CPU instances on the hosts
- Fix call to Lease.create_new- Use Parser instead of ISO for dates
When marshalling the information about a host, include the sum of all the CPU instances (not entirely accurate, but still better than just reporting the first instance)
Remove redundant code that checks for new hosts in simulation
When printing string representation of Capacity, include multiple instances
If lease is in state SUSPENDED_SCHEDULED, don't remove its files when it is cancelled.
Fixed bug in how cp_list is constructed
Suspend/Resume RRs should consume CPU
Dirty kluge to avoid conflicts in loaded and injected leases.
Fixed bug in weird corner case where a lease could be scheduled in such a way that the shutdown, and not the VM, would have to be suspended (which is not possible).
Saner migration scheduling
Additional stats printing functions
haizea-lwf-stats now prints more stats
- Allow a lease in preparing state to be preempted- Multiple minor fixes to preparation scheduler (mostly avoid referring to leases by their ID, and simply store the lease object directly)
Lease in PREPARING state should be able to return to QUEUED state.
Bug in how slowdown is computed
- Another fix to image transfer scheduling for ARs- Added sanity check to make sure image transfers are not scheduled incorrectly.
Extra check
Not sure why this was commented out (maybe a stopgap measure?) but it shouldn't be commented out.
Extra logging
Also available in: Atom