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.abstract_filter Module

class nova.scheduler.filters.abstract_filter.AbstractHostFilter

Bases: object

Base class for host filters.

filter_hosts(zone_manager, query)

Return a list of hosts that fulfill the filter.

instance_type_to_filter(instance_type)

Convert instance_type into a filter for most common use-case.