nova/nova/cells/weights
Chris Behrens 7a5ed3e767 Cells: Add filtering and weight support
This adds filtering and weighing support to the cells scheduler.

Adds the following config options to the 'cells' group:

scheduler_filter_classes -- list of filter classes
scheduler_weight_classes -- list of weight classes

Adds a couple of weighing modules as defaults (which removes the random
cell selection):

ram_by_instance_type: Select cells with the most capacity for the
instance type being requested.
weight_offset: Allows modifying the DB to weight a particular cell
(useful for disabling a cell)

Adds a filter class (TargetCellFilter) that allows specifying a scheduler
hint to direct a build to a particular cell if you're an admin.

DocImpact

Implements blueprint cells-filter-scheduler

Change-Id: I027c5734e3d6134127fcd4dd28b8ff39047416dc
2013-05-27 18:28:02 +00:00
..
__init__.py Cells: Add filtering and weight support 2013-05-27 18:28:02 +00:00
ram_by_instance_type.py Cells: Add filtering and weight support 2013-05-27 18:28:02 +00:00
weight_offset.py Cells: Add filtering and weight support 2013-05-27 18:28:02 +00:00