Previous topic

The nova.scheduler.filter_scheduler Module

Next topic

The nova.scheduler.filters.all_hosts_filter Module

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

class AffinityFilter

Bases: nova.scheduler.filters.BaseHostFilter

class DifferentHostFilter

Bases: nova.scheduler.filters.affinity_filter.AffinityFilter

Schedule the instance on a different host from a set of instances.

host_passes(host_state, filter_properties)
class SameHostFilter

Bases: nova.scheduler.filters.affinity_filter.AffinityFilter

Schedule the instance on the same host as another instance in a set of of instances.

host_passes(host_state, filter_properties)
class SimpleCIDRAffinityFilter

Bases: nova.scheduler.filters.affinity_filter.AffinityFilter

host_passes(host_state, filter_properties)