The nova.cells.filters.image_properties Module

Image properties filter.

Image metadata named ‘hypervisor_version_requires’ with a version specification may be specified to ensure the build goes to a cell which has hypervisors of the required version.

If either the version requirement on the image or the hypervisor capability of the cell is not present, this filter returns without filtering out the cells.

class ImagePropertiesFilter

Bases: nova.cells.filters.BaseCellFilter

Image properties filter. Works by specifying the hypervisor required in the image metadata and the supported hypervisor version in cell capabilities.

filter_all(cells, filter_properties)

Override filter_all() which operates on the full list of cells...

Previous topic

The nova.cells.filters.different_cell Module

Next topic

The nova.cells.filters.target_cell Module

Project Source

This Page