Add api samples to cloudpipe extension
Change-Id: I0c9d5ac191c9c9dc6c74f955857aebf7c1952b94
This commit is contained in:
parent
1ce2b75dd3
commit
a549369e54
5
doc/api_samples/os-cloudpipe/cloud-pipe-create-req.json
Normal file
5
doc/api_samples/os-cloudpipe/cloud-pipe-create-req.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"cloudpipe": {
|
||||
"project_id": "cloudpipe-059f21e3-c20e-4efc-9e7a-eba2ab3c6f9a"
|
||||
}
|
||||
}
|
3
doc/api_samples/os-cloudpipe/cloud-pipe-create-req.xml
Normal file
3
doc/api_samples/os-cloudpipe/cloud-pipe-create-req.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<cloudpipe
|
||||
project_id="cloudpipe-6405f2ca-caf9-493b-a1f6-e55f595d75ab"
|
||||
/>
|
5
doc/api_samples/os-cloudpipe/cloud-pipe-create-resp.json
Normal file
5
doc/api_samples/os-cloudpipe/cloud-pipe-create-resp.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"cloudpipe": {
|
||||
"instance_id": "72afecab-24b0-437e-b1d9-88a83be701b3"
|
||||
}
|
||||
}
|
4
doc/api_samples/os-cloudpipe/cloud-pipe-create-resp.xml
Normal file
4
doc/api_samples/os-cloudpipe/cloud-pipe-create-resp.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<cloudpipe>
|
||||
<instance_id>1a17f615-343b-430f-976a-457c029eddb7</instance_id>
|
||||
</cloudpipe>
|
15
doc/api_samples/os-cloudpipe/cloud-pipe-get-resp.json
Normal file
15
doc/api_samples/os-cloudpipe/cloud-pipe-get-resp.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"cloudpipes": [
|
||||
{
|
||||
"cloudpipe": {
|
||||
"created_at": "2012-09-25T18:18:55Z",
|
||||
"instance_id": "72afecab-24b0-437e-b1d9-88a83be701b3",
|
||||
"internal_ip": "192.168.0.3",
|
||||
"project_id": "cloudpipe-059f21e3-c20e-4efc-9e7a-eba2ab3c6f9a",
|
||||
"public_ip": "127.0.0.1",
|
||||
"public_port": 22,
|
||||
"state": "down"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
12
doc/api_samples/os-cloudpipe/cloud-pipe-get-resp.xml
Normal file
12
doc/api_samples/os-cloudpipe/cloud-pipe-get-resp.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<cloudpipes>
|
||||
<cloudpipe>
|
||||
<public_ip>127.0.0.1</public_ip>
|
||||
<created_at>2012-09-25T18:18:49Z</created_at>
|
||||
<public_port>22</public_port>
|
||||
<state>down</state>
|
||||
<instance_id>1a17f615-343b-430f-976a-457c029eddb7</instance_id>
|
||||
<internal_ip>192.168.0.3</internal_ip>
|
||||
<project_id>cloudpipe-6405f2ca-caf9-493b-a1f6-e55f595d75ab</project_id>
|
||||
</cloudpipe>
|
||||
</cloudpipes>
|
Loading…
Reference in New Issue
Block a user