gantt/nova/scheduler/filters
Johannes Erdfelt 938bed41a2 Restructure host filtering to be easier to use.
The original design for host filtering in the scheduler required the
entire filtering process be contained in a single class; contrast this
with the design for weighting the hosts, which allowed you to specify
a list of functions that would apply various weighting factors to the
hosts.

This commit modifies the filtering process to resemble the way that
the weighting process is designed. Filters can now be small, focused
classes, and you specify which filters to apply by setting the
'FLAGS.default_host_filters' flag to a list of the filter classes
that match your needs.

This is a port of the code from Launchpad, where it was orphaned:

https://code.launchpad.net/~ed-leafe/nova/scheduler-multifilter/+merge/72478

Change-Id: I5f3eff6f21409a9f0eddda3392e9ff9d03039ebe
2011-10-04 23:03:43 +00:00
..
__init__.py got tests passing with logic changes 2011-08-15 17:09:39 -05:00
abstract_filter.py Restructure host filtering to be easier to use. 2011-10-04 23:03:43 +00:00
all_hosts_filter.py Restructure host filtering to be easier to use. 2011-10-04 23:03:43 +00:00
instance_type_filter.py Restructure host filtering to be easier to use. 2011-10-04 23:03:43 +00:00
json_filter.py Restructure host filtering to be easier to use. 2011-10-04 23:03:43 +00:00