commit 97530c2ca38228dcebeb231a187806f1e66d4570
Author: Tetsuro Nakamura <email address hidden>
Date: Sat Mar 31 18:27:11 2018 +0900
Return all resources in provider_summaries
The response of ``GET /allocation_candidates`` API provides two fields
of ``allocation_requests`` and ``provider_summaries``. The callers,
like the filter scheduler in nova, would use information in
``provider_summaries`` in sorting or filtering providers to allocate
consumers. However, currently ``provider_summaries`` doesn't contain
resource classes that aren't requested.
With this patch, ``GET /allocation_candidates`` API returns all
resource classes with a new microversion.
Reviewed: https:/ /review. openstack. org/558045 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=97530c2ca38 228dcebeb231a18 7806f1e66d4570
Committed: https:/
Submitter: Zuul
Branch: master
commit 97530c2ca38228d cebeb231a187806 f1e66d4570
Author: Tetsuro Nakamura <email address hidden>
Date: Sat Mar 31 18:27:11 2018 +0900
Return all resources in provider_summaries
The response of ``GET /allocation_ candidates` ` API provides two fields requests` ` and ``provider_ summaries` `. The callers, summaries` ` in sorting or filtering providers to allocate summaries` ` doesn't contain
of ``allocation_
like the filter scheduler in nova, would use information in
``provider_
consumers. However, currently ``provider_
resource classes that aren't requested.
With this patch, ``GET /allocation_ candidates` ` API returns all
resource classes with a new microversion.
Change-Id: Ic491f190ebd97d 94c18931a0e78d7 79a55ee47a1 return- all-resources
Closes-Bug: #1760276
Blueprint: placement-