The nova.scheduler.driver
Module¶
Scheduler base class that all Schedulers should inherit from
-
class
Scheduler
¶ Bases:
object
The base class that all Scheduler classes should inherit from.
-
hosts_up
(context, topic)¶ Return the list of hosts that have a running service for topic.
-
run_periodic_tasks
(context)¶ Manager calls this so drivers can perform periodic tasks.
-
select_destinations
(context, spec_obj)¶ Must override select_destinations method.
Returns: A list of dicts with ‘host’, ‘nodename’ and ‘limits’ as keys that satisfies the request_spec and filter_properties.
-