This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.scheduler.filters.instance_type_filter Module

class nova.scheduler.filters.instance_type_filter.InstanceTypeFilter

Bases: nova.scheduler.filters.abstract_filter.AbstractHostFilter

HostFilter hard-coded to work with InstanceType records.

filter_hosts(zone_manager, query)

Return a list of hosts that can create instance_type.

instance_type_to_filter(instance_type)

Use instance_type to filter hosts.