osc placement reshaper create134

Atomically migrate resource provider inventories and associated allocations. This is used when some of the inventory needs to move from one resource provider to another, such as when a class of inventory moves from a parent provider to a new child provider.

Normal Response Codes: 204

Error Response Codes: badRequest(400), conflict(409)

Usage: osc placement reshaper create134 [OPTIONS]

Options:

  • --allocations <key=value> — A dictionary of multiple allocations, keyed by consumer uuid. Each collection of allocations describes the full set of allocations for each consumer. Each consumer allocations dict is itself a dictionary of resource allocations keyed by resource provider uuid. An empty dictionary indicates no change in existing allocations, whereas an empty allocations dictionary within a consumer dictionary indicates that all allocations for that consumer should be deleted
  • --inventories <key=value> — A dictionary of multiple inventories, keyed by resource provider uuid. Each inventory describes the desired full inventory for each resource provider. An empty dictionary causes the inventory for that provider to be deleted