API to query resource allocation

Registered by Pierre Riteau

In some clouds, Blazar users should be able to query resource allocation, e.g. list all reservations for a particular resource, or show which hosts are allocated to a specific reservation. This will allow features like reservation calendars to be implemented.

Blueprint information

Status:
Complete
Approver:
Blazar core developers
Priority:
High
Drafter:
Pierre Riteau
Direction:
Approved
Assignee:
Masahito Muroi
Definition:
Approved
Series goal:
Accepted for stein
Implementation:
Implemented
Milestone target:
milestone icon stein-3
Started by
Masahito Muroi
Completed by
Pierre Riteau

Related branches

Sprints

Whiteboard

The rough design discussion was done in https://etherpad.openstack.org/p/blazar-ptg-rocky

Gerrit topic: https://review.openstack.org/#q,topic:bp/resource-allocation-api,n,z

Addressed by: https://review.openstack.org/574628
    Spec: Resource allocation API

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

Addressed by: https://review.openstack.org/580577
    Pass query parameters in GET request to list handler

Addressed by: https://review.openstack.org/581286
    Implement list and get allocation method to compute hosts plugin

Addressed by: https://review.openstack.org/584272
    Expose List/Get Allocations API

Addressed by: https://review.openstack.org/585187
    Support lease_id parameter in List and Get Allocations API

Addressed by: https://review.openstack.org/585696
    Support reservation_id parameter in List and Get Allocation API

Addressed by: https://review.openstack.org/585697
    Add a releasenote for the List Allocation API and the Get Allocation API

Addressed by: https://review.openstack.org/585698
    WIP - Support terminated parameter in List and Get Allocation API

Gerrit topic: https://review.openstack.org/#q,topic:bp/resource-availability-api,n,z

Addressed by: https://review.openstack.org/628137
    Change "Resource Allocation API" spec

Addressed by: https://review.openstack.org/586859
    Add API tests for List and Get Allocation API

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.