solusvm 1.0.0.beta3 → 1.1.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. data/.gitignore +3 -0
  2. data/.travis.yml +10 -4
  3. data/LICENSE +1 -1
  4. data/README.markdown +1 -1
  5. data/lib/solusvm.rb +2 -2
  6. data/lib/solusvm/base.rb +10 -32
  7. data/lib/solusvm/cli/base_cli.rb +30 -5
  8. data/lib/solusvm/cli/client_cli.rb +9 -9
  9. data/lib/solusvm/cli/general_cli.rb +5 -5
  10. data/lib/solusvm/cli/node_cli.rb +8 -8
  11. data/lib/solusvm/cli/reseller_cli.rb +7 -7
  12. data/lib/solusvm/cli/server_cli.rb +31 -31
  13. data/lib/solusvm/solusvm_errors.rb +22 -0
  14. data/lib/solusvm/version.rb +1 -1
  15. data/solusvm.gemspec +2 -0
  16. data/test/cli/test_base_cli.rb +32 -0
  17. data/test/cli/test_client_cli.rb +38 -21
  18. data/test/cli/test_general_cli.rb +13 -4
  19. data/test/cli/test_node_cli.rb +28 -14
  20. data/test/cli/test_reseller_cli.rb +69 -58
  21. data/test/cli/test_server_cli.rb +128 -39
  22. data/test/solusvm/test_base.rb +103 -0
  23. data/test/{test_cli.rb → solusvm/test_cli.rb} +1 -1
  24. data/test/solusvm/test_client.rb +109 -0
  25. data/test/solusvm/test_general.rb +69 -0
  26. data/test/{test_hash.rb → solusvm/test_hash.rb} +1 -1
  27. data/test/solusvm/test_node.rb +120 -0
  28. data/test/solusvm/test_reseller.rb +93 -0
  29. data/test/solusvm/test_server.rb +253 -0
  30. data/test/{helper.rb → test_helper.rb} +19 -4
  31. data/test/test_solusvm.rb +1 -1
  32. data/test/vcr_cassettes/base/invalid_key.yml +19 -0
  33. data/test/vcr_cassettes/base/invalid_status.yml +19 -0
  34. data/test/vcr_cassettes/base/nonexistent_node.yml +19 -0
  35. data/test/vcr_cassettes/base/parse_response.yml +28 -0
  36. data/test/vcr_cassettes/base/statusmsg.yml +28 -0
  37. data/test/vcr_cassettes/base/successful.yml +45 -0
  38. data/test/vcr_cassettes/base/unauthorized_ip.yml +19 -0
  39. data/test/vcr_cassettes/client/authenticate.yml +37 -0
  40. data/test/vcr_cassettes/client/change_password.yml +39 -0
  41. data/test/vcr_cassettes/client/create.yml +42 -0
  42. data/test/vcr_cassettes/client/delete.yml +37 -0
  43. data/test/vcr_cassettes/client/exists.yml +20 -0
  44. data/test/vcr_cassettes/client/list.yml +66 -0
  45. data/test/vcr_cassettes/general/isos.yml +38 -0
  46. data/test/vcr_cassettes/general/plans.yml +38 -0
  47. data/test/vcr_cassettes/general/templates.yml +38 -0
  48. data/test/vcr_cassettes/node/available_ips.yml +41 -0
  49. data/test/vcr_cassettes/node/ids.yml +21 -0
  50. data/test/vcr_cassettes/node/list.yml +38 -0
  51. data/test/vcr_cassettes/node/statistics.yml +32 -0
  52. data/test/vcr_cassettes/node/virtualservers.yml +67 -0
  53. data/test/vcr_cassettes/node/xenresources.yml +22 -0
  54. data/test/vcr_cassettes/reseller/change_resources.yml +27 -0
  55. data/test/vcr_cassettes/reseller/create.yml +27 -0
  56. data/test/vcr_cassettes/reseller/delete.yml +15 -0
  57. data/test/vcr_cassettes/reseller/info.yml +27 -0
  58. data/test/vcr_cassettes/reseller/list.yml +27 -0
  59. data/test/vcr_cassettes/server/.yml +1017 -0
  60. data/test/vcr_cassettes/server/boot.yml +15 -0
  61. data/test/vcr_cassettes/server/change_bootorder.yml +15 -0
  62. data/test/vcr_cassettes/server/change_consolepass.yml +16 -0
  63. data/test/vcr_cassettes/server/change_hostname.yml +15 -0
  64. data/test/vcr_cassettes/server/change_owner.yml +15 -0
  65. data/test/vcr_cassettes/server/change_plan.yml +15 -0
  66. data/test/vcr_cassettes/server/change_rootpassword.yml +15 -0
  67. data/test/vcr_cassettes/server/change_vncpass.yml +15 -0
  68. data/test/vcr_cassettes/server/console.yml +15 -0
  69. data/test/vcr_cassettes/server/create.yml +27 -0
  70. data/test/vcr_cassettes/server/exists.yml +15 -0
  71. data/test/vcr_cassettes/server/info.yml +27 -0
  72. data/test/vcr_cassettes/server/info_all.yml +15 -0
  73. data/test/vcr_cassettes/server/mountiso.yml +15 -0
  74. data/test/vcr_cassettes/server/network_disable.yml +15 -0
  75. data/test/vcr_cassettes/server/network_enable.yml +15 -0
  76. data/test/vcr_cassettes/server/pae_disable.yml +15 -0
  77. data/test/vcr_cassettes/server/pae_enable.yml +15 -0
  78. data/test/vcr_cassettes/server/reboot.yml +15 -0
  79. data/test/vcr_cassettes/server/rebuild.yml +15 -0
  80. data/test/vcr_cassettes/server/resume.yml +15 -0
  81. data/test/vcr_cassettes/server/shutdown.yml +15 -0
  82. data/test/vcr_cassettes/server/status.yml +15 -0
  83. data/test/vcr_cassettes/server/suspend.yml +15 -0
  84. data/test/vcr_cassettes/server/terminate.yml +27 -0
  85. data/test/vcr_cassettes/server/tun_disable.yml +15 -0
  86. data/test/vcr_cassettes/server/tun_enable.yml +15 -0
  87. data/test/vcr_cassettes/server/unmountiso.yml +15 -0
  88. data/test/vcr_cassettes/server/vnc.yml +15 -0
  89. metadata +220 -156
  90. data/.rbenv-version +0 -1
  91. data/.rvmrc +0 -47
  92. data/test/fixtures/base_bad_key.txt +0 -1
  93. data/test/fixtures/base_node_does_not_exist.txt +0 -1
  94. data/test/fixtures/base_unauthorized_ip.txt +0 -1
  95. data/test/fixtures/client_authenticate_error.txt +0 -2
  96. data/test/fixtures/client_authenticate_success.txt +0 -2
  97. data/test/fixtures/client_change_password_error.txt +0 -2
  98. data/test/fixtures/client_change_password_success.txt +0 -4
  99. data/test/fixtures/client_create_error.txt +0 -2
  100. data/test/fixtures/client_create_success.txt +0 -7
  101. data/test/fixtures/client_delete_success.txt +0 -2
  102. data/test/fixtures/client_exists_success.txt +0 -2
  103. data/test/fixtures/client_list_success.txt +0 -14
  104. data/test/fixtures/client_list_success_empty.txt +0 -2
  105. data/test/fixtures/error.txt +0 -2
  106. data/test/fixtures/general_isos_success.txt +0 -3
  107. data/test/fixtures/general_plans_success.txt +0 -3
  108. data/test/fixtures/general_templates_success.txt +0 -3
  109. data/test/fixtures/node_list_all_ips_available.txt +0 -4
  110. data/test/fixtures/node_list_all_ips_not_available.txt +0 -4
  111. data/test/fixtures/node_statistics_success.txt +0 -14
  112. data/test/fixtures/node_virtualservers_success.txt +0 -15
  113. data/test/fixtures/node_virtualservers_success_empty.txt +0 -2
  114. data/test/fixtures/node_xenresources_success.txt +0 -4
  115. data/test/fixtures/nodes_ids_success.txt +0 -3
  116. data/test/fixtures/nodes_list_success.txt +0 -3
  117. data/test/fixtures/reseller_change_resources_success.txt +0 -16
  118. data/test/fixtures/reseller_create_success.txt +0 -23
  119. data/test/fixtures/reseller_delete_success.txt +0 -2
  120. data/test/fixtures/reseller_info_success.txt +0 -23
  121. data/test/fixtures/reseller_list_success.txt +0 -3
  122. data/test/fixtures/server_boot_success.txt +0 -2
  123. data/test/fixtures/server_bootorder_success.txt +0 -2
  124. data/test/fixtures/server_change_consolepass_success.txt +0 -3
  125. data/test/fixtures/server_change_owner_success.txt +0 -2
  126. data/test/fixtures/server_change_success.txt +0 -2
  127. data/test/fixtures/server_change_vncpass_success.txt +0 -3
  128. data/test/fixtures/server_console_success.txt +0 -7
  129. data/test/fixtures/server_create_success.txt +0 -10
  130. data/test/fixtures/server_exists_success.txt +0 -2
  131. data/test/fixtures/server_hostname_success.txt +0 -3
  132. data/test/fixtures/server_info_success.txt +0 -10
  133. data/test/fixtures/server_infoall_success.txt +0 -13
  134. data/test/fixtures/server_mountiso_success.txt +0 -2
  135. data/test/fixtures/server_network_disable_success.txt +0 -2
  136. data/test/fixtures/server_network_enable_success.txt +0 -2
  137. data/test/fixtures/server_pae_success.txt +0 -2
  138. data/test/fixtures/server_reboot_success.txt +0 -2
  139. data/test/fixtures/server_rebuild_success.txt +0 -2
  140. data/test/fixtures/server_resume_success.txt +0 -2
  141. data/test/fixtures/server_rootpassword_success.txt +0 -3
  142. data/test/fixtures/server_shutdown_success.txt +0 -2
  143. data/test/fixtures/server_status_success.txt +0 -2
  144. data/test/fixtures/server_suspend_success.txt +0 -2
  145. data/test/fixtures/server_terminate_success.txt +0 -2
  146. data/test/fixtures/server_tun_disable_success.txt +0 -2
  147. data/test/fixtures/server_tun_enable_success.txt +0 -2
  148. data/test/fixtures/server_unmountiso_success.txt +0 -2
  149. data/test/fixtures/server_vnc_success.txt +0 -6
  150. data/test/test_base.rb +0 -115
  151. data/test/test_client.rb +0 -98
  152. data/test/test_general.rb +0 -70
  153. data/test/test_node.rb +0 -112
  154. data/test/test_reseller.rb +0 -80
  155. data/test/test_server.rb +0 -227
