ironic/api-ref/source/samples/allocation-update-response.json
Tzu-Mainn Chen 3fbb560af1 Add owner to allocations and create relevant policies
Add an owner to allocations. Depending on policy, a non-admin
can then create an allocation and have the owner set to their
project. Allocation processing then respects the owner.

Change-Id: I2965a4a601b9fa2c0212097da37b104a3e5514df
Story: #2006506
Task: #37540
2019-12-10 19:00:33 +00:00

28 lines
642 B
JSON

{
"node_uuid": null,
"uuid": "241db410-7b04-4b1c-87ae-4e336435db08",
"links": [
{
"href": "http://10.66.169.122/v1/allocations/241db410-7b04-4b1c-87ae-4e336435db08",
"rel": "self"
},
{
"href": "http://10.66.169.122/allocations/241db410-7b04-4b1c-87ae-4e336435db08",
"rel": "bookmark"
}
],
"extra":
{
"foo": "bar"
},
"last_error": null,
"created_at": "2019-06-04T07:46:25+00:00",
"owner": null,
"resource_class": "CUSTOM_GOLD",
"updated_at": "2019-06-06T03:28:19.496960+00:00",
"traits": [],
"state": "error",
"candidate_nodes": [],
"name": "test_allocation"
}