The nova.scheduler.filters.aggregate_instance_extra_specs Module

class AggregateInstanceExtraSpecsFilter

Bases: nova.scheduler.filters.BaseHostFilter

AggregateInstanceExtraSpecsFilter works with InstanceType records.

host_passes(host_state, spec_obj)

Return a list of hosts that can create instance_type

Check that the extra specs associated with the instance type match the metadata provided by aggregates. If not present return False.

run_filter_once_per_request = True

Previous topic

The nova.scheduler.filters.aggregate_image_properties_isolation Module

Next topic

The nova.scheduler.filters.aggregate_multitenancy_isolation Module

Project Source

This Page