Symmetric GET and PUT of allocations in Placement

Registered by Chris Dent on 2017-09-28

When support for placement allocations was added on the nova-side (initially in the resource tracker) the formats of the representations used in GET and PUT diverged. GET took on a dict oriented style, and PUT a list oriented style. Since then this disparity has caused confusion. A dict style is considered easier to work with in Python, so a new microversion will be created to support that form.

Blueprint information

Status:
Complete
Approver:
Matt Riedemann
Priority:
Medium
Drafter:
Chris Dent
Direction:
Approved
Assignee:
Chris Dent
Definition:
Approved
Series goal:
Accepted for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-2
Started by
Matt Riedemann on 2017-10-31
Completed by
Matt Riedemann on 2017-11-28

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bug/1708204,n,z

Addressed by: https://review.openstack.org/508164
    Add spec for symmetric GET and PUT of allocations

Gerrit topic: https://review.openstack.org/#q,topic:bp/symmetric-allocations,n,z

Addressed by: https://review.openstack.org/510625
    [placement] Enable PUT dict to /allocations/{consumer_uuid}

Addressed by: https://review.openstack.org/510626
    [placement] Document the changes to PUT /allocations/{consumer_uuid}

Gerrit topic: https://review.openstack.org/#q,topic:bp/post-allocations,n,z

Addressed by: https://review.openstack.org/512420
    Include project_id and user_id in AllocationList.get_all_by_consumer_id

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.