3fbb560af1
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
25 lines
585 B
JSON
25 lines
585 B
JSON
{
|
|
"candidate_nodes": [],
|
|
"created_at": "2019-02-20T09:43:58+00:00",
|
|
"extra": {},
|
|
"last_error": null,
|
|
"links": [
|
|
{
|
|
"href": "http://127.0.0.1:6385/v1/allocations/5344a3e2-978a-444e-990a-cbf47c62ef88",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://127.0.0.1:6385/allocations/5344a3e2-978a-444e-990a-cbf47c62ef88",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "allocation-1",
|
|
"node_uuid": null,
|
|
"owner": null,
|
|
"resource_class": "bm-large",
|
|
"state": "allocating",
|
|
"traits": [],
|
|
"updated_at": null,
|
|
"uuid": "5344a3e2-978a-444e-990a-cbf47c62ef88"
|
|
}
|