Refactor scheduler models into a separate module, scheduler_models.  This module doesn't depend on monitor_db, only the other way around.  The separation and isolation of dependencies should help us organize the scheduler code a bit better.

This was made possible largely by the many changes we made late last year to improve statelessness of the scheduler.  It was motivated here by my work on pluggable metahost handlers, which will need to depend on scheduler models.  Without this separation, we'd end up with circular dependencies.

Also includes some fixes for metahost schedulers.

Signed-off-by: Steve Howard <showard@google.com>


Property changes on: scheduler/scheduler_models.py


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4252 592f7852-d20e-0410-864c-8624ca9c26a4
7 files changed