Correctly detect the number of CPU instances on the hosts
- 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)
- In some cases an error was carried over in the estimated migration times that would result in the sanity check failing.- Migration bandwidth was hardcoded; now taken from configuration file.
Created branch for 1.2 beta (doing it right this time)
Fixed: Haizea would crash when fetching nodes for which OpenNebula had not yet collected monitoring information. This fix also has the pleasant side effect of allowing Haizea to detect new hosts added in OpenNebula without having to restart Haizea.
Switched to a saner implementation for Singleton classes. Required multiple changes all around (which had the indirect side effect of making constructors less dependent on the get_config() function)
Miscellaneous pylint-induced code cleanup.
Updated copyright notices.
Merged TP2.0/0.9 branch into trunk.