knife-rackspace 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +15 -0
- data/.travis.yml +0 -1
- data/CHANGELOG.md +7 -0
- data/README.rdoc +38 -16
- data/knife-rackspace.gemspec +1 -1
- data/lib/chef/knife/rackspace_base.rb +30 -15
- data/lib/chef/knife/rackspace_server_create.rb +49 -30
- data/lib/knife-rackspace/version.rb +1 -1
- data/spec/cassettes/v1/should_list_images.yml +38 -45
- data/spec/cassettes/v1/should_list_server_flavors.yml +87 -94
- data/spec/cassettes/v2/should_list_images.yml +150 -147
- data/spec/cassettes/v2/should_list_server_flavors.yml +60 -67
- data/spec/unit/rackspace_base_spec.rb +38 -0
- metadata +17 -31
@@ -1,70 +1,63 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
|
-
method:
|
5
|
-
uri: https://
|
4
|
+
method: post
|
5
|
+
uri: https://identity.api.rackspacecloud.com/v2.0/tokens
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string: ''
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ! '{"auth":{"RAX-KSKEY:apiKeyCredentials":{"username":"_RAX_USERNAME_","apiKey":"_RAX_PASSWORD_"}}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- fog/1.
|
12
|
-
|
13
|
-
-
|
14
|
-
|
15
|
-
-
|
11
|
+
- fog/1.10.1
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
X-Auth-Token: _ONE-TIME-TOKEN_
|
16
17
|
response:
|
17
18
|
status:
|
18
|
-
code:
|
19
|
+
code: 200
|
19
20
|
message:
|
20
21
|
headers:
|
21
22
|
Server:
|
22
23
|
- nginx/0.8.55
|
23
|
-
vary:
|
24
|
-
- Accept, Accept-Encoding, X-Auth-Token, X-Auth-Key, X-Storage-User, X-Storage-Pass,
|
25
|
-
X-Auth-User
|
26
|
-
X-Storage-Url:
|
27
|
-
- https://storage101.dfw1.clouddrive.com/v1/_CDN-TENANT-NAME_
|
28
|
-
Cache-Control:
|
29
|
-
- s-maxage=85673
|
30
|
-
X-Cloud-Auth:
|
31
|
-
- 'true'
|
32
24
|
Date:
|
33
|
-
-
|
34
|
-
|
35
|
-
-
|
36
|
-
X-Auth-Token: _ONE-TIME-TOKEN_
|
37
|
-
X-Storage-Token: _ONE-TIME-TOKEN_
|
38
|
-
X-Server-Management-Url:
|
39
|
-
- https://servers.api.rackspacecloud.com/v1.0/000000
|
40
|
-
VIA:
|
41
|
-
- 1.0 Repose (Repose/2.3.5)
|
42
|
-
X-Global-Auth:
|
43
|
-
- 'true'
|
25
|
+
- Wed, 26 Jun 2013 16:49:04 GMT
|
26
|
+
Content-Type:
|
27
|
+
- application/json
|
44
28
|
Connection:
|
45
29
|
- keep-alive
|
46
|
-
|
47
|
-
-
|
30
|
+
vary:
|
31
|
+
- Accept, Accept-Encoding, X-Auth-Token
|
32
|
+
VIA:
|
33
|
+
- 1.0 Repose (Repose/2.3.5)
|
34
|
+
Content-Length:
|
35
|
+
- '4975'
|
36
|
+
Front-End-Https:
|
37
|
+
- 'on'
|
48
38
|
body:
|
49
|
-
encoding:
|
50
|
-
string: '
|
39
|
+
encoding: US-ASCII
|
40
|
+
string: ! '{"access":{"token":{"id":"8a68ee867be84f98967a9250cab8ba7a","expires":"2013-06-27T08:48:53.037-05:00","tenant":{"id":"000000","name":"000000"}},"serviceCatalog":[{"name":"cloudFiles","endpoints":[{"region":"DFW","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/storage101.dfw1.clouddrive.com\/v1\/_CDN-TENANT-NAME_","internalURL":"https:\/\/snet-storage101.dfw1.clouddrive.com\/v1\/_CDN-TENANT-NAME_"},{"region":"ORD","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/storage101.ord1.clouddrive.com\/v1\/_CDN-TENANT-NAME_","internalURL":"https:\/\/snet-storage101.ord1.clouddrive.com\/v1\/_CDN-TENANT-NAME_"},{"region":"SYD","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/storage101.syd2.clouddrive.com\/v1\/_CDN-TENANT-NAME_","internalURL":"https:\/\/snet-storage101.syd2.clouddrive.com\/v1\/_CDN-TENANT-NAME_"}],"type":"object-store"},{"name":"cloudFilesCDN","endpoints":[{"region":"DFW","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/cdn1.clouddrive.com\/v1\/_CDN-TENANT-NAME_"},{"region":"ORD","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/cdn2.clouddrive.com\/v1\/_CDN-TENANT-NAME_"},{"region":"SYD","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/cdn4.clouddrive.com\/v1\/_CDN-TENANT-NAME_"}],"type":"rax:object-cdn"},{"name":"cloudBlockStorage","endpoints":[{"region":"SYD","tenantId":"000000","publicURL":"https:\/\/syd.blockstorage.api.rackspacecloud.com\/v1\/000000"},{"region":"ORD","tenantId":"000000","publicURL":"https:\/\/ord.blockstorage.api.rackspacecloud.com\/v1\/000000"},{"region":"DFW","tenantId":"000000","publicURL":"https:\/\/dfw.blockstorage.api.rackspacecloud.com\/v1\/000000"}],"type":"volume"},{"name":"cloudDatabases","endpoints":[{"region":"SYD","tenantId":"000000","publicURL":"https:\/\/syd.databases.api.rackspacecloud.com\/v1.0\/000000"},{"region":"DFW","tenantId":"000000","publicURL":"https:\/\/dfw.databases.api.rackspacecloud.com\/v1.0\/000000"},{"region":"ORD","tenantId":"000000","publicURL":"https:\/\/ord.databases.api.rackspacecloud.com\/v1.0\/000000"}],"type":"rax:database"},{"name":"cloudLoadBalancers","endpoints":[{"region":"SYD","tenantId":"000000","publicURL":"https:\/\/syd.loadbalancers.api.rackspacecloud.com\/v1.0\/000000"},{"region":"ORD","tenantId":"000000","publicURL":"https:\/\/ord.loadbalancers.api.rackspacecloud.com\/v1.0\/000000"},{"region":"DFW","tenantId":"000000","publicURL":"https:\/\/dfw.loadbalancers.api.rackspacecloud.com\/v1.0\/000000"}],"type":"rax:load-balancer"},{"name":"cloudServersOpenStack","endpoints":[{"region":"SYD","tenantId":"000000","publicURL":"https:\/\/syd.servers.api.rackspacecloud.com\/v2\/000000","versionInfo":"https:\/\/syd.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/syd.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"ORD","tenantId":"000000","publicURL":"https:\/\/ord.servers.api.rackspacecloud.com\/v2\/000000","versionInfo":"https:\/\/ord.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/ord.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"DFW","tenantId":"000000","publicURL":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2\/000000","versionInfo":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/dfw.servers.api.rackspacecloud.com\/","versionId":"2"}],"type":"compute"},{"name":"cloudBackup","endpoints":[{"tenantId":"000000","publicURL":"https:\/\/backup.api.rackspacecloud.com\/v1.0\/000000"}],"type":"rax:backup"},{"name":"cloudDNS","endpoints":[{"tenantId":"000000","publicURL":"https:\/\/dns.api.rackspacecloud.com\/v1.0\/000000"}],"type":"rax:dns"},{"name":"cloudMonitoring","endpoints":[{"tenantId":"000000","publicURL":"https:\/\/monitoring.api.rackspacecloud.com\/v1.0\/000000"}],"type":"rax:monitor"},{"name":"cloudServers","endpoints":[{"tenantId":"000000","publicURL":"https:\/\/servers.api.rackspacecloud.com\/v1.0\/000000","versionInfo":"https:\/\/servers.api.rackspacecloud.com\/v1.0","versionList":"https:\/\/servers.api.rackspacecloud.com\/","versionId":"1.0"}],"type":"compute"}],"user":{"id":"296063","roles":[{"tenantId":"_CDN-TENANT-NAME_","id":"5","description":"A
|
41
|
+
Role that allows a user access to keystone Service methods","name":"object-store:default"},{"tenantId":"000000","id":"6","description":"A
|
42
|
+
Role that allows a user access to keystone Service methods","name":"compute:default"},{"id":"3","description":"User
|
43
|
+
Admin Role.","name":"identity:user-admin"}],"name":"_RAX_USERNAME_","RAX-AUTH:defaultRegion":"DFW"}}}'
|
51
44
|
http_version:
|
52
|
-
recorded_at:
|
45
|
+
recorded_at: Wed, 26 Jun 2013 16:49:04 GMT
|
53
46
|
- request:
|
54
47
|
method: get
|
55
|
-
uri: https://servers.api.rackspacecloud.com/v1.0/000000/images/detail.json
|
48
|
+
uri: https://servers.api.rackspacecloud.com/v1.0/000000/images/detail.json?ignore_awful_caching1372265344
|
56
49
|
body:
|
57
50
|
encoding: US-ASCII
|
58
51
|
string: ''
|
59
52
|
headers:
|
60
53
|
User-Agent:
|
61
|
-
- fog/1.
|
54
|
+
- fog/1.10.1
|
62
55
|
Content-Type:
|
63
56
|
- application/json
|
64
57
|
X-Auth-Token: _ONE-TIME-TOKEN_
|
65
58
|
response:
|
66
59
|
status:
|
67
|
-
code:
|
60
|
+
code: 200
|
68
61
|
message:
|
69
62
|
headers:
|
70
63
|
Server:
|
@@ -72,7 +65,7 @@ http_interactions:
|
|
72
65
|
vary:
|
73
66
|
- Accept, Accept-Encoding, X-Auth-Token
|
74
67
|
Last-Modified:
|
75
|
-
-
|
68
|
+
- Wed, 26 Jun 2013 16:18:51 GMT
|
76
69
|
X-PURGE-KEY:
|
77
70
|
- /000000/images
|
78
71
|
Cache-Control:
|
@@ -80,18 +73,18 @@ http_interactions:
|
|
80
73
|
Content-Type:
|
81
74
|
- application/json
|
82
75
|
Content-Length:
|
83
|
-
- '
|
76
|
+
- '2710'
|
84
77
|
Date:
|
85
|
-
-
|
78
|
+
- Wed, 26 Jun 2013 16:49:04 GMT
|
86
79
|
X-Varnish: _VARNISH-REQUEST-ID_
|
87
80
|
Age:
|
88
|
-
- '
|
81
|
+
- '0'
|
89
82
|
Via:
|
90
83
|
- 1.1 varnish
|
91
84
|
Connection:
|
92
85
|
- keep-alive
|
93
86
|
body:
|
94
|
-
encoding:
|
87
|
+
encoding: US-ASCII
|
95
88
|
string: ! '{"images":[{"id":118,"status":"ACTIVE","updated":"2011-08-17T05:11:30-05:00","name":"CentOS
|
96
89
|
6.0"},{"id":104,"status":"ACTIVE","updated":"2011-08-17T05:11:30-05:00","name":"Debian
|
97
90
|
6 (Squeeze)"},{"id":125,"status":"ACTIVE","updated":"2012-05-03T07:21:06-05:00","name":"Ubuntu
|
@@ -117,7 +110,7 @@ http_interactions:
|
|
117
110
|
12.3"},{"id":126,"status":"ACTIVE","updated":"2012-05-29T17:11:45-05:00","name":"Fedora
|
118
111
|
17"},{"id":121,"status":"ACTIVE","updated":"2012-05-04T10:51:28-05:00","name":"CentOS
|
119
112
|
5.8"},{"id":89,"status":"ACTIVE","updated":"2011-10-04T08:39:34-05:00","name":"Windows
|
120
|
-
Server 2008 R2 x64 + SQL Server 2008 R2 Web"}]}'
|
113
|
+
Server 2008 R2 x64 + SQL Server 2008 R2 Web"},{"progress":100,"id":37532512,"status":"ACTIVE","created":"2013-06-26T11:15:29-05:00","updated":"2013-06-26T11:18:51-05:00","name":"snapshot","serverId":21546848}]}'
|
121
114
|
http_version:
|
122
|
-
recorded_at:
|
115
|
+
recorded_at: Wed, 26 Jun 2013 16:49:04 GMT
|
123
116
|
recorded_with: VCR 2.5.0
|
@@ -1,70 +1,63 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
|
-
method:
|
5
|
-
uri: https://
|
4
|
+
method: post
|
5
|
+
uri: https://identity.api.rackspacecloud.com/v2.0/tokens
|
6
6
|
body:
|
7
|
-
encoding:
|
8
|
-
string: ''
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ! '{"auth":{"RAX-KSKEY:apiKeyCredentials":{"username":"_RAX_USERNAME_","apiKey":"_RAX_PASSWORD_"}}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- fog/1.
|
12
|
-
|
13
|
-
-
|
14
|
-
|
15
|
-
-
|
11
|
+
- fog/1.10.1
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Accept:
|
15
|
+
- application/json
|
16
|
+
X-Auth-Token: _ONE-TIME-TOKEN_
|
16
17
|
response:
|
17
18
|
status:
|
18
|
-
code:
|
19
|
+
code: 200
|
19
20
|
message:
|
20
21
|
headers:
|
21
22
|
Server:
|
22
23
|
- nginx/0.8.55
|
23
|
-
vary:
|
24
|
-
- Accept, Accept-Encoding, X-Auth-Token, X-Auth-Key, X-Storage-User, X-Storage-Pass,
|
25
|
-
X-Auth-User
|
26
|
-
X-Storage-Url:
|
27
|
-
- https://storage101.dfw1.clouddrive.com/v1/_CDN-TENANT-NAME_
|
28
|
-
Cache-Control:
|
29
|
-
- s-maxage=85674
|
30
|
-
X-Cloud-Auth:
|
31
|
-
- 'true'
|
32
24
|
Date:
|
33
|
-
-
|
34
|
-
|
35
|
-
-
|
36
|
-
X-Auth-Token: _ONE-TIME-TOKEN_
|
37
|
-
X-Storage-Token: _ONE-TIME-TOKEN_
|
38
|
-
X-Server-Management-Url:
|
39
|
-
- https://servers.api.rackspacecloud.com/v1.0/000000
|
40
|
-
VIA:
|
41
|
-
- 1.0 Repose (Repose/2.3.5)
|
42
|
-
X-Global-Auth:
|
43
|
-
- 'true'
|
25
|
+
- Wed, 26 Jun 2013 16:49:00 GMT
|
26
|
+
Content-Type:
|
27
|
+
- application/json
|
44
28
|
Connection:
|
45
29
|
- keep-alive
|
46
|
-
|
47
|
-
-
|
30
|
+
vary:
|
31
|
+
- Accept, Accept-Encoding, X-Auth-Token
|
32
|
+
VIA:
|
33
|
+
- 1.0 Repose (Repose/2.3.5)
|
34
|
+
Content-Length:
|
35
|
+
- '4975'
|
36
|
+
Front-End-Https:
|
37
|
+
- 'on'
|
48
38
|
body:
|
49
|
-
encoding:
|
50
|
-
string: '
|
39
|
+
encoding: US-ASCII
|
40
|
+
string: ! '{"access":{"token":{"id":"8a68ee867be84f98967a9250cab8ba7a","expires":"2013-06-27T08:48:53.037-05:00","tenant":{"id":"000000","name":"000000"}},"serviceCatalog":[{"name":"cloudFiles","endpoints":[{"region":"DFW","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/storage101.dfw1.clouddrive.com\/v1\/_CDN-TENANT-NAME_","internalURL":"https:\/\/snet-storage101.dfw1.clouddrive.com\/v1\/_CDN-TENANT-NAME_"},{"region":"ORD","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/storage101.ord1.clouddrive.com\/v1\/_CDN-TENANT-NAME_","internalURL":"https:\/\/snet-storage101.ord1.clouddrive.com\/v1\/_CDN-TENANT-NAME_"},{"region":"SYD","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/storage101.syd2.clouddrive.com\/v1\/_CDN-TENANT-NAME_","internalURL":"https:\/\/snet-storage101.syd2.clouddrive.com\/v1\/_CDN-TENANT-NAME_"}],"type":"object-store"},{"name":"cloudFilesCDN","endpoints":[{"region":"DFW","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/cdn1.clouddrive.com\/v1\/_CDN-TENANT-NAME_"},{"region":"ORD","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/cdn2.clouddrive.com\/v1\/_CDN-TENANT-NAME_"},{"region":"SYD","tenantId":"_CDN-TENANT-NAME_","publicURL":"https:\/\/cdn4.clouddrive.com\/v1\/_CDN-TENANT-NAME_"}],"type":"rax:object-cdn"},{"name":"cloudBlockStorage","endpoints":[{"region":"SYD","tenantId":"000000","publicURL":"https:\/\/syd.blockstorage.api.rackspacecloud.com\/v1\/000000"},{"region":"ORD","tenantId":"000000","publicURL":"https:\/\/ord.blockstorage.api.rackspacecloud.com\/v1\/000000"},{"region":"DFW","tenantId":"000000","publicURL":"https:\/\/dfw.blockstorage.api.rackspacecloud.com\/v1\/000000"}],"type":"volume"},{"name":"cloudDatabases","endpoints":[{"region":"SYD","tenantId":"000000","publicURL":"https:\/\/syd.databases.api.rackspacecloud.com\/v1.0\/000000"},{"region":"DFW","tenantId":"000000","publicURL":"https:\/\/dfw.databases.api.rackspacecloud.com\/v1.0\/000000"},{"region":"ORD","tenantId":"000000","publicURL":"https:\/\/ord.databases.api.rackspacecloud.com\/v1.0\/000000"}],"type":"rax:database"},{"name":"cloudLoadBalancers","endpoints":[{"region":"SYD","tenantId":"000000","publicURL":"https:\/\/syd.loadbalancers.api.rackspacecloud.com\/v1.0\/000000"},{"region":"ORD","tenantId":"000000","publicURL":"https:\/\/ord.loadbalancers.api.rackspacecloud.com\/v1.0\/000000"},{"region":"DFW","tenantId":"000000","publicURL":"https:\/\/dfw.loadbalancers.api.rackspacecloud.com\/v1.0\/000000"}],"type":"rax:load-balancer"},{"name":"cloudServersOpenStack","endpoints":[{"region":"SYD","tenantId":"000000","publicURL":"https:\/\/syd.servers.api.rackspacecloud.com\/v2\/000000","versionInfo":"https:\/\/syd.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/syd.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"ORD","tenantId":"000000","publicURL":"https:\/\/ord.servers.api.rackspacecloud.com\/v2\/000000","versionInfo":"https:\/\/ord.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/ord.servers.api.rackspacecloud.com\/","versionId":"2"},{"region":"DFW","tenantId":"000000","publicURL":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2\/000000","versionInfo":"https:\/\/dfw.servers.api.rackspacecloud.com\/v2","versionList":"https:\/\/dfw.servers.api.rackspacecloud.com\/","versionId":"2"}],"type":"compute"},{"name":"cloudBackup","endpoints":[{"tenantId":"000000","publicURL":"https:\/\/backup.api.rackspacecloud.com\/v1.0\/000000"}],"type":"rax:backup"},{"name":"cloudDNS","endpoints":[{"tenantId":"000000","publicURL":"https:\/\/dns.api.rackspacecloud.com\/v1.0\/000000"}],"type":"rax:dns"},{"name":"cloudMonitoring","endpoints":[{"tenantId":"000000","publicURL":"https:\/\/monitoring.api.rackspacecloud.com\/v1.0\/000000"}],"type":"rax:monitor"},{"name":"cloudServers","endpoints":[{"tenantId":"000000","publicURL":"https:\/\/servers.api.rackspacecloud.com\/v1.0\/000000","versionInfo":"https:\/\/servers.api.rackspacecloud.com\/v1.0","versionList":"https:\/\/servers.api.rackspacecloud.com\/","versionId":"1.0"}],"type":"compute"}],"user":{"id":"296063","roles":[{"tenantId":"_CDN-TENANT-NAME_","id":"5","description":"A
|
41
|
+
Role that allows a user access to keystone Service methods","name":"object-store:default"},{"tenantId":"000000","id":"6","description":"A
|
42
|
+
Role that allows a user access to keystone Service methods","name":"compute:default"},{"id":"3","description":"User
|
43
|
+
Admin Role.","name":"identity:user-admin"}],"name":"_RAX_USERNAME_","RAX-AUTH:defaultRegion":"DFW"}}}'
|
51
44
|
http_version:
|
52
|
-
recorded_at:
|
45
|
+
recorded_at: Wed, 26 Jun 2013 16:49:00 GMT
|
53
46
|
- request:
|
54
47
|
method: get
|
55
|
-
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/detail.json
|
48
|
+
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/detail.json?ignore_awful_caching1372265340
|
56
49
|
body:
|
57
50
|
encoding: US-ASCII
|
58
51
|
string: ''
|
59
52
|
headers:
|
60
53
|
User-Agent:
|
61
|
-
- fog/1.
|
54
|
+
- fog/1.10.1
|
62
55
|
Content-Type:
|
63
56
|
- application/json
|
64
57
|
X-Auth-Token: _ONE-TIME-TOKEN_
|
65
58
|
response:
|
66
59
|
status:
|
67
|
-
code:
|
60
|
+
code: 200
|
68
61
|
message:
|
69
62
|
headers:
|
70
63
|
Server:
|
@@ -82,38 +75,38 @@ http_interactions:
|
|
82
75
|
Content-Length:
|
83
76
|
- '422'
|
84
77
|
Date:
|
85
|
-
-
|
78
|
+
- Wed, 26 Jun 2013 16:49:01 GMT
|
86
79
|
X-Varnish: _VARNISH-REQUEST-ID_
|
87
80
|
Age:
|
88
|
-
- '
|
81
|
+
- '0'
|
89
82
|
Via:
|
90
83
|
- 1.1 varnish
|
91
84
|
Connection:
|
92
85
|
- keep-alive
|
93
86
|
body:
|
94
|
-
encoding:
|
87
|
+
encoding: US-ASCII
|
95
88
|
string: ! '{"flavors":[{"id":1,"ram":256,"disk":10,"name":"256 server"},{"id":2,"ram":512,"disk":20,"name":"512
|
96
89
|
server"},{"id":3,"ram":1024,"disk":40,"name":"1GB server"},{"id":4,"ram":2048,"disk":80,"name":"2GB
|
97
90
|
server"},{"id":5,"ram":4096,"disk":160,"name":"4GB server"},{"id":6,"ram":8192,"disk":320,"name":"8GB
|
98
91
|
server"},{"id":7,"ram":15872,"disk":620,"name":"15.5GB server"},{"id":8,"ram":30720,"disk":1200,"name":"30GB
|
99
92
|
server"}]}'
|
100
93
|
http_version:
|
101
|
-
recorded_at:
|
94
|
+
recorded_at: Wed, 26 Jun 2013 16:49:01 GMT
|
102
95
|
- request:
|
103
96
|
method: get
|
104
|
-
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/1.json
|
97
|
+
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/1.json?ignore_awful_caching1372265341
|
105
98
|
body:
|
106
99
|
encoding: US-ASCII
|
107
100
|
string: ''
|
108
101
|
headers:
|
109
102
|
User-Agent:
|
110
|
-
- fog/1.
|
103
|
+
- fog/1.10.1
|
111
104
|
Content-Type:
|
112
105
|
- application/json
|
113
106
|
X-Auth-Token: _ONE-TIME-TOKEN_
|
114
107
|
response:
|
115
108
|
status:
|
116
|
-
code:
|
109
|
+
code: 200
|
117
110
|
message:
|
118
111
|
headers:
|
119
112
|
Server:
|
@@ -131,34 +124,34 @@ http_interactions:
|
|
131
124
|
Content-Length:
|
132
125
|
- '59'
|
133
126
|
Date:
|
134
|
-
-
|
127
|
+
- Wed, 26 Jun 2013 16:49:01 GMT
|
135
128
|
X-Varnish: _VARNISH-REQUEST-ID_
|
136
129
|
Age:
|
137
|
-
- '
|
130
|
+
- '0'
|
138
131
|
Via:
|
139
132
|
- 1.1 varnish
|
140
133
|
Connection:
|
141
134
|
- keep-alive
|
142
135
|
body:
|
143
|
-
encoding:
|
136
|
+
encoding: US-ASCII
|
144
137
|
string: ! '{"flavor":{"id":1,"ram":256,"disk":10,"name":"256 server"}}'
|
145
138
|
http_version:
|
146
|
-
recorded_at:
|
139
|
+
recorded_at: Wed, 26 Jun 2013 16:49:01 GMT
|
147
140
|
- request:
|
148
141
|
method: get
|
149
|
-
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/2.json
|
142
|
+
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/2.json?ignore_awful_caching1372265341
|
150
143
|
body:
|
151
144
|
encoding: US-ASCII
|
152
145
|
string: ''
|
153
146
|
headers:
|
154
147
|
User-Agent:
|
155
|
-
- fog/1.
|
148
|
+
- fog/1.10.1
|
156
149
|
Content-Type:
|
157
150
|
- application/json
|
158
151
|
X-Auth-Token: _ONE-TIME-TOKEN_
|
159
152
|
response:
|
160
153
|
status:
|
161
|
-
code:
|
154
|
+
code: 200
|
162
155
|
message:
|
163
156
|
headers:
|
164
157
|
Server:
|
@@ -176,34 +169,34 @@ http_interactions:
|
|
176
169
|
Content-Length:
|
177
170
|
- '59'
|
178
171
|
Date:
|
179
|
-
-
|
172
|
+
- Wed, 26 Jun 2013 16:49:01 GMT
|
180
173
|
X-Varnish: _VARNISH-REQUEST-ID_
|
181
174
|
Age:
|
182
|
-
- '
|
175
|
+
- '0'
|
183
176
|
Via:
|
184
177
|
- 1.1 varnish
|
185
178
|
Connection:
|
186
179
|
- keep-alive
|
187
180
|
body:
|
188
|
-
encoding:
|
181
|
+
encoding: US-ASCII
|
189
182
|
string: ! '{"flavor":{"id":2,"ram":512,"disk":20,"name":"512 server"}}'
|
190
183
|
http_version:
|
191
|
-
recorded_at:
|
184
|
+
recorded_at: Wed, 26 Jun 2013 16:49:01 GMT
|
192
185
|
- request:
|
193
186
|
method: get
|
194
|
-
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/3.json
|
187
|
+
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/3.json?ignore_awful_caching1372265341
|
195
188
|
body:
|
196
189
|
encoding: US-ASCII
|
197
190
|
string: ''
|
198
191
|
headers:
|
199
192
|
User-Agent:
|
200
|
-
- fog/1.
|
193
|
+
- fog/1.10.1
|
201
194
|
Content-Type:
|
202
195
|
- application/json
|
203
196
|
X-Auth-Token: _ONE-TIME-TOKEN_
|
204
197
|
response:
|
205
198
|
status:
|
206
|
-
code:
|
199
|
+
code: 200
|
207
200
|
message:
|
208
201
|
headers:
|
209
202
|
Server:
|
@@ -221,34 +214,34 @@ http_interactions:
|
|
221
214
|
Content-Length:
|
222
215
|
- '60'
|
223
216
|
Date:
|
224
|
-
-
|
217
|
+
- Wed, 26 Jun 2013 16:49:02 GMT
|
225
218
|
X-Varnish: _VARNISH-REQUEST-ID_
|
226
219
|
Age:
|
227
|
-
- '
|
220
|
+
- '0'
|
228
221
|
Via:
|
229
222
|
- 1.1 varnish
|
230
223
|
Connection:
|
231
224
|
- keep-alive
|
232
225
|
body:
|
233
|
-
encoding:
|
226
|
+
encoding: US-ASCII
|
234
227
|
string: ! '{"flavor":{"id":3,"ram":1024,"disk":40,"name":"1GB server"}}'
|
235
228
|
http_version:
|
236
|
-
recorded_at:
|
229
|
+
recorded_at: Wed, 26 Jun 2013 16:49:02 GMT
|
237
230
|
- request:
|
238
231
|
method: get
|
239
|
-
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/4.json
|
232
|
+
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/4.json?ignore_awful_caching1372265342
|
240
233
|
body:
|
241
234
|
encoding: US-ASCII
|
242
235
|
string: ''
|
243
236
|
headers:
|
244
237
|
User-Agent:
|
245
|
-
- fog/1.
|
238
|
+
- fog/1.10.1
|
246
239
|
Content-Type:
|
247
240
|
- application/json
|
248
241
|
X-Auth-Token: _ONE-TIME-TOKEN_
|
249
242
|
response:
|
250
243
|
status:
|
251
|
-
code:
|
244
|
+
code: 200
|
252
245
|
message:
|
253
246
|
headers:
|
254
247
|
Server:
|
@@ -266,28 +259,28 @@ http_interactions:
|
|
266
259
|
Content-Length:
|
267
260
|
- '60'
|
268
261
|
Date:
|
269
|
-
-
|
262
|
+
- Wed, 26 Jun 2013 16:49:02 GMT
|
270
263
|
X-Varnish: _VARNISH-REQUEST-ID_
|
271
264
|
Age:
|
272
|
-
- '
|
265
|
+
- '0'
|
273
266
|
Via:
|
274
267
|
- 1.1 varnish
|
275
268
|
Connection:
|
276
269
|
- keep-alive
|
277
270
|
body:
|
278
|
-
encoding:
|
271
|
+
encoding: US-ASCII
|
279
272
|
string: ! '{"flavor":{"id":4,"ram":2048,"disk":80,"name":"2GB server"}}'
|
280
273
|
http_version:
|
281
|
-
recorded_at:
|
274
|
+
recorded_at: Wed, 26 Jun 2013 16:49:02 GMT
|
282
275
|
- request:
|
283
276
|
method: get
|
284
|
-
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/5.json
|
277
|
+
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/5.json?ignore_awful_caching1372265342
|
285
278
|
body:
|
286
279
|
encoding: US-ASCII
|
287
280
|
string: ''
|
288
281
|
headers:
|
289
282
|
User-Agent:
|
290
|
-
- fog/1.
|
283
|
+
- fog/1.10.1
|
291
284
|
Content-Type:
|
292
285
|
- application/json
|
293
286
|
X-Auth-Token: _ONE-TIME-TOKEN_
|
@@ -311,7 +304,7 @@ http_interactions:
|
|
311
304
|
Content-Length:
|
312
305
|
- '61'
|
313
306
|
Date:
|
314
|
-
-
|
307
|
+
- Wed, 26 Jun 2013 16:49:02 GMT
|
315
308
|
X-Varnish: _VARNISH-REQUEST-ID_
|
316
309
|
Age:
|
317
310
|
- '0'
|
@@ -320,19 +313,19 @@ http_interactions:
|
|
320
313
|
Connection:
|
321
314
|
- keep-alive
|
322
315
|
body:
|
323
|
-
encoding:
|
316
|
+
encoding: US-ASCII
|
324
317
|
string: ! '{"flavor":{"id":5,"ram":4096,"disk":160,"name":"4GB server"}}'
|
325
318
|
http_version:
|
326
|
-
recorded_at:
|
319
|
+
recorded_at: Wed, 26 Jun 2013 16:49:02 GMT
|
327
320
|
- request:
|
328
321
|
method: get
|
329
|
-
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/6.json
|
322
|
+
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/6.json?ignore_awful_caching1372265342
|
330
323
|
body:
|
331
324
|
encoding: US-ASCII
|
332
325
|
string: ''
|
333
326
|
headers:
|
334
327
|
User-Agent:
|
335
|
-
- fog/1.
|
328
|
+
- fog/1.10.1
|
336
329
|
Content-Type:
|
337
330
|
- application/json
|
338
331
|
X-Auth-Token: _ONE-TIME-TOKEN_
|
@@ -356,7 +349,7 @@ http_interactions:
|
|
356
349
|
Content-Length:
|
357
350
|
- '61'
|
358
351
|
Date:
|
359
|
-
-
|
352
|
+
- Wed, 26 Jun 2013 16:49:03 GMT
|
360
353
|
X-Varnish: _VARNISH-REQUEST-ID_
|
361
354
|
Age:
|
362
355
|
- '0'
|
@@ -365,25 +358,25 @@ http_interactions:
|
|
365
358
|
Connection:
|
366
359
|
- keep-alive
|
367
360
|
body:
|
368
|
-
encoding:
|
361
|
+
encoding: US-ASCII
|
369
362
|
string: ! '{"flavor":{"id":6,"ram":8192,"disk":320,"name":"8GB server"}}'
|
370
363
|
http_version:
|
371
|
-
recorded_at:
|
364
|
+
recorded_at: Wed, 26 Jun 2013 16:49:03 GMT
|
372
365
|
- request:
|
373
366
|
method: get
|
374
|
-
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/7.json
|
367
|
+
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/7.json?ignore_awful_caching1372265343
|
375
368
|
body:
|
376
369
|
encoding: US-ASCII
|
377
370
|
string: ''
|
378
371
|
headers:
|
379
372
|
User-Agent:
|
380
|
-
- fog/1.
|
373
|
+
- fog/1.10.1
|
381
374
|
Content-Type:
|
382
375
|
- application/json
|
383
376
|
X-Auth-Token: _ONE-TIME-TOKEN_
|
384
377
|
response:
|
385
378
|
status:
|
386
|
-
code:
|
379
|
+
code: 200
|
387
380
|
message:
|
388
381
|
headers:
|
389
382
|
Server:
|
@@ -401,34 +394,34 @@ http_interactions:
|
|
401
394
|
Content-Length:
|
402
395
|
- '65'
|
403
396
|
Date:
|
404
|
-
-
|
397
|
+
- Wed, 26 Jun 2013 16:49:03 GMT
|
405
398
|
X-Varnish: _VARNISH-REQUEST-ID_
|
406
399
|
Age:
|
407
|
-
- '
|
400
|
+
- '0'
|
408
401
|
Via:
|
409
402
|
- 1.1 varnish
|
410
403
|
Connection:
|
411
404
|
- keep-alive
|
412
405
|
body:
|
413
|
-
encoding:
|
406
|
+
encoding: US-ASCII
|
414
407
|
string: ! '{"flavor":{"id":7,"ram":15872,"disk":620,"name":"15.5GB server"}}'
|
415
408
|
http_version:
|
416
|
-
recorded_at:
|
409
|
+
recorded_at: Wed, 26 Jun 2013 16:49:03 GMT
|
417
410
|
- request:
|
418
411
|
method: get
|
419
|
-
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/8.json
|
412
|
+
uri: https://servers.api.rackspacecloud.com/v1.0/000000/flavors/8.json?ignore_awful_caching1372265343
|
420
413
|
body:
|
421
414
|
encoding: US-ASCII
|
422
415
|
string: ''
|
423
416
|
headers:
|
424
417
|
User-Agent:
|
425
|
-
- fog/1.
|
418
|
+
- fog/1.10.1
|
426
419
|
Content-Type:
|
427
420
|
- application/json
|
428
421
|
X-Auth-Token: _ONE-TIME-TOKEN_
|
429
422
|
response:
|
430
423
|
status:
|
431
|
-
code:
|
424
|
+
code: 200
|
432
425
|
message:
|
433
426
|
headers:
|
434
427
|
Server:
|
@@ -446,17 +439,17 @@ http_interactions:
|
|
446
439
|
Content-Length:
|
447
440
|
- '64'
|
448
441
|
Date:
|
449
|
-
-
|
442
|
+
- Wed, 26 Jun 2013 16:49:03 GMT
|
450
443
|
X-Varnish: _VARNISH-REQUEST-ID_
|
451
444
|
Age:
|
452
|
-
- '
|
445
|
+
- '0'
|
453
446
|
Via:
|
454
447
|
- 1.1 varnish
|
455
448
|
Connection:
|
456
449
|
- keep-alive
|
457
450
|
body:
|
458
|
-
encoding:
|
451
|
+
encoding: US-ASCII
|
459
452
|
string: ! '{"flavor":{"id":8,"ram":30720,"disk":1200,"name":"30GB server"}}'
|
460
453
|
http_version:
|
461
|
-
recorded_at:
|
454
|
+
recorded_at: Wed, 26 Jun 2013 16:49:03 GMT
|
462
455
|
recorded_with: VCR 2.5.0
|