From 902719a46ed9b8f84f9753bd624ad59b5a968134 Mon Sep 17 00:00:00 2001 From: TommyLike Date: Sat, 31 Mar 2018 11:53:21 +0800 Subject: [PATCH] Remove extended attribute 'os-volume-replication' in Doc 'os-volume-replication:extended_status' and 'os-volume-replication:driver_date' are unavailable since the merge of patch [1] during Liberty, remove these from API document. [1]: https://review.openstack.org/#/c/275797/ Change-Id: Ib319702f085930a6bf528ef95fb17a7da8451e96 --- api-ref/source/v2/parameters.yaml | 19 ------------------- .../v2/samples/volume-show-response.json | 2 -- .../volumes-list-detailed-response.json | 4 ---- api-ref/source/v2/volumes-v2-volumes.inc | 4 ---- api-ref/source/v3/parameters.yaml | 19 ------------------- .../v3/samples/volume-show-response.json | 2 -- .../volumes-list-detailed-response.json | 4 ---- api-ref/source/v3/volumes-v3-volumes.inc | 4 ---- 8 files changed, 58 deletions(-) diff --git a/api-ref/source/v2/parameters.yaml b/api-ref/source/v2/parameters.yaml index df8d0ca0ae0..0d6f269e5f0 100644 --- a/api-ref/source/v2/parameters.yaml +++ b/api-ref/source/v2/parameters.yaml @@ -1265,25 +1265,6 @@ os-vol-tenant-attr:tenant_id: in: body required: true type: string -os-volume-replication:driver_data: - description: | - The name of the volume replication driver. - in: body - required: false - type: string -os-volume-replication:extended_status: - description: | - The volume replication status managed by the - driver of backend storage. - in: body - required: false - type: string -os-volume-replication:extended_status_1: - description: | - The status of the volume replication. - in: body - required: false - type: string perVolumeGigabytes: description: | The maximum amount of storage per volume, in gibibytes (GiB). diff --git a/api-ref/source/v2/samples/volume-show-response.json b/api-ref/source/v2/samples/volume-show-response.json index f9d73aae8f5..3b0daf6ce30 100644 --- a/api-ref/source/v2/samples/volume-show-response.json +++ b/api-ref/source/v2/samples/volume-show-response.json @@ -24,8 +24,6 @@ "volume_type": "None", "os-vol-tenant-attr:tenant_id": "0c2eba2c5af04d3f9e9d0d410b371fde", "size": 1, - "os-volume-replication:driver_data": null, - "os-volume-replication:extended_status": null, "metadata": { "contents": "not junk" } diff --git a/api-ref/source/v2/samples/volumes-list-detailed-response.json b/api-ref/source/v2/samples/volumes-list-detailed-response.json index e91029c14da..057d1b1e307 100644 --- a/api-ref/source/v2/samples/volumes-list-detailed-response.json +++ b/api-ref/source/v2/samples/volumes-list-detailed-response.json @@ -25,7 +25,6 @@ "availability_zone": "nova", "os-vol-host-attr:host": "difleming@lvmdriver-1#lvmdriver-1", "encrypted": false, - "os-volume-replication:extended_status": null, "replication_status": "disabled", "snapshot_id": null, "id": "6edbc2f4-1507-44f8-ac0d-eed1d2608d38", @@ -40,7 +39,6 @@ "status": "in-use", "description": null, "multiattach": true, - "os-volume-replication:driver_data": null, "source_volid": null, "consistencygroup_id": null, "os-vol-mig-status-attr:name_id": null, @@ -65,7 +63,6 @@ "availability_zone": "nova", "os-vol-host-attr:host": "difleming@lvmdriver-1#lvmdriver-1", "encrypted": false, - "os-volume-replication:extended_status": null, "replication_status": "disabled", "snapshot_id": null, "id": "173f7b48-c4c1-4e70-9acc-086b39073506", @@ -89,7 +86,6 @@ }, "description": "", "multiattach": false, - "os-volume-replication:driver_data": null, "source_volid": null, "consistencygroup_id": null, "os-vol-mig-status-attr:name_id": null, diff --git a/api-ref/source/v2/volumes-v2-volumes.inc b/api-ref/source/v2/volumes-v2-volumes.inc index 654b7119474..a4fe5860a89 100644 --- a/api-ref/source/v2/volumes-v2-volumes.inc +++ b/api-ref/source/v2/volumes-v2-volumes.inc @@ -99,7 +99,6 @@ Response Parameters - os-vol-host-attr:host: os-vol-host-attr:host - encrypted: encrypted - updated_at: updated_at - - os-volume-replication:extended_status: os-volume-replication:extended_status - replication_status: replication_status - snapshot_id: snapshot_id - id: id @@ -118,7 +117,6 @@ Response Parameters - name: name - bootable: bootable_response - created_at: created_at - - os-volume-replication:driver_data: os-volume-replication:driver_data - volumes: volumes - volume_type: volume_type @@ -329,7 +327,6 @@ Response Parameters - os-vol-host-attr:host: os-vol-host-attr:host - encrypted: encrypted - updated_at: updated_at - - os-volume-replication:extended_status: os-volume-replication:extended_status - replication_status: replication_status - snapshot_id: snapshot_id - id: id @@ -349,7 +346,6 @@ Response Parameters - name: name - bootable: bootable_response - created_at: created_at - - os-volume-replication:driver_data: os-volume-replication:driver_data - volume_type: volume_type diff --git a/api-ref/source/v3/parameters.yaml b/api-ref/source/v3/parameters.yaml index fe16f4e0082..34aad21f3e1 100644 --- a/api-ref/source/v3/parameters.yaml +++ b/api-ref/source/v3/parameters.yaml @@ -2025,25 +2025,6 @@ os-vol-tenant-attr:tenant_id: in: body required: true type: string -os-volume-replication:driver_data: - description: | - The name of the volume replication driver. - in: body - required: false - type: string -os-volume-replication:extended_status: - description: | - The volume replication status managed by the - driver of backend storage. - in: body - required: false - type: string -os-volume-replication:extended_status_1: - description: | - The status of the volume replication. - in: body - required: false - type: string os-volume_upload_image: description: | The ``os-volume_upload_image`` action. This diff --git a/api-ref/source/v3/samples/volume-show-response.json b/api-ref/source/v3/samples/volume-show-response.json index c17556186fe..7a4e01a160b 100644 --- a/api-ref/source/v3/samples/volume-show-response.json +++ b/api-ref/source/v3/samples/volume-show-response.json @@ -24,8 +24,6 @@ "volume_type": "None", "os-vol-tenant-attr:tenant_id": "0c2eba2c5af04d3f9e9d0d410b371fde", "size": 1, - "os-volume-replication:driver_data": null, - "os-volume-replication:extended_status": null, "metadata": { "contents": "not junk" } diff --git a/api-ref/source/v3/samples/volumes-list-detailed-response.json b/api-ref/source/v3/samples/volumes-list-detailed-response.json index 2d190beecd3..5a1f8333251 100644 --- a/api-ref/source/v3/samples/volumes-list-detailed-response.json +++ b/api-ref/source/v3/samples/volumes-list-detailed-response.json @@ -25,7 +25,6 @@ "availability_zone": "nova", "os-vol-host-attr:host": "difleming@lvmdriver-1#lvmdriver-1", "encrypted": false, - "os-volume-replication:extended_status": null, "replication_status": "disabled", "snapshot_id": null, "id": "6edbc2f4-1507-44f8-ac0d-eed1d2608d38", @@ -40,7 +39,6 @@ "status": "in-use", "description": null, "multiattach": true, - "os-volume-replication:driver_data": null, "source_volid": null, "consistencygroup_id": null, "os-vol-mig-status-attr:name_id": null, @@ -65,7 +63,6 @@ "availability_zone": "nova", "os-vol-host-attr:host": "difleming@lvmdriver-1#lvmdriver-1", "encrypted": false, - "os-volume-replication:extended_status": null, "replication_status": "disabled", "snapshot_id": null, "id": "173f7b48-c4c1-4e70-9acc-086b39073506", @@ -89,7 +86,6 @@ }, "description": "", "multiattach": false, - "os-volume-replication:driver_data": null, "source_volid": null, "consistencygroup_id": null, "os-vol-mig-status-attr:name_id": null, diff --git a/api-ref/source/v3/volumes-v3-volumes.inc b/api-ref/source/v3/volumes-v3-volumes.inc index 156e85f345e..d050a775f95 100644 --- a/api-ref/source/v3/volumes-v3-volumes.inc +++ b/api-ref/source/v3/volumes-v3-volumes.inc @@ -108,7 +108,6 @@ Response Parameters - os-vol-host-attr:host: os-vol-host-attr:host - encrypted: encrypted - updated_at: updated_at - - os-volume-replication:extended_status: os-volume-replication:extended_status - replication_status: replication_status - snapshot_id: snapshot_id - id: id_5 @@ -127,7 +126,6 @@ Response Parameters - name: name_13 - bootable: bootable_response - created_at: created_at - - os-volume-replication:driver_data: os-volume-replication:driver_data - volumes: volumes - volume_type: volume_type_6 - count: count @@ -349,7 +347,6 @@ Response Parameters - os-vol-host-attr:host: os-vol-host-attr:host - encrypted: encrypted - updated_at: updated_at - - os-volume-replication:extended_status: os-volume-replication:extended_status - replication_status: replication_status - snapshot_id: snapshot_id - id: id_5 @@ -369,7 +366,6 @@ Response Parameters - name: name_13 - bootable: bootable_response - created_at: created_at - - os-volume-replication:driver_data: os-volume-replication:driver_data - volume_type: volume_type_6 - service_uuid: service_uuid - shared_targets: shared_targets