Supporting mixing required traits with any traits in allocation_candidates query

Registered by Balazs Gibizer on 2018-05-02

The previous spec [1] proposed to allow querying traits in the form of required=any:TRAIT1,TRAIT2. This spec goes one step forward and propose to allow repeating the required query parameter to support mixing both required=TRAIT1,TRAIT2,!TRAIT3 and required=any:TRAIT1,TRAIT2 format in a single query. This is needed for Neutron to be able to express that a port needs a resource provider having a specific vnic_type trait but also having one of the physnet traits the port's network maps to.

[1] https://blueprints.launchpad.net/nova/+spec/any-traits-in-allocation-candidates-query

Blueprint information

Status:
Not started
Approver:
Matt Riedemann
Priority:
Low
Drafter:
Balazs Gibizer
Direction:
Approved
Assignee:
Balazs Gibizer
Definition:
Approved
Series goal:
None
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/mixing-required-traits-with-any-traits,n,z

Addressed by: https://review.openstack.org/565741
    Placement: support mixing required traits with any traits

Gerrit topic: https://review.openstack.org/#q,topic:bp/placement-subtree-filter-for-resource-providers,n,z

Approved for Stein. This is blocked until the placement extraction is complete. -- mriedem 20180921

The extracted placement API is no longer frozen for Stein but this is not started and likely will be deferred for Stein since feature freeze is in less than two weeks. -- mriedem 20190224

We are two days from Stein feature freeze and this is not ready so I'm going to drop it from planning for Stein. If you plan to pursue this in Train please re-propose the spec for re-approval in Train. -- mriedem 20190305

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.