The nova.scheduler.filters.aggregate_multitenancy_isolation Module¶
-
class
AggregateMultiTenancyIsolation¶ Bases:
nova.scheduler.filters.BaseHostFilterIsolate tenants in specific aggregates.
-
host_passes(host_state, spec_obj)¶ If a host is in an aggregate that has the metadata key “filter_tenant_id” it can only create instances from that tenant(s). A host can be in different aggregates.
If a host doesn’t belong to an aggregate with the metadata key “filter_tenant_id” it can create instances from all tenants.
-
run_filter_once_per_request= True¶
-