nova/nova/scheduler/weights
Matt Riedemann 18179aee4e Add CrossCellWeigher
When performing a resize, we'll want to (by default) select
target hosts from the source cell to do a traditional resize
if possible before considering target hosts in another cell
which will be slower and more complicated. If the source cell
is disabled or target flavor is not available in the source cell,
then we'll have no choice but to select a host from another cell.
But all things being equal between hosts, we want to stay within
the source cell (by default). Therefore this change adds a new
CrossCellWeigher and related configuration option to prefer hosts
within the source cell when moving a server. The weigher is
completely noop unless a cross-cell move is permitted by
configuration, which will be provided in a future change.

Part of blueprint cross-cell-resize

Change-Id: Ib18752efa56cfeb860487fe6b26102bb4b1db038
2019-12-12 12:40:29 -05:00
..
__init__.py Remove unused oslo.config import 2014-11-13 15:59:16 +01:00
affinity.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
compute.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
cpu.py hacking: Resolve W503 (line break occurred before a binary operator) 2019-06-24 14:24:06 -05:00
cross_cell.py Add CrossCellWeigher 2019-12-12 12:40:29 -05:00
disk.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
io_ops.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
metrics.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
pci.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
ram.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00