The nova.scheduler.filters.image_props_filter Module

class ImagePropertiesFilter

Bases: nova.scheduler.filters.BaseHostFilter

Filter compute nodes that satisfy instance image properties.

The ImagePropertiesFilter filters compute nodes that satisfy any architecture, hypervisor type, or virtual machine mode properties specified on the instance’s image properties. Image properties are contained in the image dictionary in the request_spec.

host_passes(host_state, spec_obj)

Check if host passes specified image properties.

Returns True for compute nodes that satisfy image properties contained in the request_spec.

run_filter_once_per_request = True

Previous topic

The nova.scheduler.filters.extra_specs_ops Module

Next topic

The nova.scheduler.filters.io_ops_filter Module

Project Source

This Page