Commit f6fb21d8 by tarokkk

adding simple debug scheduler

parent 06a7ac9d
def get_node():
from vm.models import Node
def get_node(instance):
''' Select a node for an hosting an instance
based on requirements.
# Return first Node or None
return Node.objects.all()[0]
return None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment