rumm 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +14 -6
- data/.gitignore +2 -1
- data/app/controllers/attachments_controller.rb +21 -11
- data/app/controllers/containers_controller.rb +8 -2
- data/app/controllers/databases_controller.rb +7 -2
- data/app/controllers/files_controller.rb +13 -2
- data/app/controllers/instances_controller.rb +10 -4
- data/app/controllers/nodes_controller.rb +11 -5
- data/app/controllers/volumes_controller.rb +9 -5
- data/app/forms/attachments/attach_detach_show_form.rb +8 -0
- data/app/forms/containers/create_form.rb +5 -0
- data/app/forms/databases/create_form.rb +6 -0
- data/app/forms/files/create_form.rb +5 -0
- data/app/forms/files/download_form.rb +5 -0
- data/app/forms/instances/create_form.rb +11 -0
- data/app/forms/loadbalancers/create_form.rb +2 -2
- data/app/forms/nodes/create_form.rb +12 -0
- data/app/forms/users/create_form.rb +1 -1
- data/app/forms/volumes/create_form.rb +10 -0
- data/app/help/create_attachment_on_server.txt +14 -0
- data/app/help/create_container.txt +1 -0
- data/app/help/{create_database.txt → create_database_on_dbinstance.txt} +3 -3
- data/app/help/create_dbinstance.txt +3 -3
- data/app/help/create_file_in_container.txt +14 -0
- data/app/help/create_node_on_loadbalancer.txt +17 -0
- data/app/help/create_server.txt +4 -4
- data/app/help/{create_user.txt → create_user_on_dbinstance.txt} +0 -0
- data/app/help/create_volume.txt +4 -2
- data/app/help/destroy_attachment_on_server.txt +14 -0
- data/app/help/{destroy_database.txt → destroy_database_on_dbinstance.txt} +0 -0
- data/app/help/{destroy_file.txt → destroy_file_in_container.txt} +0 -0
- data/app/help/{destroy_node.txt → destroy_node_on_loadbalancer.txt} +0 -0
- data/app/help/destroy_user_on_dbinstance.txt +15 -0
- data/app/help/download_file_in_container.txt +15 -0
- data/app/help/routes.rb +4 -3
- data/app/help/show_attachment_on_server.txt +14 -0
- data/app/help/{show_attachments.txt → show_attachments_on_server.txt} +0 -0
- data/app/help/{show_database.txt → show_database_on_dbinstance.txt} +0 -0
- data/app/help/{show_databases.txt → show_databases_on_dbinstance.txt} +0 -0
- data/app/help/{show_file.txt → show_file_in_container.txt} +0 -0
- data/app/help/{show_files.txt → show_files_in_container.txt} +0 -0
- data/app/help/{show_node.txt → show_node_in_loadbalancer.txt} +0 -0
- data/app/help/show_user_on_dbinstance.txt +15 -0
- data/app/help/{show_users.txt → show_users_on_dbinstance.txt} +0 -0
- data/app/providers/compute_provider.rb +2 -1
- data/app/providers/containers_provider.rb +2 -1
- data/app/providers/databases_provider.rb +2 -1
- data/app/providers/instances_provider.rb +2 -1
- data/app/providers/loadbalancers_provider.rb +2 -1
- data/app/providers/nodes_provider.rb +2 -1
- data/app/providers/volumes_provider.rb +2 -1
- data/app/routes.rb +5 -4
- data/app/views/attachments/attach.txt.erb +4 -1
- data/app/views/attachments/detach.txt.erb +1 -1
- data/app/views/attachments/index.txt.erb +10 -2
- data/app/views/attachments/show.txt.erb +3 -1
- data/app/views/containers/create.txt.erb +1 -1
- data/app/views/containers/destroy.txt.erb +1 -1
- data/app/views/containers/index.txt.erb +7 -1
- data/app/views/databases/create.txt.erb +1 -1
- data/app/views/databases/destroy.txt.erb +1 -1
- data/app/views/databases/index.txt.erb +2 -1
- data/app/views/files/create.txt.erb +1 -2
- data/app/views/files/destroy.txt.erb +1 -1
- data/app/views/files/download.txt.erb +1 -1
- data/app/views/files/index.txt.erb +9 -1
- data/app/views/files/show.txt.erb +2 -1
- data/app/views/instances/create.txt.erb +1 -1
- data/app/views/instances/destroy.txt.erb +1 -1
- data/app/views/instances/index.txt.erb +2 -1
- data/app/views/instances/show.txt.erb +4 -1
- data/app/views/loadbalancers/create.txt.erb +1 -1
- data/app/views/loadbalancers/destroy.txt.erb +1 -1
- data/app/views/loadbalancers/index.txt.erb +1 -0
- data/app/views/nodes/create.txt.erb +1 -1
- data/app/views/nodes/destroy.txt.erb +1 -1
- data/app/views/nodes/index.txt.erb +7 -2
- data/app/views/nodes/show.txt.erb +6 -1
- data/app/views/users/index.txt.erb +4 -3
- data/app/views/volumes/create.txt.erb +1 -1
- data/app/views/volumes/destroy.txt.erb +1 -1
- data/app/views/volumes/index.txt.erb +8 -1
- data/app/views/volumes/show.txt.erb +7 -1
- data/lib/rumm/version.rb +1 -1
- data/rumm.gemspec +3 -3
- data/spec/features/attachments_spec.rb +33 -0
- data/spec/features/containers_spec.rb +30 -0
- data/spec/features/databases_spec.rb +29 -0
- data/spec/features/dbinstances_spec.rb +30 -0
- data/spec/features/files_spec.rb +50 -0
- data/spec/features/help_spec.rb +2 -2
- data/spec/features/loadbalancers_spec.rb +30 -0
- data/spec/features/login_spec.rb +21 -17
- data/spec/features/nodes_spec.rb +35 -0
- data/spec/features/servers_spec.rb +7 -13
- data/spec/features/volumes_spec.rb +29 -0
- data/spec/fixtures/cassettes/attachments/create.yml +305 -0
- data/spec/fixtures/cassettes/attachments/destroy.yml +342 -0
- data/spec/fixtures/cassettes/attachments/show-all.yml +145 -0
- data/spec/fixtures/cassettes/attachments/show.yml +309 -0
- data/spec/fixtures/cassettes/authentication/successful-login.yml +78 -0
- data/spec/fixtures/cassettes/{unsuccessful-login.yml → authentication/unsuccessful-login.yml} +3 -3
- data/spec/fixtures/cassettes/containers/create.yml +212 -0
- data/spec/fixtures/cassettes/containers/destroy.yml +211 -0
- data/spec/fixtures/cassettes/containers/show-all.yml +92 -0
- data/spec/fixtures/cassettes/containers/show.yml +92 -0
- data/spec/fixtures/cassettes/databases/create.yml +171 -0
- data/spec/fixtures/cassettes/databases/destroy.yml +206 -0
- data/spec/fixtures/cassettes/databases/show-all.yml +171 -0
- data/spec/fixtures/cassettes/databases/show.yml +171 -0
- data/spec/fixtures/cassettes/files/create.yml +129 -0
- data/spec/fixtures/cassettes/files/destroy.yml +166 -0
- data/spec/fixtures/cassettes/files/download.yml +132 -0
- data/spec/fixtures/cassettes/files/show-all.yml +175 -0
- data/spec/fixtures/cassettes/files/show.yml +133 -0
- data/spec/fixtures/cassettes/instances/create.yml +87 -0
- data/spec/fixtures/cassettes/instances/destroy.yml +128 -0
- data/spec/fixtures/cassettes/instances/show-all.yml +87 -0
- data/spec/fixtures/cassettes/instances/show.yml +128 -0
- data/spec/fixtures/cassettes/loadbalancers/create.yml +81 -0
- data/spec/fixtures/cassettes/loadbalancers/destroy.yml +114 -0
- data/spec/fixtures/cassettes/loadbalancers/show-all.yml +81 -0
- data/spec/fixtures/cassettes/loadbalancers/show.yml +81 -0
- data/spec/fixtures/cassettes/nodes/create.yml +159 -0
- data/spec/fixtures/cassettes/nodes/destroy.yml +192 -0
- data/spec/fixtures/cassettes/nodes/show-all.yml +159 -0
- data/spec/fixtures/cassettes/nodes/show.yml +159 -0
- data/spec/fixtures/cassettes/{create-server.yml → servers/create.yml} +2452 -3032
- data/spec/fixtures/cassettes/servers/destroy.yml +130 -0
- data/spec/fixtures/cassettes/servers/show-all.yml +81 -0
- data/spec/fixtures/cassettes/servers/show.yml +183 -0
- data/spec/fixtures/cassettes/volumes/create.yml +83 -0
- data/spec/fixtures/cassettes/volumes/destroy.yml +114 -0
- data/spec/fixtures/cassettes/volumes/show-all.yml +83 -0
- data/spec/fixtures/cassettes/volumes/show.yml +83 -0
- data/spec/spec_helper.rb +37 -7
- metadata +135 -62
- data/app/help/attach_volume.txt +0 -15
- data/app/help/create_node.txt +0 -14
- data/app/help/detach_volume.txt +0 -15
- data/spec/fixtures/cassettes/destroy-server.yml +0 -130
- data/spec/fixtures/cassettes/show-server.yml +0 -183
- data/spec/fixtures/cassettes/show-servers.yml +0 -81
- data/spec/fixtures/cassettes/successful-login.yml +0 -78
data/app/help/attach_volume.txt
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
Usage:
|
2
|
-
rumm attach volume ID to server SERVER_ID
|
3
|
-
|
4
|
-
Options:
|
5
|
-
none
|
6
|
-
|
7
|
-
Arguments:
|
8
|
-
ID: STRING # The name of the volume to be attached
|
9
|
-
SERVER_ID: STRING # The name of the server the volume is to be attached to
|
10
|
-
|
11
|
-
Description:
|
12
|
-
Attaches the specified volume to the named server.
|
13
|
-
|
14
|
-
Examples:
|
15
|
-
rumm attach volume colorful-caterpillar to server superordinate-struthioniformes
|
data/app/help/create_node.txt
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
Usage:
|
2
|
-
rumm create node on loadbalancer LOADBALANCER_ID
|
3
|
-
|
4
|
-
Options:
|
5
|
-
none
|
6
|
-
|
7
|
-
Arguments:
|
8
|
-
LOADBALANCER_ID: STRING # Name of the loadbalancer that contains the node requested
|
9
|
-
|
10
|
-
Description:
|
11
|
-
Creates a new node on the named load balancer.
|
12
|
-
|
13
|
-
Examples:
|
14
|
-
rumm create node on loadbalancer LOADBALANCER_ID
|
data/app/help/detach_volume.txt
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
Usage:
|
2
|
-
rumm detach volume ID from server SERVER_ID
|
3
|
-
|
4
|
-
Options:
|
5
|
-
none
|
6
|
-
|
7
|
-
Arguments:
|
8
|
-
ID: STRING # The name of the volume to be attached
|
9
|
-
SERVER_ID: STRING # The name of the server the volume is to be detached from
|
10
|
-
|
11
|
-
Description:
|
12
|
-
Detaches the specified volume from the named server.
|
13
|
-
|
14
|
-
Examples:
|
15
|
-
rumm detach volume colorful-caterpillar from server superordinate-struthioniformes
|
@@ -1,130 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://identity.api.rackspacecloud.com/v2.0/tokens
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"auth":{"RAX-KSKEY:apiKeyCredentials":{"username":"<rackspace-username>","apiKey":"<rackspace-api-key>"}}}'
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- fog/1.12.1
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept:
|
15
|
-
- application/json
|
16
|
-
X-Auth-Token: []
|
17
|
-
response:
|
18
|
-
status:
|
19
|
-
code: 200
|
20
|
-
message:
|
21
|
-
headers:
|
22
|
-
Server:
|
23
|
-
- nginx/0.8.55
|
24
|
-
Date:
|
25
|
-
- Tue, 09 Jul 2013 19:05:59 GMT
|
26
|
-
Content-Type:
|
27
|
-
- application/json
|
28
|
-
Connection:
|
29
|
-
- keep-alive
|
30
|
-
vary:
|
31
|
-
- Accept, Accept-Encoding, X-Auth-Token
|
32
|
-
VIA:
|
33
|
-
- 1.0 Repose (Repose/2.3.5)
|
34
|
-
Content-Length:
|
35
|
-
- '4976'
|
36
|
-
Front-End-Https:
|
37
|
-
- 'on'
|
38
|
-
body:
|
39
|
-
encoding: UTF-8
|
40
|
-
string: '{"access":{"token":{"id":"<rackspace-api-token>","expires":"2013-07-10T11:14:38.381-05:00","tenant":{"id":"833532","name":"833532"}},"serviceCatalog":[{"name":"cloudFilesCDN","endpoints":[{"region":"DFW","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/cdn1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"ORD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/cdn2.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"SYD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/cdn4.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"}],"type":"rax:object-cdn"},{"name":"cloudFiles","endpoints":[{"region":"DFW","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","internalURL":"https:\/\/snet-storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"ORD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","internalURL":"https:\/\/snet-storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"SYD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/storage101.syd2.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","internalURL":"https:\/\/snet-storage101.syd2.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"}],"type":"object-store"},{"name":"cloudBlockStorage","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.blockstorage.api.rackspacecloud.com\/v1\/833532"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.blockstorage.api.rackspacecloud.com\/v1\/833532"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.blockstorage.api.rackspacecloud.com\/v1\/833532"}],"type":"volume"},{"name":"cloudLoadBalancers","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.loadbalancers.api.rackspacecloud.com\/v1.0\/833532"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.loadbalancers.api.rackspacecloud.com\/v1.0\/833532"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.loadbalancers.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:load-balancer"},{"name":"cloudServersOpenStack","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.servers.api.rackspacecloud.com\/v2\/833532","versionInfo":"https:\/\/syd.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/syd.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2\/833532","versionInfo":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/dfw.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.servers.api.rackspacecloud.com\/v2\/833532","versionInfo":"https:\/\/ord.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/ord.servers.api.rackspacecloud.com\/","versionId":"2"}],"type":"compute"},{"name":"cloudDatabases","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.databases.api.rackspacecloud.com\/v1.0\/833532"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.databases.api.rackspacecloud.com\/v1.0\/833532"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.databases.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:database"},{"name":"cloudDNS","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/dns.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:dns"},{"name":"cloudServers","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/servers.api.rackspacecloud.com\/v1.0\/833532","versionInfo":"https:\/\/servers.api.rackspacecloud.com\/v1.0","versionList":"https:\/\/servers.api.rackspacecloud.com\/","versionId":"1.0"}],"type":"compute"},{"name":"cloudMonitoring","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/monitoring.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:monitor"},{"name":"cloudBackup","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/backup.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:backup"}],"user":{"id":"10038092","roles":[{"id":"3","description":"User
|
41
|
-
Admin Role.","name":"identity:user-admin"},{"tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","id":"5","description":"A
|
42
|
-
Role that allows a user access to keystone Service methods","name":"object-store:default"},{"tenantId":"833532","id":"6","description":"A
|
43
|
-
Role that allows a user access to keystone Service methods","name":"compute:default"}],"name":"<rackspace-username>","RAX-AUTH:defaultRegion":"ORD"}}}'
|
44
|
-
http_version:
|
45
|
-
recorded_at: Tue, 09 Jul 2013 19:05:59 GMT
|
46
|
-
- request:
|
47
|
-
method: get
|
48
|
-
uri: https://ord.servers.api.rackspacecloud.com/v2/833532/servers/detail
|
49
|
-
body:
|
50
|
-
encoding: US-ASCII
|
51
|
-
string: ''
|
52
|
-
headers:
|
53
|
-
User-Agent:
|
54
|
-
- fog/1.12.1
|
55
|
-
Content-Type:
|
56
|
-
- application/json
|
57
|
-
Accept:
|
58
|
-
- application/json
|
59
|
-
X-Auth-Token:
|
60
|
-
- <rackspace-api-token>
|
61
|
-
response:
|
62
|
-
status:
|
63
|
-
code: 200
|
64
|
-
message:
|
65
|
-
headers:
|
66
|
-
Date:
|
67
|
-
- Tue, 09 Jul 2013 19:05:59 GMT
|
68
|
-
Content-Length:
|
69
|
-
- '1324'
|
70
|
-
Content-Type:
|
71
|
-
- application/json
|
72
|
-
X-Compute-Request-Id:
|
73
|
-
- req-de1f6232-a0f9-4891-a073-095d9fe177a3
|
74
|
-
Server:
|
75
|
-
- Jetty(8.0.y.z-SNAPSHOT)
|
76
|
-
body:
|
77
|
-
encoding: UTF-8
|
78
|
-
string: '{"servers": [{"status": "ACTIVE", "updated": "2013-07-09T19:05:34Z",
|
79
|
-
"hostId": "5e1059793b6d3418a25cf6d9912cef080e4daf8e1b1bfac15f2cfec3", "addresses":
|
80
|
-
{"public": [{"version": 4, "addr": "166.78.114.68"}, {"version": 6, "addr":
|
81
|
-
"2001:4801:7817:0072:aa50:10b5:ff10:ccfa"}], "private": [{"version": 4, "addr":
|
82
|
-
"10.177.27.229"}]}, "links": [{"href": "https://ord.servers.api.rackspacecloud.com/v2/833532/servers/bd7c65a9-b40e-4c8d-8aaf-bb7210caccaf",
|
83
|
-
"rel": "self"}, {"href": "https://ord.servers.api.rackspacecloud.com/833532/servers/bd7c65a9-b40e-4c8d-8aaf-bb7210caccaf",
|
84
|
-
"rel": "bookmark"}], "key_name": null, "image": {"id": "9922a7c7-5a42-4a56-bc6a-93f857ae2346",
|
85
|
-
"links": [{"href": "https://ord.servers.api.rackspacecloud.com/833532/images/9922a7c7-5a42-4a56-bc6a-93f857ae2346",
|
86
|
-
"rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state":
|
87
|
-
"active", "flavor": {"id": "2", "links": [{"href": "https://ord.servers.api.rackspacecloud.com/833532/flavors/2",
|
88
|
-
"rel": "bookmark"}]}, "id": "bd7c65a9-b40e-4c8d-8aaf-bb7210caccaf", "user_id":
|
89
|
-
"10038092", "name": "silly-saffron", "created": "2013-07-09T19:00:48Z", "tenant_id":
|
90
|
-
"833532", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "166.78.114.68", "accessIPv6":
|
91
|
-
"2001:4801:7817:72:aa50:10b5:ff10:ccfa", "progress": 100, "OS-EXT-STS:power_state":
|
92
|
-
1, "metadata": {}}]}'
|
93
|
-
http_version:
|
94
|
-
recorded_at: Tue, 09 Jul 2013 19:05:59 GMT
|
95
|
-
- request:
|
96
|
-
method: delete
|
97
|
-
uri: https://ord.servers.api.rackspacecloud.com/v2/833532/servers/bd7c65a9-b40e-4c8d-8aaf-bb7210caccaf
|
98
|
-
body:
|
99
|
-
encoding: US-ASCII
|
100
|
-
string: ''
|
101
|
-
headers:
|
102
|
-
User-Agent:
|
103
|
-
- fog/1.12.1
|
104
|
-
Content-Type:
|
105
|
-
- application/json
|
106
|
-
Accept:
|
107
|
-
- application/json
|
108
|
-
X-Auth-Token:
|
109
|
-
- <rackspace-api-token>
|
110
|
-
response:
|
111
|
-
status:
|
112
|
-
code: 204
|
113
|
-
message:
|
114
|
-
headers:
|
115
|
-
Date:
|
116
|
-
- Tue, 09 Jul 2013 19:06:01 GMT
|
117
|
-
Content-Length:
|
118
|
-
- '0'
|
119
|
-
Content-Type:
|
120
|
-
- application/json
|
121
|
-
X-Compute-Request-Id:
|
122
|
-
- req-d443ebc7-ad74-4ec0-9278-b7facfcb1741
|
123
|
-
Server:
|
124
|
-
- Jetty(8.0.y.z-SNAPSHOT)
|
125
|
-
body:
|
126
|
-
encoding: UTF-8
|
127
|
-
string: ''
|
128
|
-
http_version:
|
129
|
-
recorded_at: Tue, 09 Jul 2013 19:06:02 GMT
|
130
|
-
recorded_with: VCR 2.5.0
|
@@ -1,183 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://identity.api.rackspacecloud.com/v2.0/tokens
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"auth":{"RAX-KSKEY:apiKeyCredentials":{"username":"<rackspace-username>","apiKey":"<rackspace-api-key>"}}}'
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- fog/1.12.1
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept:
|
15
|
-
- application/json
|
16
|
-
X-Auth-Token: []
|
17
|
-
response:
|
18
|
-
status:
|
19
|
-
code: 200
|
20
|
-
message:
|
21
|
-
headers:
|
22
|
-
Server:
|
23
|
-
- nginx/0.8.55
|
24
|
-
Date:
|
25
|
-
- Tue, 09 Jul 2013 19:05:56 GMT
|
26
|
-
Content-Type:
|
27
|
-
- application/json
|
28
|
-
Connection:
|
29
|
-
- keep-alive
|
30
|
-
vary:
|
31
|
-
- Accept, Accept-Encoding, X-Auth-Token
|
32
|
-
VIA:
|
33
|
-
- 1.0 Repose (Repose/2.3.5)
|
34
|
-
Content-Length:
|
35
|
-
- '4976'
|
36
|
-
Front-End-Https:
|
37
|
-
- 'on'
|
38
|
-
body:
|
39
|
-
encoding: UTF-8
|
40
|
-
string: '{"access":{"token":{"id":"<rackspace-api-token>","expires":"2013-07-10T11:14:38.381-05:00","tenant":{"id":"833532","name":"833532"}},"serviceCatalog":[{"name":"cloudFiles","endpoints":[{"region":"ORD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","internalURL":"https:\/\/snet-storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"DFW","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","internalURL":"https:\/\/snet-storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"SYD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/storage101.syd2.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","internalURL":"https:\/\/snet-storage101.syd2.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"}],"type":"object-store"},{"name":"cloudFilesCDN","endpoints":[{"region":"ORD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/cdn2.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"DFW","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/cdn1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"SYD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/cdn4.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"}],"type":"rax:object-cdn"},{"name":"cloudBlockStorage","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.blockstorage.api.rackspacecloud.com\/v1\/833532"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.blockstorage.api.rackspacecloud.com\/v1\/833532"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.blockstorage.api.rackspacecloud.com\/v1\/833532"}],"type":"volume"},{"name":"cloudLoadBalancers","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.loadbalancers.api.rackspacecloud.com\/v1.0\/833532"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.loadbalancers.api.rackspacecloud.com\/v1.0\/833532"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.loadbalancers.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:load-balancer"},{"name":"cloudServersOpenStack","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.servers.api.rackspacecloud.com\/v2\/833532","versionInfo":"https:\/\/syd.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/syd.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2\/833532","versionInfo":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/dfw.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.servers.api.rackspacecloud.com\/v2\/833532","versionInfo":"https:\/\/ord.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/ord.servers.api.rackspacecloud.com\/","versionId":"2"}],"type":"compute"},{"name":"cloudDatabases","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.databases.api.rackspacecloud.com\/v1.0\/833532"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.databases.api.rackspacecloud.com\/v1.0\/833532"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.databases.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:database"},{"name":"cloudDNS","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/dns.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:dns"},{"name":"cloudServers","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/servers.api.rackspacecloud.com\/v1.0\/833532","versionInfo":"https:\/\/servers.api.rackspacecloud.com\/v1.0","versionList":"https:\/\/servers.api.rackspacecloud.com\/","versionId":"1.0"}],"type":"compute"},{"name":"cloudMonitoring","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/monitoring.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:monitor"},{"name":"cloudBackup","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/backup.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:backup"}],"user":{"id":"10038092","roles":[{"id":"3","description":"User
|
41
|
-
Admin Role.","name":"identity:user-admin"},{"tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","id":"5","description":"A
|
42
|
-
Role that allows a user access to keystone Service methods","name":"object-store:default"},{"tenantId":"833532","id":"6","description":"A
|
43
|
-
Role that allows a user access to keystone Service methods","name":"compute:default"}],"name":"<rackspace-username>","RAX-AUTH:defaultRegion":"ORD"}}}'
|
44
|
-
http_version:
|
45
|
-
recorded_at: Tue, 09 Jul 2013 19:05:56 GMT
|
46
|
-
- request:
|
47
|
-
method: get
|
48
|
-
uri: https://ord.servers.api.rackspacecloud.com/v2/833532/servers/detail
|
49
|
-
body:
|
50
|
-
encoding: US-ASCII
|
51
|
-
string: ''
|
52
|
-
headers:
|
53
|
-
User-Agent:
|
54
|
-
- fog/1.12.1
|
55
|
-
Content-Type:
|
56
|
-
- application/json
|
57
|
-
Accept:
|
58
|
-
- application/json
|
59
|
-
X-Auth-Token:
|
60
|
-
- <rackspace-api-token>
|
61
|
-
response:
|
62
|
-
status:
|
63
|
-
code: 200
|
64
|
-
message:
|
65
|
-
headers:
|
66
|
-
Date:
|
67
|
-
- Tue, 09 Jul 2013 19:05:56 GMT
|
68
|
-
Content-Length:
|
69
|
-
- '1324'
|
70
|
-
Content-Type:
|
71
|
-
- application/json
|
72
|
-
X-Compute-Request-Id:
|
73
|
-
- req-398dea7d-c839-4565-bbed-4500a61f290a
|
74
|
-
Server:
|
75
|
-
- Jetty(8.0.y.z-SNAPSHOT)
|
76
|
-
body:
|
77
|
-
encoding: UTF-8
|
78
|
-
string: '{"servers": [{"status": "ACTIVE", "updated": "2013-07-09T19:05:34Z",
|
79
|
-
"hostId": "5e1059793b6d3418a25cf6d9912cef080e4daf8e1b1bfac15f2cfec3", "addresses":
|
80
|
-
{"public": [{"version": 4, "addr": "166.78.114.68"}, {"version": 6, "addr":
|
81
|
-
"2001:4801:7817:0072:aa50:10b5:ff10:ccfa"}], "private": [{"version": 4, "addr":
|
82
|
-
"10.177.27.229"}]}, "links": [{"href": "https://ord.servers.api.rackspacecloud.com/v2/833532/servers/bd7c65a9-b40e-4c8d-8aaf-bb7210caccaf",
|
83
|
-
"rel": "self"}, {"href": "https://ord.servers.api.rackspacecloud.com/833532/servers/bd7c65a9-b40e-4c8d-8aaf-bb7210caccaf",
|
84
|
-
"rel": "bookmark"}], "key_name": null, "image": {"id": "9922a7c7-5a42-4a56-bc6a-93f857ae2346",
|
85
|
-
"links": [{"href": "https://ord.servers.api.rackspacecloud.com/833532/images/9922a7c7-5a42-4a56-bc6a-93f857ae2346",
|
86
|
-
"rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state":
|
87
|
-
"active", "flavor": {"id": "2", "links": [{"href": "https://ord.servers.api.rackspacecloud.com/833532/flavors/2",
|
88
|
-
"rel": "bookmark"}]}, "id": "bd7c65a9-b40e-4c8d-8aaf-bb7210caccaf", "user_id":
|
89
|
-
"10038092", "name": "silly-saffron", "created": "2013-07-09T19:00:48Z", "tenant_id":
|
90
|
-
"833532", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "166.78.114.68", "accessIPv6":
|
91
|
-
"2001:4801:7817:72:aa50:10b5:ff10:ccfa", "progress": 100, "OS-EXT-STS:power_state":
|
92
|
-
1, "metadata": {}}]}'
|
93
|
-
http_version:
|
94
|
-
recorded_at: Tue, 09 Jul 2013 19:05:56 GMT
|
95
|
-
- request:
|
96
|
-
method: get
|
97
|
-
uri: https://ord.servers.api.rackspacecloud.com/v2/833532/images/9922a7c7-5a42-4a56-bc6a-93f857ae2346
|
98
|
-
body:
|
99
|
-
encoding: US-ASCII
|
100
|
-
string: ''
|
101
|
-
headers:
|
102
|
-
User-Agent:
|
103
|
-
- fog/1.12.1
|
104
|
-
Content-Type:
|
105
|
-
- application/json
|
106
|
-
Accept:
|
107
|
-
- application/json
|
108
|
-
X-Auth-Token:
|
109
|
-
- <rackspace-api-token>
|
110
|
-
response:
|
111
|
-
status:
|
112
|
-
code: 200
|
113
|
-
message:
|
114
|
-
headers:
|
115
|
-
Date:
|
116
|
-
- Tue, 09 Jul 2013 19:05:57 GMT
|
117
|
-
Content-Length:
|
118
|
-
- '1454'
|
119
|
-
Content-Type:
|
120
|
-
- application/json
|
121
|
-
X-Compute-Request-Id:
|
122
|
-
- req-1c1494fe-251b-4755-948c-7e20d88abac9
|
123
|
-
Server:
|
124
|
-
- Jetty(8.0.y.z-SNAPSHOT)
|
125
|
-
body:
|
126
|
-
encoding: UTF-8
|
127
|
-
string: '{"image": {"status": "ACTIVE", "updated": "2013-06-18T21:39:49Z", "links":
|
128
|
-
[{"href": "https://ord.servers.api.rackspacecloud.com/v2/833532/images/9922a7c7-5a42-4a56-bc6a-93f857ae2346",
|
129
|
-
"rel": "self"}, {"href": "https://ord.servers.api.rackspacecloud.com/833532/images/9922a7c7-5a42-4a56-bc6a-93f857ae2346",
|
130
|
-
"rel": "bookmark"}, {"href": "https://ord.images.api.rackspacecloud.com/833532/images/9922a7c7-5a42-4a56-bc6a-93f857ae2346",
|
131
|
-
"type": "application/vnd.openstack.image", "rel": "alternate"}], "OS-DCF:diskConfig":
|
132
|
-
"AUTO", "id": "9922a7c7-5a42-4a56-bc6a-93f857ae2346", "OS-EXT-IMG-SIZE:size":
|
133
|
-
211452277, "name": "Ubuntu 13.04 (Raring Ringtail)", "created": "2013-04-26T13:33:22Z",
|
134
|
-
"minDisk": 0, "progress": 100, "minRam": 512, "metadata": {"os_distro": "ubuntu",
|
135
|
-
"com.rackspace__1__visible_core": "0", "com.rackspace__1__options": "0", "com.rackspace__1__build_rackconnect":
|
136
|
-
"1", "image_type": "base", "com.rackspace__1__release_build_date": "2013-04-25_17-03-56",
|
137
|
-
"org.openstack__1__os_version": "13.04", "org.openstack__1__os_distro": "com.ubuntu",
|
138
|
-
"cache_in_nova": "1", "com.rackspace__1__source": "kickstart", "com.rackspace__1__visible_rackconnect":
|
139
|
-
"0", "com.rackspace__1__release_version": "2", "auto_disk_config": "True",
|
140
|
-
"com.rackspace__1__release_id": "1005", "os_type": "linux", "com.rackspace__1__build_core":
|
141
|
-
"1", "com.rackspace__1__visible_managed": "0", "org.openstack__1__architecture":
|
142
|
-
"x64", "com.rackspace__1__build_managed": "1"}}}'
|
143
|
-
http_version:
|
144
|
-
recorded_at: Tue, 09 Jul 2013 19:05:58 GMT
|
145
|
-
- request:
|
146
|
-
method: get
|
147
|
-
uri: https://ord.servers.api.rackspacecloud.com/v2/833532/flavors/2
|
148
|
-
body:
|
149
|
-
encoding: US-ASCII
|
150
|
-
string: ''
|
151
|
-
headers:
|
152
|
-
User-Agent:
|
153
|
-
- fog/1.12.1
|
154
|
-
Content-Type:
|
155
|
-
- application/json
|
156
|
-
Accept:
|
157
|
-
- application/json
|
158
|
-
X-Auth-Token:
|
159
|
-
- <rackspace-api-token>
|
160
|
-
response:
|
161
|
-
status:
|
162
|
-
code: 200
|
163
|
-
message:
|
164
|
-
headers:
|
165
|
-
Date:
|
166
|
-
- Tue, 09 Jul 2013 19:05:58 GMT
|
167
|
-
Content-Length:
|
168
|
-
- '353'
|
169
|
-
Content-Type:
|
170
|
-
- application/json
|
171
|
-
X-Compute-Request-Id:
|
172
|
-
- req-4c5d8cb6-e05b-4569-936d-8966116ab52b
|
173
|
-
Server:
|
174
|
-
- Jetty(8.0.y.z-SNAPSHOT)
|
175
|
-
body:
|
176
|
-
encoding: UTF-8
|
177
|
-
string: '{"flavor": {"name": "512MB Standard Instance", "links": [{"href": "https://ord.servers.api.rackspacecloud.com/v2/833532/flavors/2",
|
178
|
-
"rel": "self"}, {"href": "https://ord.servers.api.rackspacecloud.com/833532/flavors/2",
|
179
|
-
"rel": "bookmark"}], "ram": 512, "vcpus": 1, "swap": 512, "rxtx_factor": 2.0,
|
180
|
-
"OS-FLV-EXT-DATA:ephemeral": 0, "disk": 20, "id": "2"}}'
|
181
|
-
http_version:
|
182
|
-
recorded_at: Tue, 09 Jul 2013 19:05:58 GMT
|
183
|
-
recorded_with: VCR 2.5.0
|
@@ -1,81 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://identity.api.rackspacecloud.com/v2.0/tokens
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"auth":{"RAX-KSKEY:apiKeyCredentials":{"username":"<rackspace-username>","apiKey":"<rackspace-api-key>"}}}'
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- fog/1.12.1
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept:
|
15
|
-
- application/json
|
16
|
-
X-Auth-Token: []
|
17
|
-
response:
|
18
|
-
status:
|
19
|
-
code: 200
|
20
|
-
message:
|
21
|
-
headers:
|
22
|
-
Server:
|
23
|
-
- nginx/0.8.55
|
24
|
-
Date:
|
25
|
-
- Tue, 09 Jul 2013 19:00:32 GMT
|
26
|
-
Content-Type:
|
27
|
-
- application/json
|
28
|
-
Connection:
|
29
|
-
- keep-alive
|
30
|
-
vary:
|
31
|
-
- Accept, Accept-Encoding, X-Auth-Token
|
32
|
-
VIA:
|
33
|
-
- 1.0 Repose (Repose/2.3.5)
|
34
|
-
Content-Length:
|
35
|
-
- '4976'
|
36
|
-
Front-End-Https:
|
37
|
-
- 'on'
|
38
|
-
body:
|
39
|
-
encoding: UTF-8
|
40
|
-
string: '{"access":{"token":{"id":"<rackspace-api-token>","expires":"2013-07-10T11:14:38.381-05:00","tenant":{"id":"833532","name":"833532"}},"serviceCatalog":[{"name":"cloudFiles","endpoints":[{"region":"ORD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","internalURL":"https:\/\/snet-storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"DFW","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","internalURL":"https:\/\/snet-storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"SYD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/storage101.syd2.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","internalURL":"https:\/\/snet-storage101.syd2.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"}],"type":"object-store"},{"name":"cloudFilesCDN","endpoints":[{"region":"ORD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/cdn2.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"DFW","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/cdn1.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"},{"region":"SYD","tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","publicURL":"https:\/\/cdn4.clouddrive.com\/v1\/MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd"}],"type":"rax:object-cdn"},{"name":"cloudDatabases","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.databases.api.rackspacecloud.com\/v1.0\/833532"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.databases.api.rackspacecloud.com\/v1.0\/833532"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.databases.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:database"},{"name":"cloudMonitoring","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/monitoring.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:monitor"},{"name":"cloudBlockStorage","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.blockstorage.api.rackspacecloud.com\/v1\/833532"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.blockstorage.api.rackspacecloud.com\/v1\/833532"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.blockstorage.api.rackspacecloud.com\/v1\/833532"}],"type":"volume"},{"name":"cloudServersOpenStack","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.servers.api.rackspacecloud.com\/v2\/833532","versionInfo":"https:\/\/syd.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/syd.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.servers.api.rackspacecloud.com\/v2\/833532","versionInfo":"https:\/\/ord.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/ord.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2\/833532","versionInfo":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/dfw.servers.api.rackspacecloud.com\/","versionId":"2"}],"type":"compute"},{"name":"cloudServers","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/servers.api.rackspacecloud.com\/v1.0\/833532","versionInfo":"https:\/\/servers.api.rackspacecloud.com\/v1.0","versionList":"https:\/\/servers.api.rackspacecloud.com\/","versionId":"1.0"}],"type":"compute"},{"name":"cloudDNS","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/dns.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:dns"},{"name":"cloudLoadBalancers","endpoints":[{"region":"SYD","tenantId":"833532","publicURL":"https:\/\/syd.loadbalancers.api.rackspacecloud.com\/v1.0\/833532"},{"region":"ORD","tenantId":"833532","publicURL":"https:\/\/ord.loadbalancers.api.rackspacecloud.com\/v1.0\/833532"},{"region":"DFW","tenantId":"833532","publicURL":"https:\/\/dfw.loadbalancers.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:load-balancer"},{"name":"cloudBackup","endpoints":[{"tenantId":"833532","publicURL":"https:\/\/backup.api.rackspacecloud.com\/v1.0\/833532"}],"type":"rax:backup"}],"user":{"id":"10038092","roles":[{"id":"3","description":"User
|
41
|
-
Admin Role.","name":"identity:user-admin"},{"tenantId":"MossoCloudFS_558014f8-1c3d-44b9-a771-f42ace65e8dd","id":"5","description":"A
|
42
|
-
Role that allows a user access to keystone Service methods","name":"object-store:default"},{"tenantId":"833532","id":"6","description":"A
|
43
|
-
Role that allows a user access to keystone Service methods","name":"compute:default"}],"name":"<rackspace-username>","RAX-AUTH:defaultRegion":"ORD"}}}'
|
44
|
-
http_version:
|
45
|
-
recorded_at: Tue, 09 Jul 2013 19:00:32 GMT
|
46
|
-
- request:
|
47
|
-
method: get
|
48
|
-
uri: https://ord.servers.api.rackspacecloud.com/v2/833532/servers/detail
|
49
|
-
body:
|
50
|
-
encoding: US-ASCII
|
51
|
-
string: ''
|
52
|
-
headers:
|
53
|
-
User-Agent:
|
54
|
-
- fog/1.12.1
|
55
|
-
Content-Type:
|
56
|
-
- application/json
|
57
|
-
Accept:
|
58
|
-
- application/json
|
59
|
-
X-Auth-Token:
|
60
|
-
- <rackspace-api-token>
|
61
|
-
response:
|
62
|
-
status:
|
63
|
-
code: 200
|
64
|
-
message:
|
65
|
-
headers:
|
66
|
-
Date:
|
67
|
-
- Tue, 09 Jul 2013 19:00:33 GMT
|
68
|
-
Content-Length:
|
69
|
-
- '15'
|
70
|
-
Content-Type:
|
71
|
-
- application/json
|
72
|
-
X-Compute-Request-Id:
|
73
|
-
- req-cb0f3458-f399-4ff7-adc4-d181f42eea02
|
74
|
-
Server:
|
75
|
-
- Jetty(8.0.y.z-SNAPSHOT)
|
76
|
-
body:
|
77
|
-
encoding: UTF-8
|
78
|
-
string: '{"servers": []}'
|
79
|
-
http_version:
|
80
|
-
recorded_at: Tue, 09 Jul 2013 19:00:34 GMT
|
81
|
-
recorded_with: VCR 2.5.0
|
@@ -1,78 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://identity.api.rackspacecloud.com/v2.0/tokens
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"auth":{"passwordCredentials":{"username":"<rackspace-username>","password":"<rackspace-password>"}}}'
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message:
|
16
|
-
headers:
|
17
|
-
Server:
|
18
|
-
- nginx/0.8.55
|
19
|
-
Date:
|
20
|
-
- Fri, 28 Jun 2013 17:28:01 GMT
|
21
|
-
Content-Type:
|
22
|
-
- application/json
|
23
|
-
Connection:
|
24
|
-
- keep-alive
|
25
|
-
vary:
|
26
|
-
- Accept, Accept-Encoding, X-Auth-Token
|
27
|
-
VIA:
|
28
|
-
- 1.0 Repose (Repose/2.3.5)
|
29
|
-
Content-Length:
|
30
|
-
- '4973'
|
31
|
-
Front-End-Https:
|
32
|
-
- 'on'
|
33
|
-
body:
|
34
|
-
encoding: UTF-8
|
35
|
-
string: '{"access":{"token":{"id":"<rackspace-api-token>","expires":"2013-06-28T15:57:21.042-05:00","tenant":{"id":"829771","name":"829771"}},"serviceCatalog":[{"name":"cloudFiles","endpoints":[{"region":"DFW","tenantId":"MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d","publicURL":"https:\/\/storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d","internalURL":"https:\/\/snet-storage101.dfw1.clouddrive.com\/v1\/MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d"},{"region":"SYD","tenantId":"MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d","publicURL":"https:\/\/storage101.syd2.clouddrive.com\/v1\/MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d","internalURL":"https:\/\/snet-storage101.syd2.clouddrive.com\/v1\/MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d"},{"region":"ORD","tenantId":"MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d","publicURL":"https:\/\/storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d","internalURL":"https:\/\/snet-storage101.ord1.clouddrive.com\/v1\/MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d"}],"type":"object-store"},{"name":"cloudFilesCDN","endpoints":[{"region":"DFW","tenantId":"MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d","publicURL":"https:\/\/cdn1.clouddrive.com\/v1\/MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d"},{"region":"ORD","tenantId":"MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d","publicURL":"https:\/\/cdn2.clouddrive.com\/v1\/MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d"},{"region":"SYD","tenantId":"MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d","publicURL":"https:\/\/cdn4.clouddrive.com\/v1\/MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d"}],"type":"rax:object-cdn"},{"name":"cloudLoadBalancers","endpoints":[{"region":"SYD","tenantId":"829771","publicURL":"https:\/\/syd.loadbalancers.api.rackspacecloud.com\/v1.0\/829771"},{"region":"ORD","tenantId":"829771","publicURL":"https:\/\/ord.loadbalancers.api.rackspacecloud.com\/v1.0\/829771"},{"region":"DFW","tenantId":"829771","publicURL":"https:\/\/dfw.loadbalancers.api.rackspacecloud.com\/v1.0\/829771"}],"type":"rax:load-balancer"},{"name":"cloudBlockStorage","endpoints":[{"region":"SYD","tenantId":"829771","publicURL":"https:\/\/syd.blockstorage.api.rackspacecloud.com\/v1\/829771"},{"region":"ORD","tenantId":"829771","publicURL":"https:\/\/ord.blockstorage.api.rackspacecloud.com\/v1\/829771"},{"region":"DFW","tenantId":"829771","publicURL":"https:\/\/dfw.blockstorage.api.rackspacecloud.com\/v1\/829771"}],"type":"volume"},{"name":"cloudDatabases","endpoints":[{"region":"SYD","tenantId":"829771","publicURL":"https:\/\/syd.databases.api.rackspacecloud.com\/v1.0\/829771"},{"region":"DFW","tenantId":"829771","publicURL":"https:\/\/dfw.databases.api.rackspacecloud.com\/v1.0\/829771"},{"region":"ORD","tenantId":"829771","publicURL":"https:\/\/ord.databases.api.rackspacecloud.com\/v1.0\/829771"}],"type":"rax:database"},{"name":"cloudServersOpenStack","endpoints":[{"region":"SYD","tenantId":"829771","publicURL":"https:\/\/syd.servers.api.rackspacecloud.com\/v2\/829771","versionInfo":"https:\/\/syd.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/syd.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"DFW","tenantId":"829771","publicURL":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2\/829771","versionInfo":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/dfw.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"ORD","tenantId":"829771","publicURL":"https:\/\/ord.servers.api.rackspacecloud.com\/v2\/829771","versionInfo":"https:\/\/ord.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/ord.servers.api.rackspacecloud.com\/","versionId":"2"}],"type":"compute"},{"name":"cloudDNS","endpoints":[{"tenantId":"829771","publicURL":"https:\/\/dns.api.rackspacecloud.com\/v1.0\/829771"}],"type":"rax:dns"},{"name":"cloudBackup","endpoints":[{"tenantId":"829771","publicURL":"https:\/\/backup.api.rackspacecloud.com\/v1.0\/829771"}],"type":"rax:backup"},{"name":"cloudServers","endpoints":[{"tenantId":"829771","publicURL":"https:\/\/servers.api.rackspacecloud.com\/v1.0\/829771","versionInfo":"https:\/\/servers.api.rackspacecloud.com\/v1.0","versionList":"https:\/\/servers.api.rackspacecloud.com\/","versionId":"1.0"}],"type":"compute"},{"name":"cloudMonitoring","endpoints":[{"tenantId":"829771","publicURL":"https:\/\/monitoring.api.rackspacecloud.com\/v1.0\/829771"}],"type":"rax:monitor"}],"user":{"id":"356537","roles":[{"tenantId":"MossoCloudFS_51a1ae47-05df-400f-91cc-0a481d4ab24d","id":"5","description":"A
|
36
|
-
Role that allows a user access to keystone Service methods","name":"object-store:default"},{"tenantId":"829771","id":"6","description":"A
|
37
|
-
Role that allows a user access to keystone Service methods","name":"compute:default"},{"id":"3","description":"User
|
38
|
-
Admin Role.","name":"identity:user-admin"}],"name":"<rackspace-username>","RAX-AUTH:defaultRegion":"ORD"}}}'
|
39
|
-
http_version:
|
40
|
-
recorded_at: Fri, 28 Jun 2013 17:28:01 GMT
|
41
|
-
- request:
|
42
|
-
method: get
|
43
|
-
uri: https://identity.api.rackspacecloud.com/v2.0/users/356537/OS-KSADM/credentials/RAX-KSKEY:apiKeyCredentials
|
44
|
-
body:
|
45
|
-
encoding: US-ASCII
|
46
|
-
string: ''
|
47
|
-
headers:
|
48
|
-
Content-Type:
|
49
|
-
- application/json
|
50
|
-
X-Auth-Token:
|
51
|
-
- <rackspace-api-token>
|
52
|
-
response:
|
53
|
-
status:
|
54
|
-
code: 200
|
55
|
-
message:
|
56
|
-
headers:
|
57
|
-
Server:
|
58
|
-
- nginx/0.8.55
|
59
|
-
Date:
|
60
|
-
- Fri, 28 Jun 2013 17:28:01 GMT
|
61
|
-
Content-Type:
|
62
|
-
- application/json
|
63
|
-
Connection:
|
64
|
-
- keep-alive
|
65
|
-
vary:
|
66
|
-
- Accept, Accept-Encoding, X-Auth-Token
|
67
|
-
VIA:
|
68
|
-
- 1.0 Repose (Repose/2.3.5)
|
69
|
-
Content-Length:
|
70
|
-
- '98'
|
71
|
-
Front-End-Https:
|
72
|
-
- 'on'
|
73
|
-
body:
|
74
|
-
encoding: UTF-8
|
75
|
-
string: '{"RAX-KSKEY:apiKeyCredentials":{"username":"<rackspace-username>","apiKey":"<rackspace-api-key>"}}'
|
76
|
-
http_version:
|
77
|
-
recorded_at: Fri, 28 Jun 2013 17:28:02 GMT
|
78
|
-
recorded_with: VCR 2.5.0
|