[placement] Add aggregate link note in API ref

The aggregate link has been added in resource provider APIs
since microversion 1.1.
But the note is missing in Placement API reference.
Add the note.

The allocations link is missing in the response example
of "Update resource provider" API.
Add it as well.

Change-Id: I325ff34c8b436429c2a2623cf1fb16b368807d29
Closes-Bug: #1733317
This commit is contained in:
Takashi NATSUME 2017-11-20 20:45:24 +09:00
parent 2c4a1a390a
commit adac748c9e
2 changed files with 8 additions and 3 deletions

View File

@ -272,10 +272,11 @@ resource_provider_links:
description: |
A list of links associated with one resource provider.
.. note:: Trait relationship link is available starting from version 1.6.
.. note::
.. note:: Allocations relationship link is available starting from version
1.11.
Aggregates relationship link is available starting from version 1.1.
Traits relationship link is available starting from version 1.6.
Allocations relationship link is available starting from version 1.11.
resource_provider_name:
type: string

View File

@ -20,6 +20,10 @@
{
"href": "/placement/resource_providers/33f26ae0-dbf2-485b-a24a-244d8280e29f/traits",
"rel": "traits"
},
{
"href": "/placement/resource_providers/33f26ae0-dbf2-485b-a24a-244d8280e29f/allocations",
"rel": "allocations"
}
],
"name": "Shared storage",