@@ -0,0 +1,27 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.example.com/api?action=reseller-list&id=api_id1&key=api_key
6
+ body: ''
7
+ headers: {}
8
+ response:
9
+ status:
10
+ code: 200
11
+ message: OK
12
+ body: <status>success</status><statusmsg></statusmsg><usernames>username1,username2,username3</usernames>
13
+ http_version: '1.1'
14
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
15
+ - request:
16
+ method: get
17
+ uri: http://www.example.com/api?action=reseller-list&id=api_id2&key=api_key
18
+ body: ''
19
+ headers: {}
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ body: <status>error</status><statusmsg>error message</statusmsg>
25
+ http_version: "1.1"
26
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
27
+ recorded_with: VCR 2.0.0
@@ -0,0 +1,1017 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: ''
6
+ body: ''
7
+ headers: {}
8
+ response:
9
+ status:
10
+ code: 200
11
+ message: OK
12
+ body: <status>success</status><statusmsg>Virtual server booted</statusmsg>
13
+ http_version: '1.1'
14
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
15
+ - request:
16
+ method: get
17
+ uri: ''
18
+ body: ''
19
+ headers: {}
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ body: <status>success</status><statusmsg>Boot order changed</statusmsg>
25
+ http_version: '1.1'
26
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
27
+ - request:
28
+ method: get
29
+ uri: ''
30
+ body: ''
31
+ headers: {}
32
+ response:
33
+ status:
34
+ code: 200
35
+ message: OK
36
+ body: ! '<status>success</status><statusmsg>Virtual server console password changed</statusmsg>
37
+ <consolepassword></consolepassword> '
38
+ http_version: '1.1'
39
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
40
+ - request:
41
+ method: get
42
+ uri: ''
43
+ body: ''
44
+ headers: {}
45
+ response:
46
+ status:
47
+ code: 200
48
+ message: OK
49
+ body: <status>success</status><statusmsg>Successfully changed owner</statusmsg>
50
+ http_version: '1.1'
51
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
52
+ - request:
53
+ method: get
54
+ uri: ''
55
+ body: ''
56
+ headers: {}
57
+ response:
58
+ status:
59
+ code: 200
60
+ message: OK
61
+ body: <status>success</status><statusmsg>Virtual server updated</statusmsg>
62
+ http_version: '1.1'
63
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
64
+ - request:
65
+ method: get
66
+ uri: ''
67
+ body: ''
68
+ headers: {}
69
+ response:
70
+ status:
71
+ code: 200
72
+ message: OK
73
+ body: <status>success</status><statusmsg>Virtual server vnc password changed</statusmsg>
74
+ <vncpassword></vncpassword>
75
+ http_version: '1.1'
76
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
77
+ - request:
78
+ method: get
79
+ uri: ''
80
+ body: ''
81
+ headers: {}
82
+ response:
83
+ status:
84
+ code: 200
85
+ message: OK
86
+ body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><consoleip>theconsoleip</consoleip><consoleport>theconsoleport</consoleport><consolepassword>theconsolepassword</consolepassword><consoleusername>theconsoleusername</consoleusername>
87
+ http_version: '1.1'
88
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
89
+ - request:
90
+ method: get
91
+ uri: ''
92
+ body: ''
93
+ headers: {}
94
+ response:
95
+ status:
96
+ code: 200
97
+ message: OK
98
+ body: <status>success</status><statusmsg>Virtual server created</statusmsg><mainipaddress>123.123.123.123</mainipaddress><extraipaddress>122.122.122.122,111.111.111.111</extraipaddress><rootpassword>123456</rootpassword><vserverid>100</vserverid><consoleuser>console-123</consoleuser><consolepassword>123456</consolepassword><hostname>server.hostname.com</hostname><virtid>vm101|101</virtid>
99
+ http_version: '1.1'
100
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
101
+ - request:
102
+ method: get
103
+ uri: ''
104
+ body: ''
105
+ headers: {}
106
+ response:
107
+ status:
108
+ code: 200
109
+ message: OK
110
+ body: <status>success</status><statusmsg>Virtual server exists</statusmsg>
111
+ http_version: '1.1'
112
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
113
+ - request:
114
+ method: get
115
+ uri: ''
116
+ body: ''
117
+ headers: {}
118
+ response:
119
+ status:
120
+ code: 200
121
+ message: OK
122
+ body: <status>success</status><statusmsg>Virtual server hostname changed</statusmsg><hostname>hostname</hostname>
123
+ http_version: '1.1'
124
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
125
+ - request:
126
+ method: get
127
+ uri: ''
128
+ body: ''
129
+ headers: {}
130
+ response:
131
+ status:
132
+ code: 200
133
+ message: OK
134
+ body: <vserverid>1</vserverid><ctid-xid>1</ctid-xid><clientid>1</clientid><ipaddress>123.123.123.123</ipaddress><hostname>host.example.com</hostname><template>vps1</template><hdd>123456</hdd><memory>123456</memory><swap-burst>swp</swap-burst><type>xenhvm</type>
135
+ http_version: '1.1'
136
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
137
+ - request:
138
+ method: get
139
+ uri: ''
140
+ body: ''
141
+ headers: {}
142
+ response:
143
+ status:
144
+ code: 200
145
+ message: OK
146
+ body: <status>success</status><statusmsg></statusmsg><node>tydeus</node><state>online</state><mainipaddress>123.123.123.123</mainipaddress><ipaddresses>123.123.123.123</ipaddresses><type>openvz</type><bandwidth>16106127360000,5370261749139,10735865610861,33</bandwidth>.<memory>1073741824,187097088,886644736,17</memory>.<hdd>236223201280,103640707072,132582494208,44</hdd>.<trafficgraph>/graphs/9/214/214-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</trafficgraph>.<loadgraph>/graphs/9/214/214-load-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</loadgraph>.<memorygraph>/graphs/9/214/214-mem-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</memorygraph>
147
+ http_version: '1.1'
148
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
149
+ - request:
150
+ method: get
151
+ uri: ''
152
+ body: ''
153
+ headers: {}
154
+ response:
155
+ status:
156
+ code: 200
157
+ message: OK
158
+ body: <status>success</status><statusmsg>ISO mounted</statusmsg>
159
+ http_version: '1.1'
160
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
161
+ - request:
162
+ method: get
163
+ uri: ''
164
+ body: ''
165
+ headers: {}
166
+ response:
167
+ status:
168
+ code: 200
169
+ message: OK
170
+ body: <status>success</status><statusmsg>Virtual server network disabled</statusmsg>
171
+ http_version: '1.1'
172
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
173
+ - request:
174
+ method: get
175
+ uri: ''
176
+ body: ''
177
+ headers: {}
178
+ response:
179
+ status:
180
+ code: 200
181
+ message: OK
182
+ body: ! '<status>success</status><statusmsg>Virtual server network enabled</statusmsg> '
183
+ http_version: '1.1'
184
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
185
+ - request:
186
+ method: get
187
+ uri: ''
188
+ body: ''
189
+ headers: {}
190
+ response:
191
+ status:
192
+ code: 200
193
+ message: OK
194
+ body: <status>success</status><statusmsg>Enabled|Disabled</statusmsg>
195
+ http_version: '1.1'
196
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
197
+ - request:
198
+ method: get
199
+ uri: ''
200
+ body: ''
201
+ headers: {}
202
+ response:
203
+ status:
204
+ code: 200
205
+ message: OK
206
+ body: <status>success</status><statusmsg>Virtual server rebooted</statusmsg>
207
+ http_version: '1.1'
208
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
209
+ - request:
210
+ method: get
211
+ uri: ''
212
+ body: ''
213
+ headers: {}
214
+ response:
215
+ status:
216
+ code: 200
217
+ message: OK
218
+ body: <status>success</status><statusmsg>Virtual server is being rebuilt</statusmsg>
219
+ http_version: '1.1'
220
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
221
+ - request:
222
+ method: get
223
+ uri: ''
224
+ body: ''
225
+ headers: {}
226
+ response:
227
+ status:
228
+ code: 200
229
+ message: OK
230
+ body: <status>success</status><statusmsg>Virtual server unsuspended</statusmsg>
231
+ http_version: '1.1'
232
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
233
+ - request:
234
+ method: get
235
+ uri: ''
236
+ body: ''
237
+ headers: {}
238
+ response:
239
+ status:
240
+ code: 200
241
+ message: OK
242
+ body: <status>success</status><statusmsg>Virtual server root password changed</statusmsg><rootpassword>rootpassword</rootpassword>
243
+ http_version: '1.1'
244
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
245
+ - request:
246
+ method: get
247
+ uri: ''
248
+ body: ''
249
+ headers: {}
250
+ response:
251
+ status:
252
+ code: 200
253
+ message: OK
254
+ body: <status>success</status><statusmsg>Virtual server shutdown</statusmsg>
255
+ http_version: '1.1'
256
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
257
+ - request:
258
+ method: get
259
+ uri: ''
260
+ body: ''
261
+ headers: {}
262
+ response:
263
+ status:
264
+ code: 200
265
+ message: OK
266
+ body: <status>success</status><statusmsg>online</statusmsg>
267
+ http_version: '1.1'
268
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
269
+ - request:
270
+ method: get
271
+ uri: ''
272
+ body: ''
273
+ headers: {}
274
+ response:
275
+ status:
276
+ code: 200
277
+ message: OK
278
+ body: <status>success</status><statusmsg>Virtual server suspended</statusmsg>
279
+ http_version: '1.1'
280
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
281
+ - request:
282
+ method: get
283
+ uri: ''
284
+ body: ''
285
+ headers: {}
286
+ response:
287
+ status:
288
+ code: 200
289
+ message: OK
290
+ body: <status>success</status><statusmsg>Virtual server terminated</statusmsg>
291
+ http_version: '1.1'
292
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
293
+ - request:
294
+ method: get
295
+ uri: ''
296
+ body: ''
297
+ headers: {}
298
+ response:
299
+ status:
300
+ code: 200
301
+ message: OK
302
+ body: <status>success</status><statusmsg>Disabled</statusmsg>
303
+ http_version: '1.1'
304
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
305
+ - request:
306
+ method: get
307
+ uri: ''
308
+ body: ''
309
+ headers: {}
310
+ response:
311
+ status:
312
+ code: 200
313
+ message: OK
314
+ body: <status>success</status><statusmsg>Enabled</statusmsg>
315
+ http_version: '1.1'
316
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
317
+ - request:
318
+ method: get
319
+ uri: ''
320
+ body: ''
321
+ headers: {}
322
+ response:
323
+ status:
324
+ code: 200
325
+ message: OK
326
+ body: <status>success</status><statusmsg>ISO unmounted</statusmsg>
327
+ http_version: '1.1'
328
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
329
+ - request:
330
+ method: get
331
+ uri: ''
332
+ body: ''
333
+ headers: {}
334
+ response:
335
+ status:
336
+ code: 200
337
+ message: OK
338
+ body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><vncip>thevncip</vncip><vncport>thevncport</vncport><vncpassword>thevncpassword</vncpassword>
339
+ http_version: '1.1'
340
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
341
+ - request:
342
+ method: get
343
+ uri: ''
344
+ body: ''
345
+ headers: {}
346
+ response:
347
+ status:
348
+ code: 200
349
+ message: OK
350
+ body: <status>success</status><statusmsg>Virtual server booted</statusmsg>
351
+ http_version: '1.1'
352
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
353
+ - request:
354
+ method: get
355
+ uri: ''
356
+ body: ''
357
+ headers: {}
358
+ response:
359
+ status:
360
+ code: 200
361
+ message: OK
362
+ body: <status>success</status><statusmsg>Boot order changed</statusmsg>
363
+ http_version: '1.1'
364
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
365
+ - request:
366
+ method: get
367
+ uri: ''
368
+ body: ''
369
+ headers: {}
370
+ response:
371
+ status:
372
+ code: 200
373
+ message: OK
374
+ body: ! '<status>success</status><statusmsg>Virtual server console password changed</statusmsg>
375
+ <consolepassword></consolepassword> '
376
+ http_version: '1.1'
377
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
378
+ - request:
379
+ method: get
380
+ uri: ''
381
+ body: ''
382
+ headers: {}
383
+ response:
384
+ status:
385
+ code: 200
386
+ message: OK
387
+ body: <status>success</status><statusmsg>Successfully changed owner</statusmsg>
388
+ http_version: '1.1'
389
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
390
+ - request:
391
+ method: get
392
+ uri: ''
393
+ body: ''
394
+ headers: {}
395
+ response:
396
+ status:
397
+ code: 200
398
+ message: OK
399
+ body: <status>success</status><statusmsg>Virtual server updated</statusmsg>
400
+ http_version: '1.1'
401
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
402
+ - request:
403
+ method: get
404
+ uri: ''
405
+ body: ''
406
+ headers: {}
407
+ response:
408
+ status:
409
+ code: 200
410
+ message: OK
411
+ body: <status>success</status><statusmsg>Virtual server vnc password changed</statusmsg>
412
+ <vncpassword></vncpassword>
413
+ http_version: '1.1'
414
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
415
+ - request:
416
+ method: get
417
+ uri: ''
418
+ body: ''
419
+ headers: {}
420
+ response:
421
+ status:
422
+ code: 200
423
+ message: OK
424
+ body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><consoleip>theconsoleip</consoleip><consoleport>theconsoleport</consoleport><consolepassword>theconsolepassword</consolepassword><consoleusername>theconsoleusername</consoleusername>
425
+ http_version: '1.1'
426
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
427
+ - request:
428
+ method: get
429
+ uri: ''
430
+ body: ''
431
+ headers: {}
432
+ response:
433
+ status:
434
+ code: 200
435
+ message: OK
436
+ body: <status>success</status><statusmsg>Virtual server created</statusmsg><mainipaddress>123.123.123.123</mainipaddress><extraipaddress>122.122.122.122,111.111.111.111</extraipaddress><rootpassword>123456</rootpassword><vserverid>100</vserverid><consoleuser>console-123</consoleuser><consolepassword>123456</consolepassword><hostname>server.hostname.com</hostname><virtid>vm101|101</virtid>
437
+ http_version: '1.1'
438
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
439
+ - request:
440
+ method: get
441
+ uri: ''
442
+ body: ''
443
+ headers: {}
444
+ response:
445
+ status:
446
+ code: 200
447
+ message: OK
448
+ body: <status>success</status><statusmsg>Virtual server exists</statusmsg>
449
+ http_version: '1.1'
450
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
451
+ - request:
452
+ method: get
453
+ uri: ''
454
+ body: ''
455
+ headers: {}
456
+ response:
457
+ status:
458
+ code: 200
459
+ message: OK
460
+ body: <status>success</status><statusmsg>Virtual server hostname changed</statusmsg><hostname>hostname</hostname>
461
+ http_version: '1.1'
462
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
463
+ - request:
464
+ method: get
465
+ uri: ''
466
+ body: ''
467
+ headers: {}
468
+ response:
469
+ status:
470
+ code: 200
471
+ message: OK
472
+ body: <vserverid>1</vserverid><ctid-xid>1</ctid-xid><clientid>1</clientid><ipaddress>123.123.123.123</ipaddress><hostname>host.example.com</hostname><template>vps1</template><hdd>123456</hdd><memory>123456</memory><swap-burst>swp</swap-burst><type>xenhvm</type>
473
+ http_version: '1.1'
474
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
475
+ - request:
476
+ method: get
477
+ uri: ''
478
+ body: ''
479
+ headers: {}
480
+ response:
481
+ status:
482
+ code: 200
483
+ message: OK
484
+ body: <status>success</status><statusmsg></statusmsg><node>tydeus</node><state>online</state><mainipaddress>123.123.123.123</mainipaddress><ipaddresses>123.123.123.123</ipaddresses><type>openvz</type><bandwidth>16106127360000,5370261749139,10735865610861,33</bandwidth>.<memory>1073741824,187097088,886644736,17</memory>.<hdd>236223201280,103640707072,132582494208,44</hdd>.<trafficgraph>/graphs/9/214/214-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</trafficgraph>.<loadgraph>/graphs/9/214/214-load-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</loadgraph>.<memorygraph>/graphs/9/214/214-mem-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</memorygraph>
485
+ http_version: '1.1'
486
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
487
+ - request:
488
+ method: get
489
+ uri: ''
490
+ body: ''
491
+ headers: {}
492
+ response:
493
+ status:
494
+ code: 200
495
+ message: OK
496
+ body: <status>success</status><statusmsg>ISO mounted</statusmsg>
497
+ http_version: '1.1'
498
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
499
+ - request:
500
+ method: get
501
+ uri: ''
502
+ body: ''
503
+ headers: {}
504
+ response:
505
+ status:
506
+ code: 200
507
+ message: OK
508
+ body: <status>success</status><statusmsg>Virtual server network disabled</statusmsg>
509
+ http_version: '1.1'
510
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
511
+ - request:
512
+ method: get
513
+ uri: ''
514
+ body: ''
515
+ headers: {}
516
+ response:
517
+ status:
518
+ code: 200
519
+ message: OK
520
+ body: ! '<status>success</status><statusmsg>Virtual server network enabled</statusmsg> '
521
+ http_version: '1.1'
522
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
523
+ - request:
524
+ method: get
525
+ uri: ''
526
+ body: ''
527
+ headers: {}
528
+ response:
529
+ status:
530
+ code: 200
531
+ message: OK
532
+ body: <status>success</status><statusmsg>Enabled|Disabled</statusmsg>
533
+ http_version: '1.1'
534
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
535
+ - request:
536
+ method: get
537
+ uri: ''
538
+ body: ''
539
+ headers: {}
540
+ response:
541
+ status:
542
+ code: 200
543
+ message: OK
544
+ body: <status>success</status><statusmsg>Virtual server rebooted</statusmsg>
545
+ http_version: '1.1'
546
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
547
+ - request:
548
+ method: get
549
+ uri: ''
550
+ body: ''
551
+ headers: {}
552
+ response:
553
+ status:
554
+ code: 200
555
+ message: OK
556
+ body: <status>success</status><statusmsg>Virtual server is being rebuilt</statusmsg>
557
+ http_version: '1.1'
558
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
559
+ - request:
560
+ method: get
561
+ uri: ''
562
+ body: ''
563
+ headers: {}
564
+ response:
565
+ status:
566
+ code: 200
567
+ message: OK
568
+ body: <status>success</status><statusmsg>Virtual server unsuspended</statusmsg>
569
+ http_version: '1.1'
570
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
571
+ - request:
572
+ method: get
573
+ uri: ''
574
+ body: ''
575
+ headers: {}
576
+ response:
577
+ status:
578
+ code: 200
579
+ message: OK
580
+ body: <status>success</status><statusmsg>Virtual server root password changed</statusmsg><rootpassword>rootpassword</rootpassword>
581
+ http_version: '1.1'
582
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
583
+ - request:
584
+ method: get
585
+ uri: ''
586
+ body: ''
587
+ headers: {}
588
+ response:
589
+ status:
590
+ code: 200
591
+ message: OK
592
+ body: <status>success</status><statusmsg>Virtual server shutdown</statusmsg>
593
+ http_version: '1.1'
594
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
595
+ - request:
596
+ method: get
597
+ uri: ''
598
+ body: ''
599
+ headers: {}
600
+ response:
601
+ status:
602
+ code: 200
603
+ message: OK
604
+ body: <status>success</status><statusmsg>online</statusmsg>
605
+ http_version: '1.1'
606
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
607
+ - request:
608
+ method: get
609
+ uri: ''
610
+ body: ''
611
+ headers: {}
612
+ response:
613
+ status:
614
+ code: 200
615
+ message: OK
616
+ body: <status>success</status><statusmsg>Virtual server suspended</statusmsg>
617
+ http_version: '1.1'
618
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
619
+ - request:
620
+ method: get
621
+ uri: ''
622
+ body: ''
623
+ headers: {}
624
+ response:
625
+ status:
626
+ code: 200
627
+ message: OK
628
+ body: <status>success</status><statusmsg>Virtual server terminated</statusmsg>
629
+ http_version: '1.1'
630
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
631
+ - request:
632
+ method: get
633
+ uri: ''
634
+ body: ''
635
+ headers: {}
636
+ response:
637
+ status:
638
+ code: 200
639
+ message: OK
640
+ body: <status>success</status><statusmsg>Disabled</statusmsg>
641
+ http_version: '1.1'
642
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
643
+ - request:
644
+ method: get
645
+ uri: ''
646
+ body: ''
647
+ headers: {}
648
+ response:
649
+ status:
650
+ code: 200
651
+ message: OK
652
+ body: <status>success</status><statusmsg>Enabled</statusmsg>
653
+ http_version: '1.1'
654
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
655
+ - request:
656
+ method: get
657
+ uri: ''
658
+ body: ''
659
+ headers: {}
660
+ response:
661
+ status:
662
+ code: 200
663
+ message: OK
664
+ body: <status>success</status><statusmsg>ISO unmounted</statusmsg>
665
+ http_version: '1.1'
666
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
667
+ - request:
668
+ method: get
669
+ uri: ''
670
+ body: ''
671
+ headers: {}
672
+ response:
673
+ status:
674
+ code: 200
675
+ message: OK
676
+ body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><vncip>thevncip</vncip><vncport>thevncport</vncport><vncpassword>thevncpassword</vncpassword>
677
+ http_version: '1.1'
678
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
679
+ - request:
680
+ method: get
681
+ uri: ''
682
+ body: ''
683
+ headers: {}
684
+ response:
685
+ status:
686
+ code: 200
687
+ message: OK
688
+ body: <status>success</status><statusmsg>Virtual server booted</statusmsg>
689
+ http_version: '1.1'
690
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
691
+ - request:
692
+ method: get
693
+ uri: ''
694
+ body: ''
695
+ headers: {}
696
+ response:
697
+ status:
698
+ code: 200
699
+ message: OK
700
+ body: <status>success</status><statusmsg>Boot order changed</statusmsg>
701
+ http_version: '1.1'
702
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
703
+ - request:
704
+ method: get
705
+ uri: ''
706
+ body: ''
707
+ headers: {}
708
+ response:
709
+ status:
710
+ code: 200
711
+ message: OK
712
+ body: ! '<status>success</status><statusmsg>Virtual server console password changed</statusmsg>
713
+ <consolepassword></consolepassword> '
714
+ http_version: '1.1'
715
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
716
+ - request:
717
+ method: get
718
+ uri: ''
719
+ body: ''
720
+ headers: {}
721
+ response:
722
+ status:
723
+ code: 200
724
+ message: OK
725
+ body: <status>success</status><statusmsg>Successfully changed owner</statusmsg>
726
+ http_version: '1.1'
727
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
728
+ - request:
729
+ method: get
730
+ uri: ''
731
+ body: ''
732
+ headers: {}
733
+ response:
734
+ status:
735
+ code: 200
736
+ message: OK
737
+ body: <status>success</status><statusmsg>Virtual server updated</statusmsg>
738
+ http_version: '1.1'
739
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
740
+ - request:
741
+ method: get
742
+ uri: ''
743
+ body: ''
744
+ headers: {}
745
+ response:
746
+ status:
747
+ code: 200
748
+ message: OK
749
+ body: <status>success</status><statusmsg>Virtual server vnc password changed</statusmsg>
750
+ <vncpassword></vncpassword>
751
+ http_version: '1.1'
752
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
753
+ - request:
754
+ method: get
755
+ uri: ''
756
+ body: ''
757
+ headers: {}
758
+ response:
759
+ status:
760
+ code: 200
761
+ message: OK
762
+ body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><consoleip>theconsoleip</consoleip><consoleport>theconsoleport</consoleport><consolepassword>theconsolepassword</consolepassword><consoleusername>theconsoleusername</consoleusername>
763
+ http_version: '1.1'
764
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
765
+ - request:
766
+ method: get
767
+ uri: ''
768
+ body: ''
769
+ headers: {}
770
+ response:
771
+ status:
772
+ code: 200
773
+ message: OK
774
+ body: <status>success</status><statusmsg>Virtual server created</statusmsg><mainipaddress>123.123.123.123</mainipaddress><extraipaddress>122.122.122.122,111.111.111.111</extraipaddress><rootpassword>123456</rootpassword><vserverid>100</vserverid><consoleuser>console-123</consoleuser><consolepassword>123456</consolepassword><hostname>server.hostname.com</hostname><virtid>vm101|101</virtid>
775
+ http_version: '1.1'
776
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
777
+ - request:
778
+ method: get
779
+ uri: ''
780
+ body: ''
781
+ headers: {}
782
+ response:
783
+ status:
784
+ code: 200
785
+ message: OK
786
+ body: <status>success</status><statusmsg>Virtual server exists</statusmsg>
787
+ http_version: '1.1'
788
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
789
+ - request:
790
+ method: get
791
+ uri: ''
792
+ body: ''
793
+ headers: {}
794
+ response:
795
+ status:
796
+ code: 200
797
+ message: OK
798
+ body: <status>success</status><statusmsg>Virtual server hostname changed</statusmsg><hostname>hostname</hostname>
799
+ http_version: '1.1'
800
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
801
+ - request:
802
+ method: get
803
+ uri: ''
804
+ body: ''
805
+ headers: {}
806
+ response:
807
+ status:
808
+ code: 200
809
+ message: OK
810
+ body: <vserverid>1</vserverid><ctid-xid>1</ctid-xid><clientid>1</clientid><ipaddress>123.123.123.123</ipaddress><hostname>host.example.com</hostname><template>vps1</template><hdd>123456</hdd><memory>123456</memory><swap-burst>swp</swap-burst><type>xenhvm</type>
811
+ http_version: '1.1'
812
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
813
+ - request:
814
+ method: get
815
+ uri: ''
816
+ body: ''
817
+ headers: {}
818
+ response:
819
+ status:
820
+ code: 200
821
+ message: OK
822
+ body: <status>success</status><statusmsg></statusmsg><node>tydeus</node><state>online</state><mainipaddress>123.123.123.123</mainipaddress><ipaddresses>123.123.123.123</ipaddresses><type>openvz</type><bandwidth>16106127360000,5370261749139,10735865610861,33</bandwidth>.<memory>1073741824,187097088,886644736,17</memory>.<hdd>236223201280,103640707072,132582494208,44</hdd>.<trafficgraph>/graphs/9/214/214-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</trafficgraph>.<loadgraph>/graphs/9/214/214-load-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</loadgraph>.<memorygraph>/graphs/9/214/214-mem-8f7daef90bc75037489af4217af674a67df545ba05c8a6bcd5341d5894f2f905bf23976f52c0104415c1694135d51f204ddfd7b11bbe87c195a5de4a-86400.png</memorygraph>
823
+ http_version: '1.1'
824
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
825
+ - request:
826
+ method: get
827
+ uri: ''
828
+ body: ''
829
+ headers: {}
830
+ response:
831
+ status:
832
+ code: 200
833
+ message: OK
834
+ body: <status>success</status><statusmsg>ISO mounted</statusmsg>
835
+ http_version: '1.1'
836
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
837
+ - request:
838
+ method: get
839
+ uri: ''
840
+ body: ''
841
+ headers: {}
842
+ response:
843
+ status:
844
+ code: 200
845
+ message: OK
846
+ body: <status>success</status><statusmsg>Virtual server network disabled</statusmsg>
847
+ http_version: '1.1'
848
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
849
+ - request:
850
+ method: get
851
+ uri: ''
852
+ body: ''
853
+ headers: {}
854
+ response:
855
+ status:
856
+ code: 200
857
+ message: OK
858
+ body: ! '<status>success</status><statusmsg>Virtual server network enabled</statusmsg> '
859
+ http_version: '1.1'
860
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
861
+ - request:
862
+ method: get
863
+ uri: ''
864
+ body: ''
865
+ headers: {}
866
+ response:
867
+ status:
868
+ code: 200
869
+ message: OK
870
+ body: <status>success</status><statusmsg>Enabled|Disabled</statusmsg>
871
+ http_version: '1.1'
872
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
873
+ - request:
874
+ method: get
875
+ uri: ''
876
+ body: ''
877
+ headers: {}
878
+ response:
879
+ status:
880
+ code: 200
881
+ message: OK
882
+ body: <status>success</status><statusmsg>Virtual server rebooted</statusmsg>
883
+ http_version: '1.1'
884
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
885
+ - request:
886
+ method: get
887
+ uri: ''
888
+ body: ''
889
+ headers: {}
890
+ response:
891
+ status:
892
+ code: 200
893
+ message: OK
894
+ body: <status>success</status><statusmsg>Virtual server is being rebuilt</statusmsg>
895
+ http_version: '1.1'
896
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
897
+ - request:
898
+ method: get
899
+ uri: ''
900
+ body: ''
901
+ headers: {}
902
+ response:
903
+ status:
904
+ code: 200
905
+ message: OK
906
+ body: <status>success</status><statusmsg>Virtual server unsuspended</statusmsg>
907
+ http_version: '1.1'
908
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
909
+ - request:
910
+ method: get
911
+ uri: ''
912
+ body: ''
913
+ headers: {}
914
+ response:
915
+ status:
916
+ code: 200
917
+ message: OK
918
+ body: <status>success</status><statusmsg>Virtual server root password changed</statusmsg><rootpassword>rootpassword</rootpassword>
919
+ http_version: '1.1'
920
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
921
+ - request:
922
+ method: get
923
+ uri: ''
924
+ body: ''
925
+ headers: {}
926
+ response:
927
+ status:
928
+ code: 200
929
+ message: OK
930
+ body: <status>success</status><statusmsg>Virtual server shutdown</statusmsg>
931
+ http_version: '1.1'
932
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
933
+ - request:
934
+ method: get
935
+ uri: ''
936
+ body: ''
937
+ headers: {}
938
+ response:
939
+ status:
940
+ code: 200
941
+ message: OK
942
+ body: <status>success</status><statusmsg>online</statusmsg>
943
+ http_version: '1.1'
944
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
945
+ - request:
946
+ method: get
947
+ uri: ''
948
+ body: ''
949
+ headers: {}
950
+ response:
951
+ status:
952
+ code: 200
953
+ message: OK
954
+ body: <status>success</status><statusmsg>Virtual server suspended</statusmsg>
955
+ http_version: '1.1'
956
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
957
+ - request:
958
+ method: get
959
+ uri: ''
960
+ body: ''
961
+ headers: {}
962
+ response:
963
+ status:
964
+ code: 200
965
+ message: OK
966
+ body: <status>success</status><statusmsg>Virtual server terminated</statusmsg>
967
+ http_version: '1.1'
968
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
969
+ - request:
970
+ method: get
971
+ uri: ''
972
+ body: ''
973
+ headers: {}
974
+ response:
975
+ status:
976
+ code: 200
977
+ message: OK
978
+ body: <status>success</status><statusmsg>Disabled</statusmsg>
979
+ http_version: '1.1'
980
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
981
+ - request:
982
+ method: get
983
+ uri: ''
984
+ body: ''
985
+ headers: {}
986
+ response:
987
+ status:
988
+ code: 200
989
+ message: OK
990
+ body: <status>success</status><statusmsg>Enabled</statusmsg>
991
+ http_version: '1.1'
992
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
993
+ - request:
994
+ method: get
995
+ uri: ''
996
+ body: ''
997
+ headers: {}
998
+ response:
999
+ status:
1000
+ code: 200
1001
+ message: OK
1002
+ body: <status>success</status><statusmsg>ISO unmounted</statusmsg>
1003
+ http_version: '1.1'
1004
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
1005
+ - request:
1006
+ method: get
1007
+ uri: ''
1008
+ body: ''
1009
+ headers: {}
1010
+ response:
1011
+ status:
1012
+ code: 200
1013
+ message: OK
1014
+ body: <status>success</status><statusmsg></statusmsg> <type>thetype</type><vncip>thevncip</vncip><vncport>thevncport</vncport><vncpassword>thevncpassword</vncpassword>
1015
+ http_version: '1.1'
1016
+ recorded_at: Tue, 01 Nov 2011 04:58:44 GMT
1017
+ recorded_with: VCR 2.0.0