From 7aee80e200ea7296d20cd7909a7cee6120f52b43 Mon Sep 17 00:00:00 2001 From: "jeremy.zhang" Date: Wed, 7 Jun 2017 15:56:14 +0800 Subject: [PATCH] Fix api-ref for v3 volume and snapshot manage From cinder api v3.8, manageable_volumes and manageable_snapshot rest sources were added that were previously in api extensions. This patch is to replace os-manage-[volume|snapshot] with manageable_[volumes|snapshots] in v3 api-ref. Change-Id: I7b9af1a1243adb082581bc3c67d8697eacc3e70a --- api-ref/source/v3/snapshot-manage.inc | 10 +++++----- api-ref/source/v3/volume-manage.inc | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/api-ref/source/v3/snapshot-manage.inc b/api-ref/source/v3/snapshot-manage.inc index 37fb7be8b79..6da63a979d4 100644 --- a/api-ref/source/v3/snapshot-manage.inc +++ b/api-ref/source/v3/snapshot-manage.inc @@ -1,7 +1,7 @@ .. -*- rst -*- -Snapshot manage extension (os-snapshot-manage) -============================================== +Snapshot manage extension (manageable_snapshots) +================================================ Creates or lists snapshots by using existing storage instead of allocating new storage. @@ -10,7 +10,7 @@ storage. Manage an existing snapshot ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. rest_method:: POST /v3/{project_id}/os-snapshot-manage +.. rest_method:: POST /v3/{project_id}/manageable_snapshots Creates a snapshot by using existing storage rather than allocating new storage. @@ -50,7 +50,7 @@ Request Example List summary of snapshots available to manage ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. rest_method:: GET /v3/{project_id}/os-snapshot-manage +.. rest_method:: GET /v3/{project_id}/manageable_snapshots Search a volume backend and list summary of snapshots which are available to manage. @@ -95,7 +95,7 @@ Response Example List detail of snapshots available to manage ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. rest_method:: GET /v3/{project_id}/os-snapshot-manage/detail +.. rest_method:: GET /v3/{project_id}/manageable_snapshots/detail Search a volume backend and list detail of snapshots which are available to manage. diff --git a/api-ref/source/v3/volume-manage.inc b/api-ref/source/v3/volume-manage.inc index c7386b719ab..0e2d20cd96b 100644 --- a/api-ref/source/v3/volume-manage.inc +++ b/api-ref/source/v3/volume-manage.inc @@ -1,7 +1,7 @@ .. -*- rst -*- -Volume manage extension (os-volume-manage) -========================================== +Volume manage extension (manageable_volumes) +============================================ Creates or lists volumes by using existing storage instead of allocating new storage. @@ -10,7 +10,7 @@ storage. Manage an existing volume ~~~~~~~~~~~~~~~~~~~~~~~~~ -.. rest_method:: POST /v3/{project_id}/os-volume-manage +.. rest_method:: POST /v3/{project_id}/manageable_volumes Creates a Block Storage volume by using existing storage rather than allocating new storage. @@ -60,7 +60,7 @@ Request Example List summary of volumes available to manage ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. rest_method:: GET /v3/{project_id}/os-volume-manage +.. rest_method:: GET /v3/{project_id}/manageable_volumes Search a volume backend and list summary of volumes which are available to manage. @@ -104,7 +104,7 @@ Response Example List detail of volumes available to manage ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. rest_method:: GET /v3/{project_id}/os-volume-manage/detail +.. rest_method:: GET /v3/{project_id}/manageable_volumes/detail Search a volume backend and list detail of volumes which are available to manage.