nova/nova/api/openstack/placement/schemas
Chris Dent 4d525b4ec1 [placement] Add /reshaper handler for POST
/reshaper provides a way to atomically modify some allocations and
inventory in a single transaction, allowing operations like migrating
some inventory from a parent provider to a new child.

A fair amount of code is reused from handler/inventory.py, some
refactoring is in order before things get too far with that.

In handler/allocation.py some code is extracted to its own methods
so it can be reused from reshaper.py.

This is done as microversion 1.30.

A suite of gabbi tests is provided which attempt to cover various
failures including schema violations, generation conflicts, and
data conflicts.

api-ref, release notes and rest history are updated

Change-Id: I5b33ac3572bc3789878174ffc86ca42ae8035cfa
Partially-Implements: blueprint reshape-provider-tree
2018-08-23 00:36:17 +00:00
..
__init__.py [placement] Separate API schemas (usage) 2017-12-14 15:15:33 +00:00
aggregate.py placement: generation in provider aggregate APIs 2018-03-14 17:08:52 -05:00
allocation.py [placement] Regex consts for placement schema 2018-08-22 11:09:06 -05:00
allocation_candidate.py placement: Granular GET /allocation_candidates 2018-05-08 11:54:30 -05:00
common.py [placement] Regex consts for placement schema 2018-08-22 11:09:06 -05:00
inventory.py [placement] Regex consts for placement schema 2018-08-22 11:09:06 -05:00
reshaper.py [placement] Add /reshaper handler for POST 2018-08-23 00:36:17 +00:00
resource_class.py [placement] Regex consts for placement schema 2018-08-22 11:09:06 -05:00
resource_provider.py rp: GET /resource_providers?required=<traits> 2018-02-23 12:08:32 -06:00
trait.py [placement] Regex consts for placement schema 2018-08-22 11:09:06 -05:00
usage.py [placement] Separate API schemas (usage) 2017-12-14 15:15:33 +00:00