Symmetric GET and PUT of allocations in Placement
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:
-
queens-2
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add spec for symmetric GET and PUT of allocations
Gerrit topic: https:/
Addressed by: https:/
[placement] Enable PUT dict to /allocations/
Addressed by: https:/
[placement] Document the changes to PUT /allocations/
Gerrit topic: https:/
Addressed by: https:/
Include project_id and user_id in AllocationList.
Work Items
Dependency tree

* Blueprints in grey have been implemented.