Merge "Complete verification for os-cloudpipe.inc"
This commit is contained in:
commit
d3c9c476fc
@ -1,11 +1,14 @@
|
|||||||
.. -*- rst -*-
|
.. -*- rst -*-
|
||||||
.. needs:parameter_verification
|
|
||||||
.. needs:example_verification
|
|
||||||
.. needs:body_verification
|
|
||||||
|
|
||||||
==========================
|
======================================
|
||||||
Cloudpipe (os-cloudpipe)
|
Cloudpipe (os-cloudpipe) (DEPRECATED)
|
||||||
==========================
|
======================================
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
This API only works with ``nova-network`` which is
|
||||||
|
deprecated in favor of Neutron. It should be avoided
|
||||||
|
in any new applications.
|
||||||
|
|
||||||
Manages virtual VPNs for projects.
|
Manages virtual VPNs for projects.
|
||||||
|
|
||||||
@ -23,6 +26,17 @@ Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNo
|
|||||||
Response
|
Response
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
|
- cloudpipes: cloudpipes
|
||||||
|
- created_at: created
|
||||||
|
- instance_id: instance_id_cloudpipe
|
||||||
|
- internal_ip: fixed_ip
|
||||||
|
- project_id: project_id_instance_action
|
||||||
|
- public_ip: vpn_public_ip_resp
|
||||||
|
- public_port: vpn_public_port_resp
|
||||||
|
- state: vpn_state
|
||||||
|
|
||||||
**Example List Cloudpipes: JSON response**
|
**Example List Cloudpipes: JSON response**
|
||||||
|
|
||||||
.. literalinclude:: ../../doc/api_samples/os-cloudpipe/cloud-pipe-get-resp.json
|
.. literalinclude:: ../../doc/api_samples/os-cloudpipe/cloud-pipe-get-resp.json
|
||||||
@ -44,6 +58,7 @@ Request
|
|||||||
|
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
|
- cloudpipe: cloudpipe
|
||||||
- project_id: project_id
|
- project_id: project_id
|
||||||
|
|
||||||
**Example Create Cloudpipe: JSON request**
|
**Example Create Cloudpipe: JSON request**
|
||||||
@ -54,6 +69,10 @@ Request
|
|||||||
Response
|
Response
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
|
- instance_id: instance_id_cloudpipe
|
||||||
|
|
||||||
**Example Create Cloudpipe: JSON response**
|
**Example Create Cloudpipe: JSON response**
|
||||||
|
|
||||||
.. literalinclude:: ../../doc/api_samples/os-cloudpipe/cloud-pipe-create-resp.json
|
.. literalinclude:: ../../doc/api_samples/os-cloudpipe/cloud-pipe-create-resp.json
|
||||||
@ -62,7 +81,7 @@ Response
|
|||||||
Update Cloudpipe
|
Update Cloudpipe
|
||||||
================
|
================
|
||||||
|
|
||||||
.. rest_method:: POST /os-cloudpipe/configure-project
|
.. rest_method:: PUT /os-cloudpipe/configure-project
|
||||||
|
|
||||||
Updates the virtual private network (VPN) IP address and port for a cloudpipe instance.
|
Updates the virtual private network (VPN) IP address and port for a cloudpipe instance.
|
||||||
|
|
||||||
@ -75,8 +94,9 @@ Request
|
|||||||
|
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- vpn_ip: vpn_ip
|
- configure_project: configure_project_cloudpipe
|
||||||
- vpn_port: vpn_port
|
- vpn_ip: vpn_public_ip
|
||||||
|
- vpn_port: vpn_public_port
|
||||||
|
|
||||||
**Example Update Cloudpipe: JSON request**
|
**Example Update Cloudpipe: JSON request**
|
||||||
|
|
||||||
@ -85,3 +105,5 @@ Request
|
|||||||
|
|
||||||
Response
|
Response
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
There is no body content for the response of a successful PUT request
|
@ -1225,6 +1225,18 @@ cidr:
|
|||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
cloudpipe:
|
||||||
|
description: |
|
||||||
|
The cloudpipe object.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: object
|
||||||
|
cloudpipes:
|
||||||
|
description: |
|
||||||
|
The list of cloudpipe objects.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: array
|
||||||
code:
|
code:
|
||||||
description: |
|
description: |
|
||||||
The HTTP response code for the event. The following codes are currently used:
|
The HTTP response code for the event. The following codes are currently used:
|
||||||
@ -1253,6 +1265,12 @@ config_drive_resp:
|
|||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
configure_project_cloudpipe:
|
||||||
|
description: |
|
||||||
|
VPN IP and Port information to configure the cloudpipe instance..
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: object
|
||||||
confirmResize:
|
confirmResize:
|
||||||
description: |
|
description: |
|
||||||
The action.
|
The action.
|
||||||
@ -2513,6 +2531,12 @@ instance_id_body:
|
|||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
instance_id_cloudpipe:
|
||||||
|
description: |
|
||||||
|
The UUID of the cloudpipe instance.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
instance_name:
|
instance_name:
|
||||||
description: |
|
description: |
|
||||||
The name of the instance.
|
The name of the instance.
|
||||||
@ -4513,15 +4537,33 @@ volumes:
|
|||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: array
|
||||||
vpn_ip:
|
vpn_public_ip:
|
||||||
description: |
|
description: |
|
||||||
The VPN IP address.
|
The VPN IP address.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
vpn_port:
|
vpn_public_ip_resp:
|
||||||
|
description: |
|
||||||
|
The VPN public IP address.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
vpn_public_port:
|
||||||
description: |
|
description: |
|
||||||
The VPN port.
|
The VPN port.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
vpn_public_port_resp:
|
||||||
|
description: |
|
||||||
|
The VPN public port.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
vpn_state:
|
||||||
|
description: |
|
||||||
|
The VPN state.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
Loading…
Reference in New Issue
Block a user