summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2012-11-15 18:08:07 +0000
committerChris Behrens <cbehrens@codestud.com>2013-05-27 18:28:02 +0000
commit7a5ed3e76766596e45716d0fc05ff1e6e9199213 (patch)
treee10f8de59c7c3a6d6df8b40ccf9dae8736c020e4 /nova/utils.py
parent719ec4725eb7ae458810cbd2be0eb4a2cb5edf9d (diff)
downloadnova-7a5ed3e76766596e45716d0fc05ff1e6e9199213.tar.gz
nova-7a5ed3e76766596e45716d0fc05ff1e6e9199213.tar.xz
nova-7a5ed3e76766596e45716d0fc05ff1e6e9199213.zip
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
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions