diff options
| author | Chris Yeoh <cyeoh@au1.ibm.com> | 2012-11-12 13:04:38 +1030 |
|---|---|---|
| committer | Chris Yeoh <cyeoh@au1.ibm.com> | 2012-11-30 19:24:32 +1030 |
| commit | 0bf27df376ae45a0dd23d37f099afe57ec05ad86 (patch) | |
| tree | c5455b1bf8d1e5b66bb143d447c86a66f099d680 /doc | |
| parent | 37df2052d7b9666c72478de79b46a60b15c9f4fd (diff) | |
Add vpn ip/port setting support for CloudPipe
This extends the cloudpipe REST API to allow the setting of the IP and port
for the VPN for each network in the project
/v2/{tenant_id/os-cloudpipe/configure-project # POST ip/port
This forms part of the work to provide APIs for functionality currently
implemented by nova-manage that needs direct db access so nova-manage
can eventually be removed
DocImpact
Implements: blueprint apis-for-nova-manage
Change-Id: I416c0bfbe1c88470638f1c2004d1dcaeb51a6c41
Diffstat (limited to 'doc')
4 files changed, 22 insertions, 0 deletions
diff --git a/doc/api_samples/all_extensions/extensions-get-resp.json b/doc/api_samples/all_extensions/extensions-get-resp.json index f34eec0a3..399d937a7 100644 --- a/doc/api_samples/all_extensions/extensions-get-resp.json +++ b/doc/api_samples/all_extensions/extensions-get-resp.json @@ -97,6 +97,14 @@ "updated": "2011-12-16T00:00:00+00:00" }, { + "alias": "os-cloudpipe-update", + "description": "Adds the ability to set the vpn ip/port for cloudpipe instances.", + "links": [], + "name": "CloudpipeUpdate", + "namespace": "http://docs.openstack.org/compute/ext/cloudpipe-update/api/v2", + "updated": "2012-11-14T00:00:00+00:00" + }, + { "alias": "os-config-drive", "description": "Config Drive Extension", "links": [], diff --git a/doc/api_samples/all_extensions/extensions-get-resp.xml b/doc/api_samples/all_extensions/extensions-get-resp.xml index 78dd425a7..e4d3b8cc3 100644 --- a/doc/api_samples/all_extensions/extensions-get-resp.xml +++ b/doc/api_samples/all_extensions/extensions-get-resp.xml @@ -48,6 +48,9 @@ a SSH Bastion host is forthcoming. </description> </extension> + <extension alias="os-cloudpipe-update" updated="2012-11-14T00:00:00+00:00" namespace="http://docs.openstack.org/compute/ext/cloudpipe-update/api/v2" name="CloudpipeUpdate"> + <description>Adds the ability to set the vpn ip/port for cloudpipe instances.</description> + </extension> <extension alias="os-config-drive" updated="2012-07-16T00:00:00+00:00" namespace="http://docs.openstack.org/compute/ext/config_drive/api/v1.1" name="ConfigDrive"> <description>Config Drive Extension</description> </extension> diff --git a/doc/api_samples/os-cloudpipe-update/cloud-pipe-update-req.json b/doc/api_samples/os-cloudpipe-update/cloud-pipe-update-req.json new file mode 100644 index 000000000..7882765b4 --- /dev/null +++ b/doc/api_samples/os-cloudpipe-update/cloud-pipe-update-req.json @@ -0,0 +1,6 @@ +{ + "configure_project": { + "vpn_ip": "192.168.1.1", + "vpn_port": "2000" + } +}
\ No newline at end of file diff --git a/doc/api_samples/os-cloudpipe-update/cloud-pipe-update-req.xml b/doc/api_samples/os-cloudpipe-update/cloud-pipe-update-req.xml new file mode 100644 index 000000000..253b0426a --- /dev/null +++ b/doc/api_samples/os-cloudpipe-update/cloud-pipe-update-req.xml @@ -0,0 +1,5 @@ +<?xml version='1.0' encoding='UTF-8'?> +<configure_project> + <vpn_ip>192.168.1.1</vpn_ip> + <vpn_port>2000</vpn_port> +</configure_project>
\ No newline at end of file |
