From 5cfe11ac9364988b30b2bf33baf4179b019e0451 Mon Sep 17 00:00:00 2001 From: junboli Date: Thu, 6 Jul 2017 14:26:54 +0800 Subject: [PATCH] Missing snapshot statuses In Api-ref v2/volumes-v2-snapshots.inc and v3/volumes-v3-snapshots.inc Both files are missing the following statuses. 1. 'deleted': The snapshot has been deleted. 2. 'unmanaging': The snapshot is in a unmanaging status. 3. 'restoring': The snapshot is being restoring to a volume. URL: https://developer.openstack.org/api-ref/block-storage/v2/index.html https://developer.openstack.org/api-ref/block-storage/v3/index.html Change-Id: I951a25693a97c98b62752619914d81493e6c5468 Closes-Bug: #1702618 --- api-ref/source/v2/volumes-v2-snapshots.inc | 34 ++++++++++++-------- api-ref/source/v3/volumes-v3-snapshots.inc | 36 +++++++++++++--------- 2 files changed, 42 insertions(+), 28 deletions(-) diff --git a/api-ref/source/v2/volumes-v2-snapshots.inc b/api-ref/source/v2/volumes-v2-snapshots.inc index c2b10fb63b6..3704b678749 100644 --- a/api-ref/source/v2/volumes-v2-snapshots.inc +++ b/api-ref/source/v2/volumes-v2-snapshots.inc @@ -11,19 +11,27 @@ possible: **Snapshot statuses** -+----------------+-------------------------------------+ -| Status | Description | -+----------------+-------------------------------------+ -| creating | The snapshot is being created. | -+----------------+-------------------------------------+ -| available | The snapshot is ready to use. | -+----------------+-------------------------------------+ -| deleting | The snapshot is being deleted. | -+----------------+-------------------------------------+ -| error | A snapshot creation error occurred. | -+----------------+-------------------------------------+ -| error_deleting | A snapshot deletion error occurred. | -+----------------+-------------------------------------+ ++----------------+---------------------------------------------+ +| Status | Description | ++----------------+---------------------------------------------+ +| creating | The snapshot is being created. | ++----------------+---------------------------------------------+ +| available | The snapshot is ready to use. | ++----------------+---------------------------------------------+ +| backing-up | The snapshot is being backed up. | ++----------------+---------------------------------------------+ +| deleting | The snapshot is being deleted. | ++----------------+---------------------------------------------+ +| error | A snapshot creation error occurred. | ++----------------+---------------------------------------------+ +| deleted | The snapshot has been deleted. | ++----------------+---------------------------------------------+ +| unmanaging | The snapshot is being unmanaged. | ++----------------+---------------------------------------------+ +| restoring | The snapshot is being restored to a volume. | ++----------------+---------------------------------------------+ +| error_deleting | A snapshot deletion error occurred. | ++----------------+---------------------------------------------+ List snapshots with details diff --git a/api-ref/source/v3/volumes-v3-snapshots.inc b/api-ref/source/v3/volumes-v3-snapshots.inc index e7639434bcb..b9a5417534d 100644 --- a/api-ref/source/v3/volumes-v3-snapshots.inc +++ b/api-ref/source/v3/volumes-v3-snapshots.inc @@ -11,21 +11,27 @@ possible: **Snapshot statuses** -+----------------+-------------------------------------+ -| Status | Description | -+----------------+-------------------------------------+ -| creating | The snapshot is being created. | -+----------------+-------------------------------------+ -| available | The snapshot is ready to use. | -+----------------+-------------------------------------+ -| backing-up | The snapshot is being backed up. | -+----------------+-------------------------------------+ -| deleting | The snapshot is being deleted. | -+----------------+-------------------------------------+ -| error | A snapshot creation error occurred. | -+----------------+-------------------------------------+ -| error_deleting | A snapshot deletion error occurred. | -+----------------+-------------------------------------+ ++----------------+---------------------------------------------+ +| Status | Description | ++----------------+---------------------------------------------+ +| creating | The snapshot is being created. | ++----------------+---------------------------------------------+ +| available | The snapshot is ready to use. | ++----------------+---------------------------------------------+ +| backing-up | The snapshot is being backed up. | ++----------------+---------------------------------------------+ +| deleting | The snapshot is being deleted. | ++----------------+---------------------------------------------+ +| error | A snapshot creation error occurred. | ++----------------+---------------------------------------------+ +| deleted | The snapshot has been deleted. | ++----------------+---------------------------------------------+ +| unmanaging | The snapshot is being unmanaged. | ++----------------+---------------------------------------------+ +| restoring | The snapshot is being restored to a volume. | ++----------------+---------------------------------------------+ +| error_deleting | A snapshot deletion error occurred. | ++----------------+---------------------------------------------+ List snapshots and details