vm: refactor old code and add some new bits
* reorder classes * make context creator method a module level function * class method for creating an instance from a template * fix primary host selection code * use timezone.now() instead of datetime.now() to get timezone aware dates * remove obsolete methods and implementations (leaving TODOs)
Showing
vm/tasks.py
0 → 100644
Please
register
or
sign in
to comment