Remove doc for promote/reenable replica

Cinder v2 api no longer supports replication 1.0 and the apis for
os-promote-replica and os-reenable-replica [1][2].
These 2 api had been removed in this patch[3].

We should update the doc about it.
Trivial Fix

[1]: http://developer.openstack.org/api-ref-blockstorage-v2.html#promotereplicaVolume
[2]: http://developer.openstack.org/api-ref-blockstorage-v2.html#reenablereplicaVolume
[3]: https://review.openstack.org/#/c/275797/35/cinder/api/contrib/volume_replication.py

Change-Id: I6e4f0174b4ac5d7861925354ac3860b8f1c55b84
This commit is contained in:
Cao Shufeng 2016-09-02 05:12:42 -04:00
parent 26d4a53bee
commit b9ef6efa97
4 changed files with 0 additions and 82 deletions

View File

@ -1037,18 +1037,6 @@ os-force_detach:
in: body
required: true
type: object
os-promote-replica:
description: |
The ``os-promote-replica`` action.
in: body
required: true
type: object
os-reenable-replica:
description: |
The ``os-reenable-replica`` action.
in: body
required: true
type: object
os-reset_status:
description: |
The ``os-reset_status`` action.

View File

@ -1,3 +0,0 @@
{
"os-promote-replica": {}
}

View File

@ -1,3 +0,0 @@
{
"os-reenable-replica": {}
}

View File

@ -267,67 +267,3 @@ Request Example
Promote replicated volume
=========================
.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
Promotes a replicated volume. Specify the ``os-promote-replica`` action in the request body.
Error response codes:202,
Request
-------
.. rest_parameters:: parameters.yaml
- os-promote-replica: os-promote-replica
- tenant_id: tenant_id
- volume_id: volume_id
Request Example
---------------
.. literalinclude:: ./samples/volume-replica-promote-request.json
:language: javascript
Reenable volume replication
===========================
.. rest_method:: POST /v2/{tenant_id}/volumes/{volume_id}/action
Re-enables replication of a volume. Specify the ``volume-replica-reenable`` action in the request body.
Error response codes:202,
Request
-------
.. rest_parameters:: parameters.yaml
- os-reenable-replica: os-reenable-replica
- size: size
- os-volume-replication:driver_data: os-volume-replication:driver_data
- os-volume-replication:extended_status: os-volume-replication:extended_status
- tenant_id: tenant_id
- volume_id: volume_id
Request Example
---------------
.. literalinclude:: ./samples/volume-replica-reenable-request.json
:language: javascript