nova/nova/cells
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
..
filters Cells: Add filtering and weight support 2013-05-27 18:28:02 +00:00
weights Cells: Add filtering and weight support 2013-05-27 18:28:02 +00:00
__init__.py Cells: Add the main code. 2013-01-04 20:45:05 +00:00
driver.py Cells: Add the main code. 2013-01-04 20:45:05 +00:00
manager.py Update to using oslo periodic tasks implementation. 2013-05-01 08:45:09 +10:00
messaging.py Don't update API cell on get_nwinfo 2013-05-22 06:07:22 +00:00
opts.py Add ability to control max utilization of a cell 2013-03-10 14:11:33 +00:00
rpc_driver.py Use oslo-config-2013.1b4 2013-02-19 21:16:32 -08:00
rpcapi.py Make os.services.update work with cells 2013-04-23 22:04:01 +10:00
scheduler.py Cells: Add filtering and weight support 2013-05-27 18:28:02 +00:00
state.py Remove locals() from nova/cells/* 2013-05-17 22:51:53 +00:00
utils.py Fix behaviour of split_cell_and_item 2013-03-12 13:25:31 +10:00