> 2. Dan Smith mentioned another idea such that we could index the
> aggregate metadata keys like filter_tenant_id0, filter_tenant_id1,
> ... filter_tenant_idN and then combine those so you have one host
> aggregate filter_tenant_id* key per tenant.

Yep, and that's what I've done in my request_filter implementation:

https://review.openstack.org/#/c/545002/9/nova/scheduler/request_filter.py

Basically it allows any suffix to 'filter_tenant_id' to be processed as
a potentially-matching key.

Note that I'm hoping we can deprecate/remove the post filter and replace
it with this much more efficient version.

--Dan

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to