From adac748c9ea5939095ad9406244185baefd0e622 Mon Sep 17 00:00:00 2001 From: Takashi NATSUME Date: Mon, 20 Nov 2017 20:45:24 +0900 Subject: [PATCH] [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 --- placement-api-ref/source/parameters.yaml | 7 ++++--- placement-api-ref/source/update-resource_provider.json | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/placement-api-ref/source/parameters.yaml b/placement-api-ref/source/parameters.yaml index e30706547e02..b2f49f232ef7 100644 --- a/placement-api-ref/source/parameters.yaml +++ b/placement-api-ref/source/parameters.yaml @@ -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 diff --git a/placement-api-ref/source/update-resource_provider.json b/placement-api-ref/source/update-resource_provider.json index 684e3eadf4bd..f0da912a0216 100644 --- a/placement-api-ref/source/update-resource_provider.json +++ b/placement-api-ref/source/update-resource_provider.json @@ -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",