Add api samples to cloudpipe extension

Change-Id: I0c9d5ac191c9c9dc6c74f955857aebf7c1952b94
This commit is contained in:
Mauro S. M. Rodrigues 2012-09-19 10:07:49 -04:00
parent 1ce2b75dd3
commit a549369e54
6 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,5 @@
{
"cloudpipe": {
"project_id": "cloudpipe-059f21e3-c20e-4efc-9e7a-eba2ab3c6f9a"
}
}

View File

@ -0,0 +1,3 @@
<cloudpipe
project_id="cloudpipe-6405f2ca-caf9-493b-a1f6-e55f595d75ab"
/>

View File

@ -0,0 +1,5 @@
{
"cloudpipe": {
"instance_id": "72afecab-24b0-437e-b1d9-88a83be701b3"
}
}

View File

@ -0,0 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
<cloudpipe>
<instance_id>1a17f615-343b-430f-976a-457c029eddb7</instance_id>
</cloudpipe>

View 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"
}
}
]
}

View 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>