From 0bf27df376ae45a0dd23d37f099afe57ec05ad86 Mon Sep 17 00:00:00 2001 From: Chris Yeoh Date: Mon, 12 Nov 2012 13:04:38 +1030 Subject: 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 --- doc/api_samples/all_extensions/extensions-get-resp.json | 8 ++++++++ doc/api_samples/all_extensions/extensions-get-resp.xml | 3 +++ doc/api_samples/os-cloudpipe-update/cloud-pipe-update-req.json | 6 ++++++ doc/api_samples/os-cloudpipe-update/cloud-pipe-update-req.xml | 5 +++++ 4 files changed, 22 insertions(+) create mode 100644 doc/api_samples/os-cloudpipe-update/cloud-pipe-update-req.json create mode 100644 doc/api_samples/os-cloudpipe-update/cloud-pipe-update-req.xml (limited to 'doc') 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 @@ -96,6 +96,14 @@ "namespace": "http://docs.openstack.org/compute/ext/cloudpipe/api/v1.1", "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", 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. + + Adds the ability to set the vpn ip/port for cloudpipe instances. + Config Drive 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 @@ + + + 192.168.1.1 + 2000 + \ No newline at end of file -- cgit