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

class nova.scheduler.filters.all_hosts_filter.AllHostsFilter

Bases: nova.scheduler.filters.abstract_filter.AbstractHostFilter

NOP host filter. Returns all hosts in ZoneManager.

filter_hosts(zone_manager, query)

Return a list of hosts from ZoneManager list.

instance_type_to_filter(instance_type)

Return anything to prevent base-class from raising exception.