Use Placement 1.35 (root_required)

Placement microversion 1.35 gives us the root_required queryparam to GET
/allocation_candidates, allowing us to filter out candidates where the
*root* provider has/lacks certain traits, independent of traits
specified in any of the individual request groups.

Use it.

And add affordance for specifying such traits to the RequestSpec.

Which allows us to fix up the couple of request filters that were
hacking traits into the RequestSpec.flavor.

Change-Id: I44f02044ce178e84c23d178e5a23a3aa1208e502
This commit is contained in:
Eric Fried
2019-12-13 17:27:27 -06:00
parent 9428a1e53b
commit bcc893a2b0
12 changed files with 170 additions and 49 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ Upgrade
* The ``Request Spec Migration`` check was removed.
**21.0.0 (Ussuri)**
* Checks for the Placement API are modified to require version 1.34.
* Checks for the Placement API are modified to require version 1.35.
See Also
========