The FilterScheduler is for creating instances locally. You can customize this scheduler by specifying your own Host Filters and Weighing Functions.
Bases: nova.scheduler.driver.Scheduler
Scheduler that can be used for filtering and weighing.
Stuff things into filter_properties. Can be overridden in a subclass to add more data.
Select a target for resize.
Selects a target host for the instance, post-resize, and casts the prep_resize operation to it.
This method is called from nova.compute.api to provision an instance. We first create a build plan (a list of WeightedHosts) and then provision.
Returns a list of the instances created.
Selects a filtered set of hosts.