Remove redundant code that checks for new hosts in simulation
Added option to interrupt simulation after a given amount of (simulated) time has passed.
Fixed minor bugs (https://mailman.cs.uchicago.edu/pipermail/haizea/2010-May/000153.html)
When scheduling deadline leases, do the preemptions when mapping (fixes the problem that the preemption policy could select leases that "looked" preemptable because of their slack, but turned out not to be because they couldn't be rescheduled).
Add option to perform a sanity check at every timestep.
Tweaked status message
Print types of completed leases in status message
Print a more helpful status message
- Separated constructor from initialization code in Manager- Added dynamic loading of pricing policies
Merge changes in trunk
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.
A few minor changes so Haizea will work with Python 2.4
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.
Modified the accounting code so information is gathered using "probes" instead of inserting hardcoded statements throughout the Haizea code. Now, collecting additional information involves writing a pluggable probe, instructing the accounting module when the probe must be run (currently this can be at every timestep, when a lease is requested, or when a lease is done). Thus, gathering additional information doesn't require modifying the core Haizea code....
Made persistence configurable. Documented persistence code.
- Data persistence is implemented. It still needs some work (and has to be made configurable so it can be switched off during simulations), but it's working.- Started to clean up the accounting code so it will collect data using "probes" instead of hard-coded statements.
Updated copyright notices.
Merged TP2.0/0.9 branch into trunk.