Enable forbidden traits in nova extra specs

Registered by Chris Dent

With the addition of forbidden traits support in placement, in microversion 1.22, it is possible to filter allocation candidates and resource providers on traits that must not be present. Now we need to add support for this in extra specs on the nova side. This is done by extending the syntax for traits from trait:FOO=required to also allow trait:FOO=forbidden.

Blueprint information

Status:
Complete
Approver:
Dan Smith
Priority:
Medium
Drafter:
Chris Dent
Direction:
Approved
Assignee:
Chris Dent
Definition:
Approved
Series goal:
Accepted for rocky
Implementation:
Implemented
Milestone target:
milestone icon rocky-1
Started by
Dan Smith
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/or,n,z

Addressed by: https://review.openstack.org/561677
    Parse forbidden in extra_specs

Gerrit topic: https://review.openstack.org/#q,topic:bp/forbidden-traits-in-nova,n,z

Addressed by: https://review.openstack.org/562012
    Update forbidden spec to reflect chosen nova-side format

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.