The nova.scheduler.multi Module

Scheduler that allows routing some calls to one driver and others to another.

This scheduler was originally used to deal with both compute and volume. But is now used for openstack extensions that want to use the nova-scheduler to schedule requests to compute nodes but provide their own manager and topic.

https://bugs.launchpad.net/nova/+bug/1009681

class MultiScheduler

Bases: nova.scheduler.driver.Scheduler

A scheduler that holds multiple sub-schedulers.

This exists to allow flag-driven composibility of schedulers, allowing third parties to integrate custom schedulers more easily.

schedule_prep_resize(*args, **kwargs)
schedule_run_instance(*args, **kwargs)
update_service_capabilities(service_name, host, capabilities)

Previous topic

The nova.scheduler.manager Module

Next topic

The nova.scheduler.rpcapi Module

This Page