diff --git a/doc/config-reference/source/compute/scheduler.rst b/doc/config-reference/source/compute/scheduler.rst index 0a2eb79fb1..105fc516bb 100644 --- a/doc/config-reference/source/compute/scheduler.rst +++ b/doc/config-reference/source/compute/scheduler.rst @@ -62,6 +62,8 @@ see `Evacuate instances `_ section of the OpenStack Administrator Guide. +.. _compute-scheduler-filters: + Filter scheduler ~~~~~~~~~~~~~~~~ @@ -70,11 +72,6 @@ is the default scheduler for scheduling virtual machine instances. It supports filtering and weighting to make informed decisions on where a new instance should be created. -.. _compute-scheduler-filters: - -Filters -~~~~~~~ - When the filter scheduler receives a request for a resource, it first applies filters to determine which hosts are eligible for consideration when dispatching a resource. Filters are binary: either a host is @@ -113,7 +110,10 @@ service. The default filters are: scheduler_default_filters = RetryFilter, AvailabilityZoneFilter, RamFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter, ServerGroupAntiAffinityFilter, ServerGroupAffinityFilter -The following sections describe the available filters. +Compute filters +~~~~~~~~~~~~~~~ + +The following sections describe the available compute filters. AggregateCoreFilter ------------------- @@ -801,6 +801,31 @@ Dynamically limits hosts to one instance type. An instance can only be launched on a host, if no instance with different instances types are running on it, or if the host has no running instances at all. +Cell filters +~~~~~~~~~~~~ + +The following sections describe the available cell filters. + +DifferentCellFilter +------------------- + +Schedules the instance on a different cell from a set of instances. +To take advantage of this filter, the requester must pass a scheduler hint, +using ``different_cell`` as the key and a list of instance UUIDs as the value. + +ImagePropertiesFilter +--------------------- + +Filters cells based on properties defined on the instance’s image. +This filter works specifying the hypervisor required in the image +metadata and the supported hypervisor version in cell capabilities. + +TargetCellFilter +---------------- + +Filters target cells. This filter works by specifying a scheduler +hint of ``target_cell``. The value should be the full cell path. + .. _weights: Weights