2016-04-12 09:03:46 -04:00
|
|
|
.. -*- rst -*-
|
2016-04-20 16:10:51 -04:00
|
|
|
.. needs:parameter_verification
|
|
|
|
.. needs:example_verification
|
|
|
|
.. needs:body_verification
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
==========================
|
|
|
|
Cloudpipe (os-cloudpipe)
|
|
|
|
==========================
|
|
|
|
|
|
|
|
Manages virtual VPNs for projects.
|
|
|
|
|
|
|
|
List Cloudpipes
|
|
|
|
===============
|
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: GET /os-cloudpipe
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Lists cloudpipes.
|
|
|
|
|
2016-04-18 16:41:58 -07:00
|
|
|
Normal response codes: 200
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-10 21:38:48 +00:00
|
|
|
Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound (404)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-04-19 17:52:18 +09:00
|
|
|
**Example List Cloudpipes: JSON response**
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-04-19 20:47:03 +08:00
|
|
|
.. literalinclude:: ../../doc/api_samples/os-cloudpipe/cloud-pipe-get-resp.json
|
2016-04-12 09:03:46 -04:00
|
|
|
:language: javascript
|
|
|
|
|
|
|
|
Create Cloudpipe
|
|
|
|
================
|
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: POST /os-cloudpipe
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Creates a cloudpipe.
|
|
|
|
|
2016-04-18 16:41:58 -07:00
|
|
|
Normal response codes: 200
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-10 21:38:48 +00:00
|
|
|
Error response codes: badRequest(400),unauthorized(401), forbidden(403)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Request
|
2016-04-14 13:10:59 -04:00
|
|
|
-------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- project_id: project_id
|
|
|
|
|
|
|
|
**Example Create Cloudpipe: JSON request**
|
|
|
|
|
|
|
|
.. literalinclude:: ../../doc/api_samples/os-cloudpipe/cloud-pipe-create-req.json
|
|
|
|
:language: javascript
|
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-04-19 17:52:18 +09:00
|
|
|
**Example Create Cloudpipe: JSON response**
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. literalinclude:: ../../doc/api_samples/os-cloudpipe/cloud-pipe-create-resp.json
|
|
|
|
:language: javascript
|
|
|
|
|
|
|
|
Update Cloudpipe
|
|
|
|
================
|
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: POST /os-cloudpipe/configure-project
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Updates the virtual private network (VPN) IP address and port for a cloudpipe instance.
|
|
|
|
|
2016-04-18 16:41:58 -07:00
|
|
|
Normal response codes: 202
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-10 21:38:48 +00:00
|
|
|
Error response codes: badRequest(400), unauthorized(401), forbidden(403)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Request
|
2016-04-14 13:10:59 -04:00
|
|
|
-------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- vpn_ip: vpn_ip
|
|
|
|
- vpn_port: vpn_port
|
|
|
|
|
|
|
|
**Example Update Cloudpipe: JSON request**
|
|
|
|
|
|
|
|
.. literalinclude:: ../../doc/api_samples/os-cloudpipe/cloud-pipe-update-req.json
|
|
|
|
:language: javascript
|
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|