fog 1.34.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (350) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +10 -24
  3. data/CHANGELOG.md +84 -0
  4. data/CONTRIBUTING.md +1 -1
  5. data/README.md +4 -20
  6. data/fog.gemspec +7 -5
  7. data/lib/fog.rb +1 -0
  8. data/lib/fog/bin.rb +1 -0
  9. data/lib/fog/digitalocean/compute_v2.rb +108 -0
  10. data/lib/fog/digitalocean/models/compute_v2/flavor.rb +17 -0
  11. data/lib/fog/digitalocean/models/compute_v2/flavors.rb +21 -0
  12. data/lib/fog/digitalocean/models/compute_v2/image.rb +25 -0
  13. data/lib/fog/digitalocean/models/compute_v2/images.rb +36 -0
  14. data/lib/fog/digitalocean/models/compute_v2/region.rb +13 -0
  15. data/lib/fog/digitalocean/models/compute_v2/regions.rb +21 -0
  16. data/lib/fog/digitalocean/models/compute_v2/server.rb +166 -0
  17. data/lib/fog/digitalocean/models/compute_v2/servers.rb +39 -0
  18. data/lib/fog/digitalocean/models/compute_v2/ssh_key.rb +30 -0
  19. data/lib/fog/digitalocean/models/compute_v2/ssh_keys.rb +35 -0
  20. data/lib/fog/digitalocean/requests/compute_v2/change_kernel.rb +44 -0
  21. data/lib/fog/digitalocean/requests/compute_v2/convert_to_snapshot.rb +44 -0
  22. data/lib/fog/digitalocean/requests/compute_v2/create_server.rb +93 -0
  23. data/lib/fog/digitalocean/requests/compute_v2/create_ssh_key.rb +47 -0
  24. data/lib/fog/digitalocean/requests/compute_v2/delete_server.rb +28 -0
  25. data/lib/fog/digitalocean/requests/compute_v2/delete_ssh_key.rb +28 -0
  26. data/lib/fog/digitalocean/requests/compute_v2/disable_backups.rb +45 -0
  27. data/lib/fog/digitalocean/requests/compute_v2/enable_ipv6.rb +44 -0
  28. data/lib/fog/digitalocean/requests/compute_v2/enable_private_networking.rb +44 -0
  29. data/lib/fog/digitalocean/requests/compute_v2/get_droplet_action.rb +36 -0
  30. data/lib/fog/digitalocean/requests/compute_v2/get_image_details.rb +43 -0
  31. data/lib/fog/digitalocean/requests/compute_v2/get_server_details.rb +84 -0
  32. data/lib/fog/digitalocean/requests/compute_v2/get_ssh_key.rb +34 -0
  33. data/lib/fog/digitalocean/requests/compute_v2/list_droplet_actions.rb +38 -0
  34. data/lib/fog/digitalocean/requests/compute_v2/list_flavors.rb +131 -0
  35. data/lib/fog/digitalocean/requests/compute_v2/list_images.rb +50 -0
  36. data/lib/fog/digitalocean/requests/compute_v2/list_regions.rb +94 -0
  37. data/lib/fog/digitalocean/requests/compute_v2/list_servers.rb +28 -0
  38. data/lib/fog/digitalocean/requests/compute_v2/list_ssh_keys.rb +26 -0
  39. data/lib/fog/digitalocean/requests/compute_v2/password_reset.rb +44 -0
  40. data/lib/fog/digitalocean/requests/compute_v2/power_cycle.rb +44 -0
  41. data/lib/fog/digitalocean/requests/compute_v2/power_off.rb +44 -0
  42. data/lib/fog/digitalocean/requests/compute_v2/power_on.rb +44 -0
  43. data/lib/fog/digitalocean/requests/compute_v2/reboot_server.rb +44 -0
  44. data/lib/fog/digitalocean/requests/compute_v2/rebuild.rb +44 -0
  45. data/lib/fog/digitalocean/requests/compute_v2/rename.rb +44 -0
  46. data/lib/fog/digitalocean/requests/compute_v2/resize.rb +48 -0
  47. data/lib/fog/digitalocean/requests/compute_v2/restore.rb +44 -0
  48. data/lib/fog/digitalocean/requests/compute_v2/shutdown.rb +44 -0
  49. data/lib/fog/digitalocean/requests/compute_v2/snapshot.rb +44 -0
  50. data/lib/fog/digitalocean/requests/compute_v2/transfer_image.rb +44 -0
  51. data/lib/fog/digitalocean/requests/compute_v2/update_ssh_key.rb +46 -0
  52. data/lib/fog/digitalocean/requests/compute_v2/upgrade.rb +44 -0
  53. data/lib/fog/digitalocean/service.rb +51 -0
  54. data/lib/fog/linode/models/compute/kernels.rb +1 -1
  55. data/lib/fog/opennebula/models/compute/flavor.rb +13 -13
  56. data/lib/fog/opennebula/requests/compute/template_pool.rb +14 -11
  57. data/lib/fog/openstack.rb +2 -0
  58. data/lib/fog/openstack/core.rb +30 -3
  59. data/lib/fog/openstack/identity.rb +8 -7
  60. data/lib/fog/openstack/identity_v3.rb +1 -0
  61. data/lib/fog/openstack/image.rb +35 -130
  62. data/lib/fog/openstack/image_v1.rb +142 -0
  63. data/lib/fog/openstack/image_v2.rb +137 -0
  64. data/lib/fog/openstack/models/image_v1/image.rb +78 -0
  65. data/lib/fog/openstack/models/image_v1/images.rb +70 -0
  66. data/lib/fog/openstack/models/image_v2/image.rb +149 -0
  67. data/lib/fog/openstack/models/image_v2/images.rb +67 -0
  68. data/lib/fog/openstack/models/orchestration/stack.rb +5 -0
  69. data/lib/fog/openstack/models/volume/volume_type.rb +25 -0
  70. data/lib/fog/openstack/orchestration.rb +1 -0
  71. data/lib/fog/openstack/requests/compute/server_actions.rb +14 -3
  72. data/lib/fog/openstack/requests/{image → image_v1}/add_member_to_image.rb +2 -0
  73. data/lib/fog/openstack/requests/image_v1/create_image.rb +78 -0
  74. data/lib/fog/openstack/requests/image_v1/delete_image.rb +25 -0
  75. data/lib/fog/openstack/requests/image_v1/get_image.rb +47 -0
  76. data/lib/fog/openstack/requests/image_v1/get_image_by_id.rb +34 -0
  77. data/lib/fog/openstack/requests/image_v1/get_image_members.rb +31 -0
  78. data/lib/fog/openstack/requests/image_v1/get_shared_images.rb +31 -0
  79. data/lib/fog/openstack/requests/image_v1/list_public_images.rb +35 -0
  80. data/lib/fog/openstack/requests/image_v1/list_public_images_detailed.rb +37 -0
  81. data/lib/fog/openstack/requests/image_v1/remove_member_from_image.rb +25 -0
  82. data/lib/fog/openstack/requests/image_v1/set_tenant.rb +21 -0
  83. data/lib/fog/openstack/requests/image_v1/update_image.rb +66 -0
  84. data/lib/fog/openstack/requests/image_v1/update_image_members.rb +39 -0
  85. data/lib/fog/openstack/requests/image_v2/add_member_to_image.rb +26 -0
  86. data/lib/fog/openstack/requests/image_v2/add_tag_to_image.rb +25 -0
  87. data/lib/fog/openstack/requests/image_v2/create_image.rb +54 -0
  88. data/lib/fog/openstack/requests/image_v2/deactivate_image.rb +25 -0
  89. data/lib/fog/openstack/requests/image_v2/delete_image.rb +25 -0
  90. data/lib/fog/openstack/requests/image_v2/download_image.rb +29 -0
  91. data/lib/fog/openstack/requests/image_v2/get_image.rb +47 -0
  92. data/lib/fog/openstack/requests/image_v2/get_image_by_id.rb +34 -0
  93. data/lib/fog/openstack/requests/image_v2/get_image_members.rb +31 -0
  94. data/lib/fog/openstack/requests/image_v2/get_member_details.rb +33 -0
  95. data/lib/fog/openstack/requests/image_v2/get_shared_images.rb +31 -0
  96. data/lib/fog/openstack/requests/image_v2/list_images.rb +35 -0
  97. data/lib/fog/openstack/requests/image_v2/reactivate_image.rb +25 -0
  98. data/lib/fog/openstack/requests/image_v2/remove_member_from_image.rb +25 -0
  99. data/lib/fog/openstack/requests/image_v2/remove_tag_from_image.rb +25 -0
  100. data/lib/fog/openstack/requests/image_v2/set_tenant.rb +21 -0
  101. data/lib/fog/openstack/requests/image_v2/update_image.rb +49 -0
  102. data/lib/fog/openstack/requests/image_v2/update_image_member.rb +34 -0
  103. data/lib/fog/openstack/requests/image_v2/upload_image.rb +30 -0
  104. data/lib/fog/openstack/requests/orchestration/patch_stack.rb +37 -0
  105. data/lib/fog/openstack/requests/volume/create_volume_type.rb +41 -0
  106. data/lib/fog/openstack/requests/{image/delete_image.rb → volume/delete_volume_type.rb} +6 -6
  107. data/lib/fog/openstack/requests/volume/get_quota_usage.rb +44 -0
  108. data/lib/fog/openstack/requests/volume/get_volume_type_details.rb +1 -1
  109. data/lib/fog/openstack/requests/volume/update_volume_type.rb +41 -0
  110. data/lib/fog/openstack/volume.rb +5 -0
  111. data/lib/fog/rackspace/models/compute_v2/server.rb +11 -1
  112. data/lib/fog/rackspace/models/compute_v2/servers.rb +2 -2
  113. data/lib/fog/rackspace/requests/compute_v2/create_server.rb +7 -2
  114. data/lib/fog/vcloud_director/requests/compute/get_execute_query.rb +13 -10
  115. data/lib/fog/version.rb +1 -1
  116. data/lib/fog/vsphere/models/compute/server.rb +1 -1
  117. data/lib/tasks/changelog_task.rb +1 -0
  118. data/spec/fog/openstack/identity_v3/authv3_a.yml +45 -52
  119. data/spec/fog/openstack/identity_v3/authv3_b.yml +45 -52
  120. data/spec/fog/openstack/identity_v3/authv3_c.yml +95 -101
  121. data/spec/fog/openstack/identity_v3/authv3_project.yml +68 -75
  122. data/spec/fog/openstack/identity_v3/authv3_token.yml +212 -174
  123. data/spec/fog/openstack/identity_v3/authv3_unscoped.yml +278 -266
  124. data/spec/fog/openstack/identity_v3/authv3_unscoped_reauth.yml +190 -202
  125. data/spec/fog/openstack/identity_v3/common_setup.yml +67 -445
  126. data/spec/fog/openstack/identity_v3/idv3_credential.yml +56 -26
  127. data/spec/fog/openstack/identity_v3/idv3_credential_crud.yml +292 -152
  128. data/spec/fog/openstack/identity_v3/idv3_domain.yml +99 -49
  129. data/spec/fog/openstack/identity_v3/idv3_domain_crud.yml +239 -119
  130. data/spec/fog/openstack/identity_v3/idv3_domain_group_roles_mutation.yml +414 -205
  131. data/spec/fog/openstack/identity_v3/idv3_domain_roles_mutation.yml +259 -136
  132. data/spec/fog/openstack/identity_v3/idv3_endpoint.yml +474 -472
  133. data/spec/fog/openstack/identity_v3/idv3_endpoints_crud.yml +679 -626
  134. data/spec/fog/openstack/identity_v3/idv3_group_crud_mutation.yml +536 -269
  135. data/spec/fog/openstack/identity_v3/idv3_policy.yml +76 -36
  136. data/spec/fog/openstack/identity_v3/idv3_policy_crud.yml +197 -97
  137. data/spec/fog/openstack/identity_v3/idv3_project.yml +135 -85
  138. data/spec/fog/openstack/identity_v3/idv3_project_crud.yml +237 -127
  139. data/spec/fog/openstack/identity_v3/idv3_project_group_user_roles_mutation.yml +625 -295
  140. data/spec/fog/openstack/identity_v3/idv3_project_hier_crud_list.yml +716 -355
  141. data/spec/fog/openstack/identity_v3/idv3_role.yml +134 -88
  142. data/spec/fog/openstack/identity_v3/idv3_role_crud.yml +312 -118
  143. data/spec/fog/openstack/identity_v3/idv3_service.yml +179 -133
  144. data/spec/fog/openstack/identity_v3/idv3_services_crud.yml +306 -212
  145. data/spec/fog/openstack/identity_v3/idv3_token.yml +213 -177
  146. data/spec/fog/openstack/identity_v3/idv3_user_crud.yml +345 -188
  147. data/spec/fog/openstack/identity_v3/idv3_users.yml +182 -116
  148. data/spec/fog/openstack/identity_v3_spec.rb +103 -85
  149. data/spec/fog/openstack/{identity_v3/idv3_other_region.yml → image_v1/common_setup.yml} +50 -93
  150. data/spec/fog/openstack/image_v1/list_images.yml +54 -0
  151. data/spec/fog/openstack/image_v1_spec.rb +24 -0
  152. data/spec/fog/openstack/image_v2/common_setup.yml +144 -0
  153. data/spec/fog/openstack/image_v2/image_schema.json +190 -0
  154. data/spec/fog/openstack/image_v2/image_v2_activation.yml +3988 -0
  155. data/spec/fog/openstack/image_v2/image_v2_create_id.yml +291 -0
  156. data/spec/fog/openstack/image_v2/image_v2_crud.yml +437 -0
  157. data/spec/fog/openstack/image_v2/image_v2_member_crudl.yml +451 -0
  158. data/spec/fog/openstack/image_v2/image_v2_tags.yml +532 -0
  159. data/spec/fog/openstack/image_v2/image_v2_upload_download.yml +3966 -0
  160. data/spec/fog/openstack/image_v2/minimal.ova +0 -0
  161. data/spec/fog/openstack/image_v2_spec.rb +285 -0
  162. data/spec/fog/openstack/image_v2_upload_spec.rb +74 -0
  163. data/spec/fog/openstack/shared_context.rb +14 -10
  164. data/tests/compute/helper.rb +0 -3
  165. data/tests/digitalocean/requests/compute_v2/list_flavors_tests.rb +25 -0
  166. data/tests/digitalocean/requests/compute_v2/list_images_tests.rb +25 -0
  167. data/tests/digitalocean/requests/compute_v2/list_regions_tests.rb +21 -0
  168. data/tests/digitalocean/requests/compute_v2/server_tests.rb +77 -0
  169. data/tests/helpers/mock_helper.rb +1 -0
  170. data/tests/opennebula/models/compute/flavor_tests.rb +1 -1
  171. data/tests/openstack/requests/orchestration/stack_tests.rb +5 -1
  172. data/tests/openstack/requests/volume/volume_type_tests.rb +32 -0
  173. data/tests/rackspace/models/compute_v2/server_tests.rb +7 -7
  174. metadata +160 -236
  175. data/gemfiles/Gemfile-ruby-1.8.7 +0 -17
  176. data/lib/fog/bin/xenserver.rb +0 -29
  177. data/lib/fog/openstack/models/image/image.rb +0 -76
  178. data/lib/fog/openstack/models/image/images.rb +0 -67
  179. data/lib/fog/openstack/requests/image/create_image.rb +0 -76
  180. data/lib/fog/openstack/requests/image/get_image.rb +0 -45
  181. data/lib/fog/openstack/requests/image/get_image_by_id.rb +0 -32
  182. data/lib/fog/openstack/requests/image/get_image_members.rb +0 -29
  183. data/lib/fog/openstack/requests/image/get_shared_images.rb +0 -29
  184. data/lib/fog/openstack/requests/image/list_public_images.rb +0 -33
  185. data/lib/fog/openstack/requests/image/list_public_images_detailed.rb +0 -35
  186. data/lib/fog/openstack/requests/image/remove_member_from_image.rb +0 -23
  187. data/lib/fog/openstack/requests/image/set_tenant.rb +0 -19
  188. data/lib/fog/openstack/requests/image/update_image.rb +0 -64
  189. data/lib/fog/openstack/requests/image/update_image_members.rb +0 -37
  190. data/lib/fog/xenserver.rb +0 -1
  191. data/lib/fog/xenserver/CHANGELOG.md +0 -77
  192. data/lib/fog/xenserver/compute.rb +0 -186
  193. data/lib/fog/xenserver/core.rb +0 -94
  194. data/lib/fog/xenserver/examples/README.md +0 -11
  195. data/lib/fog/xenserver/examples/chage_default_storage_repository.md +0 -99
  196. data/lib/fog/xenserver/examples/creating_servers.md +0 -168
  197. data/lib/fog/xenserver/examples/getting_started.md +0 -163
  198. data/lib/fog/xenserver/examples/networks-and-vlans.rb +0 -44
  199. data/lib/fog/xenserver/examples/storage_repositories.md +0 -94
  200. data/lib/fog/xenserver/models/compute/blob.rb +0 -22
  201. data/lib/fog/xenserver/models/compute/blobs.rb +0 -25
  202. data/lib/fog/xenserver/models/compute/bond.rb +0 -23
  203. data/lib/fog/xenserver/models/compute/bonds.rb +0 -25
  204. data/lib/fog/xenserver/models/compute/console.rb +0 -29
  205. data/lib/fog/xenserver/models/compute/consoles.rb +0 -25
  206. data/lib/fog/xenserver/models/compute/crash_dump.rb +0 -19
  207. data/lib/fog/xenserver/models/compute/crash_dumps.rb +0 -25
  208. data/lib/fog/xenserver/models/compute/dr_task.rb +0 -17
  209. data/lib/fog/xenserver/models/compute/dr_tasks.rb +0 -25
  210. data/lib/fog/xenserver/models/compute/gpu_group.rb +0 -22
  211. data/lib/fog/xenserver/models/compute/gpu_groups.rb +0 -25
  212. data/lib/fog/xenserver/models/compute/guest_metrics.rb +0 -26
  213. data/lib/fog/xenserver/models/compute/host.rb +0 -156
  214. data/lib/fog/xenserver/models/compute/host_cpu.rb +0 -34
  215. data/lib/fog/xenserver/models/compute/host_crash_dump.rb +0 -20
  216. data/lib/fog/xenserver/models/compute/host_crash_dumps.rb +0 -25
  217. data/lib/fog/xenserver/models/compute/host_metrics.rb +0 -26
  218. data/lib/fog/xenserver/models/compute/host_patch.rb +0 -25
  219. data/lib/fog/xenserver/models/compute/host_patchs.rb +0 -25
  220. data/lib/fog/xenserver/models/compute/hosts.rb +0 -25
  221. data/lib/fog/xenserver/models/compute/network.rb +0 -93
  222. data/lib/fog/xenserver/models/compute/networks.rb +0 -29
  223. data/lib/fog/xenserver/models/compute/pbd.rb +0 -37
  224. data/lib/fog/xenserver/models/compute/pbds.rb +0 -29
  225. data/lib/fog/xenserver/models/compute/pci.rb +0 -22
  226. data/lib/fog/xenserver/models/compute/pcis.rb +0 -25
  227. data/lib/fog/xenserver/models/compute/pgpu.rb +0 -20
  228. data/lib/fog/xenserver/models/compute/pgpus.rb +0 -25
  229. data/lib/fog/xenserver/models/compute/pif.rb +0 -54
  230. data/lib/fog/xenserver/models/compute/pif_metrics.rb +0 -28
  231. data/lib/fog/xenserver/models/compute/pifs.rb +0 -29
  232. data/lib/fog/xenserver/models/compute/pifs_metrics.rb +0 -25
  233. data/lib/fog/xenserver/models/compute/pool.rb +0 -75
  234. data/lib/fog/xenserver/models/compute/pool_patch.rb +0 -24
  235. data/lib/fog/xenserver/models/compute/pool_patchs.rb +0 -25
  236. data/lib/fog/xenserver/models/compute/pools.rb +0 -29
  237. data/lib/fog/xenserver/models/compute/role.rb +0 -19
  238. data/lib/fog/xenserver/models/compute/roles.rb +0 -25
  239. data/lib/fog/xenserver/models/compute/server.rb +0 -251
  240. data/lib/fog/xenserver/models/compute/server_appliance.rb +0 -21
  241. data/lib/fog/xenserver/models/compute/server_appliances.rb +0 -25
  242. data/lib/fog/xenserver/models/compute/servers.rb +0 -64
  243. data/lib/fog/xenserver/models/compute/storage_manager.rb +0 -28
  244. data/lib/fog/xenserver/models/compute/storage_managers.rb +0 -25
  245. data/lib/fog/xenserver/models/compute/storage_repositories.rb +0 -27
  246. data/lib/fog/xenserver/models/compute/storage_repository.rb +0 -90
  247. data/lib/fog/xenserver/models/compute/tunnel.rb +0 -20
  248. data/lib/fog/xenserver/models/compute/tunnels.rb +0 -25
  249. data/lib/fog/xenserver/models/compute/vbd.rb +0 -88
  250. data/lib/fog/xenserver/models/compute/vbd_metrics.rb +0 -25
  251. data/lib/fog/xenserver/models/compute/vbds.rb +0 -29
  252. data/lib/fog/xenserver/models/compute/vdi.rb +0 -102
  253. data/lib/fog/xenserver/models/compute/vdis.rb +0 -25
  254. data/lib/fog/xenserver/models/compute/vif.rb +0 -56
  255. data/lib/fog/xenserver/models/compute/vifs.rb +0 -25
  256. data/lib/fog/xenserver/models/compute/vlan.rb +0 -78
  257. data/lib/fog/xenserver/models/compute/vlans.rb +0 -35
  258. data/lib/fog/xenserver/models/compute/vmpp.rb +0 -35
  259. data/lib/fog/xenserver/models/compute/vmpps.rb +0 -25
  260. data/lib/fog/xenserver/models/compute/vtpm.rb +0 -18
  261. data/lib/fog/xenserver/models/compute/vtpms.rb +0 -25
  262. data/lib/fog/xenserver/parser.rb +0 -34
  263. data/lib/fog/xenserver/parsers/get_hosts.rb +0 -16
  264. data/lib/fog/xenserver/parsers/get_networks.rb +0 -16
  265. data/lib/fog/xenserver/parsers/get_pools.rb +0 -16
  266. data/lib/fog/xenserver/parsers/get_records.rb +0 -16
  267. data/lib/fog/xenserver/parsers/get_storage_repositories.rb +0 -16
  268. data/lib/fog/xenserver/parsers/get_vbds.rb +0 -16
  269. data/lib/fog/xenserver/parsers/get_vifs.rb +0 -16
  270. data/lib/fog/xenserver/parsers/get_vms.rb +0 -16
  271. data/lib/fog/xenserver/requests/compute/clone_server.rb +0 -30
  272. data/lib/fog/xenserver/requests/compute/create_network.rb +0 -46
  273. data/lib/fog/xenserver/requests/compute/create_server.rb +0 -144
  274. data/lib/fog/xenserver/requests/compute/create_sr.rb +0 -88
  275. data/lib/fog/xenserver/requests/compute/create_vbd.rb +0 -43
  276. data/lib/fog/xenserver/requests/compute/create_vdi.rb +0 -57
  277. data/lib/fog/xenserver/requests/compute/create_vif.rb +0 -62
  278. data/lib/fog/xenserver/requests/compute/create_vlan.rb +0 -43
  279. data/lib/fog/xenserver/requests/compute/destroy_network.rb +0 -31
  280. data/lib/fog/xenserver/requests/compute/destroy_record.rb +0 -11
  281. data/lib/fog/xenserver/requests/compute/destroy_server.rb +0 -20
  282. data/lib/fog/xenserver/requests/compute/destroy_sr.rb +0 -28
  283. data/lib/fog/xenserver/requests/compute/destroy_vdi.rb +0 -20
  284. data/lib/fog/xenserver/requests/compute/destroy_vif.rb +0 -20
  285. data/lib/fog/xenserver/requests/compute/destroy_vlan.rb +0 -30
  286. data/lib/fog/xenserver/requests/compute/disable_host.rb +0 -23
  287. data/lib/fog/xenserver/requests/compute/eject_vbd.rb +0 -17
  288. data/lib/fog/xenserver/requests/compute/enable_host.rb +0 -22
  289. data/lib/fog/xenserver/requests/compute/get_record.rb +0 -31
  290. data/lib/fog/xenserver/requests/compute/get_records.rb +0 -24
  291. data/lib/fog/xenserver/requests/compute/insert_vbd.rb +0 -17
  292. data/lib/fog/xenserver/requests/compute/provision_server.rb +0 -17
  293. data/lib/fog/xenserver/requests/compute/reboot_host.rb +0 -17
  294. data/lib/fog/xenserver/requests/compute/reboot_server.rb +0 -17
  295. data/lib/fog/xenserver/requests/compute/scan_sr.rb +0 -17
  296. data/lib/fog/xenserver/requests/compute/set_affinity.rb +0 -19
  297. data/lib/fog/xenserver/requests/compute/set_attribute.rb +0 -19
  298. data/lib/fog/xenserver/requests/compute/shutdown_host.rb +0 -17
  299. data/lib/fog/xenserver/requests/compute/shutdown_server.rb +0 -17
  300. data/lib/fog/xenserver/requests/compute/snapshot_revert.rb +0 -24
  301. data/lib/fog/xenserver/requests/compute/snapshot_server.rb +0 -17
  302. data/lib/fog/xenserver/requests/compute/start_server.rb +0 -17
  303. data/lib/fog/xenserver/requests/compute/start_vm.rb +0 -19
  304. data/lib/fog/xenserver/requests/compute/unplug_pbd.rb +0 -20
  305. data/lib/fog/xenserver/requests/compute/unplug_vbd.rb +0 -25
  306. data/lib/fog/xenserver/utilities.rb +0 -8
  307. data/tests/xenserver/README +0 -21
  308. data/tests/xenserver/compute_tests.rb +0 -51
  309. data/tests/xenserver/helper.rb +0 -36
  310. data/tests/xenserver/models/compute/console_test.rb +0 -35
  311. data/tests/xenserver/models/compute/consoles_test.rb +0 -19
  312. data/tests/xenserver/models/compute/host_cpu_tests.rb +0 -58
  313. data/tests/xenserver/models/compute/host_metrics_tests.rb +0 -48
  314. data/tests/xenserver/models/compute/host_tests.rb +0 -98
  315. data/tests/xenserver/models/compute/hosts_tests.rb +0 -22
  316. data/tests/xenserver/models/compute/network_tests.rb +0 -79
  317. data/tests/xenserver/models/compute/networks_tests.rb +0 -22
  318. data/tests/xenserver/models/compute/pbd_tests.rb +0 -76
  319. data/tests/xenserver/models/compute/pbds_tests.rb +0 -22
  320. data/tests/xenserver/models/compute/pif_tests.rb +0 -58
  321. data/tests/xenserver/models/compute/pifs_tests.rb +0 -22
  322. data/tests/xenserver/models/compute/pool_tests.rb +0 -56
  323. data/tests/xenserver/models/compute/pools_tests.rb +0 -30
  324. data/tests/xenserver/models/compute/server_tests.rb +0 -184
  325. data/tests/xenserver/models/compute/servers_tests.rb +0 -89
  326. data/tests/xenserver/models/compute/storage_repositories_tests.rb +0 -30
  327. data/tests/xenserver/models/compute/storage_repository_tests.rb +0 -114
  328. data/tests/xenserver/models/compute/vbd_tests.rb +0 -115
  329. data/tests/xenserver/models/compute/vbds_tests.rb +0 -22
  330. data/tests/xenserver/models/compute/vif_tests.rb +0 -53
  331. data/tests/xenserver/models/compute/vifs_tests.rb +0 -22
  332. data/tests/xenserver/models/compute/vlan_tests.rb +0 -76
  333. data/tests/xenserver/models/compute/vlans_tests.rb +0 -36
  334. data/tests/xenserver/requests/compute/clone_server_tests.rb +0 -32
  335. data/tests/xenserver/requests/compute/create_network_tests.rb +0 -20
  336. data/tests/xenserver/requests/compute/create_server_tests.rb +0 -129
  337. data/tests/xenserver/requests/compute/create_sr_tests.rb +0 -54
  338. data/tests/xenserver/requests/compute/create_vdi_tests.rb +0 -80
  339. data/tests/xenserver/requests/compute/create_vif_tests.rb +0 -88
  340. data/tests/xenserver/requests/compute/create_vlan_tests.rb +0 -36
  341. data/tests/xenserver/requests/compute/destroy_network_tests.rb +0 -13
  342. data/tests/xenserver/requests/compute/destroy_sr_tests.rb +0 -46
  343. data/tests/xenserver/requests/compute/destroy_vdi_tests.rb +0 -25
  344. data/tests/xenserver/requests/compute/destroy_vlan_tests.rb +0 -36
  345. data/tests/xenserver/requests/compute/disable_host_tests.rb +0 -16
  346. data/tests/xenserver/requests/compute/enable_host_tests.rb +0 -16
  347. data/tests/xenserver/requests/compute/get_record_tests.rb +0 -15
  348. data/tests/xenserver/requests/compute/set_attribute_tests.rb +0 -66
  349. data/tests/xenserver/requests/compute/unplug_pbd_tests.rb +0 -48
  350. data/tests/xenserver/xenserver_tests.rb +0 -33
@@ -0,0 +1,451 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://devstack.openstack.stack:9292/v2/images
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"name":"foobar4"}'
9
+ headers:
10
+ User-Agent:
11
+ - fog-core/1.32.1
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ X-Auth-Token:
17
+ - d1c47d0051d24b23a65222e7d4b5ba59
18
+ response:
19
+ status:
20
+ code: 201
21
+ message: ''
22
+ headers:
23
+ Content-Length:
24
+ - '547'
25
+ Content-Type:
26
+ - application/json; charset=UTF-8
27
+ Location:
28
+ - http://devstack.openstack.stack:9292/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020
29
+ X-Openstack-Request-Id:
30
+ - req-req-41d45efa-72f7-4798-9860-cda0dd160ceb
31
+ Date:
32
+ - Thu, 10 Sep 2015 15:17:02 GMT
33
+ body:
34
+ encoding: US-ASCII
35
+ string: ! '{"status": "queued", "name": "foobar4", "tags": [], "container_format":
36
+ null, "created_at": "2015-09-10T15:17:02Z", "size": null, "disk_format": null,
37
+ "updated_at": "2015-09-10T15:17:02Z", "visibility": "private", "self": "/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020",
38
+ "min_disk": 0, "protected": false, "id": "fc8ecc3c-c3d1-45d3-a006-baf5f5591020",
39
+ "file": "/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020/file", "checksum":
40
+ null, "owner": "123ac695d4db400a9001b91bb3b8aa46", "virtual_size": null, "min_ram":
41
+ 0, "schema": "/v2/schemas/image"}'
42
+ http_version:
43
+ recorded_at: Thu, 10 Sep 2015 15:16:41 GMT
44
+ - request:
45
+ method: get
46
+ uri: http://devstack.openstack.stack:9292/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020/members
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ headers:
51
+ User-Agent:
52
+ - fog-core/1.32.1
53
+ Content-Type:
54
+ - application/json
55
+ Accept:
56
+ - application/json
57
+ X-Auth-Token:
58
+ - d1c47d0051d24b23a65222e7d4b5ba59
59
+ response:
60
+ status:
61
+ code: 200
62
+ message: ''
63
+ headers:
64
+ Content-Length:
65
+ - '48'
66
+ Content-Type:
67
+ - application/json; charset=UTF-8
68
+ X-Openstack-Request-Id:
69
+ - req-req-8e20c9b9-0f22-4203-85d4-dcdd7e6dc6f3
70
+ Date:
71
+ - Thu, 10 Sep 2015 15:17:02 GMT
72
+ body:
73
+ encoding: US-ASCII
74
+ string: ! '{"members": [], "schema": "/v2/schemas/members"}'
75
+ http_version:
76
+ recorded_at: Thu, 10 Sep 2015 15:16:41 GMT
77
+ - request:
78
+ method: post
79
+ uri: http://devstack.openstack.stack:9292/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020/members
80
+ body:
81
+ encoding: UTF-8
82
+ string: ! '{"member":"tenant1"}'
83
+ headers:
84
+ User-Agent:
85
+ - fog-core/1.32.1
86
+ Content-Type:
87
+ - application/json
88
+ Accept:
89
+ - application/json
90
+ X-Auth-Token:
91
+ - d1c47d0051d24b23a65222e7d4b5ba59
92
+ response:
93
+ status:
94
+ code: 200
95
+ message: ''
96
+ headers:
97
+ Content-Length:
98
+ - '205'
99
+ Content-Type:
100
+ - application/json; charset=UTF-8
101
+ X-Openstack-Request-Id:
102
+ - req-req-89683138-d364-4e5d-b5e2-c881acd8c26f
103
+ Date:
104
+ - Thu, 10 Sep 2015 15:17:03 GMT
105
+ body:
106
+ encoding: US-ASCII
107
+ string: ! '{"status": "pending", "created_at": "2015-09-10T15:17:03Z", "updated_at":
108
+ "2015-09-10T15:17:03Z", "image_id": "fc8ecc3c-c3d1-45d3-a006-baf5f5591020",
109
+ "member_id": "tenant1", "schema": "/v2/schemas/member"}'
110
+ http_version:
111
+ recorded_at: Thu, 10 Sep 2015 15:16:41 GMT
112
+ - request:
113
+ method: get
114
+ uri: http://devstack.openstack.stack:9292/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020/members
115
+ body:
116
+ encoding: US-ASCII
117
+ string: ''
118
+ headers:
119
+ User-Agent:
120
+ - fog-core/1.32.1
121
+ Content-Type:
122
+ - application/json
123
+ Accept:
124
+ - application/json
125
+ X-Auth-Token:
126
+ - d1c47d0051d24b23a65222e7d4b5ba59
127
+ response:
128
+ status:
129
+ code: 200
130
+ message: ''
131
+ headers:
132
+ Content-Length:
133
+ - '253'
134
+ Content-Type:
135
+ - application/json; charset=UTF-8
136
+ X-Openstack-Request-Id:
137
+ - req-req-7067500c-f27d-44ea-b4d3-85cf1020a926
138
+ Date:
139
+ - Thu, 10 Sep 2015 15:17:03 GMT
140
+ body:
141
+ encoding: US-ASCII
142
+ string: ! '{"members": [{"status": "pending", "created_at": "2015-09-10T15:17:03Z",
143
+ "updated_at": "2015-09-10T15:17:03Z", "image_id": "fc8ecc3c-c3d1-45d3-a006-baf5f5591020",
144
+ "member_id": "tenant1", "schema": "/v2/schemas/member"}], "schema": "/v2/schemas/members"}'
145
+ http_version:
146
+ recorded_at: Thu, 10 Sep 2015 15:16:41 GMT
147
+ - request:
148
+ method: get
149
+ uri: http://devstack.openstack.stack:9292/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020/members/tenant1
150
+ body:
151
+ encoding: US-ASCII
152
+ string: ''
153
+ headers:
154
+ User-Agent:
155
+ - fog-core/1.32.1
156
+ Content-Type:
157
+ - application/json
158
+ Accept:
159
+ - application/json
160
+ X-Auth-Token:
161
+ - d1c47d0051d24b23a65222e7d4b5ba59
162
+ response:
163
+ status:
164
+ code: 200
165
+ message: ''
166
+ headers:
167
+ Content-Length:
168
+ - '205'
169
+ Content-Type:
170
+ - application/json; charset=UTF-8
171
+ X-Openstack-Request-Id:
172
+ - req-req-971cdbea-3880-44c2-a548-d0b01d485b30
173
+ Date:
174
+ - Thu, 10 Sep 2015 15:17:03 GMT
175
+ body:
176
+ encoding: US-ASCII
177
+ string: ! '{"status": "pending", "created_at": "2015-09-10T15:17:03Z", "updated_at":
178
+ "2015-09-10T15:17:03Z", "image_id": "fc8ecc3c-c3d1-45d3-a006-baf5f5591020",
179
+ "member_id": "tenant1", "schema": "/v2/schemas/member"}'
180
+ http_version:
181
+ recorded_at: Thu, 10 Sep 2015 15:16:41 GMT
182
+ - request:
183
+ method: put
184
+ uri: http://devstack.openstack.stack:9292/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020/members/tenant1
185
+ body:
186
+ encoding: UTF-8
187
+ string: ! '{"status":"accepted"}'
188
+ headers:
189
+ User-Agent:
190
+ - fog-core/1.32.1
191
+ Content-Type:
192
+ - application/json
193
+ Accept:
194
+ - application/json
195
+ X-Auth-Token:
196
+ - d1c47d0051d24b23a65222e7d4b5ba59
197
+ response:
198
+ status:
199
+ code: 200
200
+ message: ''
201
+ headers:
202
+ Content-Length:
203
+ - '206'
204
+ Content-Type:
205
+ - application/json; charset=UTF-8
206
+ X-Openstack-Request-Id:
207
+ - req-req-dfd8b884-e2cd-470b-8b9f-9bdffbf70a25
208
+ Date:
209
+ - Thu, 10 Sep 2015 15:17:03 GMT
210
+ body:
211
+ encoding: US-ASCII
212
+ string: ! '{"status": "accepted", "created_at": "2015-09-10T15:17:03Z", "updated_at":
213
+ "2015-09-10T15:17:03Z", "image_id": "fc8ecc3c-c3d1-45d3-a006-baf5f5591020",
214
+ "member_id": "tenant1", "schema": "/v2/schemas/member"}'
215
+ http_version:
216
+ recorded_at: Thu, 10 Sep 2015 15:16:41 GMT
217
+ - request:
218
+ method: get
219
+ uri: http://devstack.openstack.stack:9292/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020/members/tenant1
220
+ body:
221
+ encoding: US-ASCII
222
+ string: ''
223
+ headers:
224
+ User-Agent:
225
+ - fog-core/1.32.1
226
+ Content-Type:
227
+ - application/json
228
+ Accept:
229
+ - application/json
230
+ X-Auth-Token:
231
+ - d1c47d0051d24b23a65222e7d4b5ba59
232
+ response:
233
+ status:
234
+ code: 200
235
+ message: ''
236
+ headers:
237
+ Content-Length:
238
+ - '206'
239
+ Content-Type:
240
+ - application/json; charset=UTF-8
241
+ X-Openstack-Request-Id:
242
+ - req-req-bedabea9-a63b-44f8-aa79-80a553b028f6
243
+ Date:
244
+ - Thu, 10 Sep 2015 15:17:03 GMT
245
+ body:
246
+ encoding: US-ASCII
247
+ string: ! '{"status": "accepted", "created_at": "2015-09-10T15:17:03Z", "updated_at":
248
+ "2015-09-10T15:17:03Z", "image_id": "fc8ecc3c-c3d1-45d3-a006-baf5f5591020",
249
+ "member_id": "tenant1", "schema": "/v2/schemas/member"}'
250
+ http_version:
251
+ recorded_at: Thu, 10 Sep 2015 15:16:41 GMT
252
+ - request:
253
+ method: delete
254
+ uri: http://devstack.openstack.stack:9292/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020/members/tenant1
255
+ body:
256
+ encoding: US-ASCII
257
+ string: ''
258
+ headers:
259
+ User-Agent:
260
+ - fog-core/1.32.1
261
+ Content-Type:
262
+ - application/json
263
+ Accept:
264
+ - application/json
265
+ X-Auth-Token:
266
+ - d1c47d0051d24b23a65222e7d4b5ba59
267
+ response:
268
+ status:
269
+ code: 204
270
+ message: ''
271
+ headers:
272
+ Content-Type:
273
+ - text/html; charset=UTF-8
274
+ Content-Length:
275
+ - '0'
276
+ X-Openstack-Request-Id:
277
+ - req-req-f804d4d7-a8cb-4f04-939b-39a487347ce1
278
+ Date:
279
+ - Thu, 10 Sep 2015 15:17:03 GMT
280
+ body:
281
+ encoding: US-ASCII
282
+ string: ''
283
+ http_version:
284
+ recorded_at: Thu, 10 Sep 2015 15:16:41 GMT
285
+ - request:
286
+ method: get
287
+ uri: http://devstack.openstack.stack:9292/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020/members
288
+ body:
289
+ encoding: US-ASCII
290
+ string: ''
291
+ headers:
292
+ User-Agent:
293
+ - fog-core/1.32.1
294
+ Content-Type:
295
+ - application/json
296
+ Accept:
297
+ - application/json
298
+ X-Auth-Token:
299
+ - d1c47d0051d24b23a65222e7d4b5ba59
300
+ response:
301
+ status:
302
+ code: 200
303
+ message: ''
304
+ headers:
305
+ Content-Length:
306
+ - '48'
307
+ Content-Type:
308
+ - application/json; charset=UTF-8
309
+ X-Openstack-Request-Id:
310
+ - req-req-4538087a-54c6-4aec-8bac-2e6943266178
311
+ Date:
312
+ - Thu, 10 Sep 2015 15:17:03 GMT
313
+ body:
314
+ encoding: US-ASCII
315
+ string: ! '{"members": [], "schema": "/v2/schemas/members"}'
316
+ http_version:
317
+ recorded_at: Thu, 10 Sep 2015 15:16:41 GMT
318
+ - request:
319
+ method: delete
320
+ uri: http://devstack.openstack.stack:9292/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020
321
+ body:
322
+ encoding: US-ASCII
323
+ string: ''
324
+ headers:
325
+ User-Agent:
326
+ - fog-core/1.32.1
327
+ Content-Type:
328
+ - application/json
329
+ Accept:
330
+ - application/json
331
+ X-Auth-Token:
332
+ - d1c47d0051d24b23a65222e7d4b5ba59
333
+ response:
334
+ status:
335
+ code: 204
336
+ message: ''
337
+ headers:
338
+ Content-Type:
339
+ - text/html; charset=UTF-8
340
+ Content-Length:
341
+ - '0'
342
+ X-Openstack-Request-Id:
343
+ - req-req-696cf118-77d7-4338-ad8b-ffba43a0fa5b
344
+ Date:
345
+ - Thu, 10 Sep 2015 15:17:03 GMT
346
+ body:
347
+ encoding: US-ASCII
348
+ string: ''
349
+ http_version:
350
+ recorded_at: Thu, 10 Sep 2015 15:16:42 GMT
351
+ - request:
352
+ method: get
353
+ uri: http://devstack.openstack.stack:9292/v2/images?name=foobar4
354
+ body:
355
+ encoding: US-ASCII
356
+ string: ''
357
+ headers:
358
+ User-Agent:
359
+ - fog-core/1.32.1
360
+ Content-Type:
361
+ - application/json
362
+ Accept:
363
+ - application/json
364
+ X-Auth-Token:
365
+ - d1c47d0051d24b23a65222e7d4b5ba59
366
+ response:
367
+ status:
368
+ code: 200
369
+ message: ''
370
+ headers:
371
+ Content-Length:
372
+ - '82'
373
+ Content-Type:
374
+ - application/json; charset=UTF-8
375
+ X-Openstack-Request-Id:
376
+ - req-req-4d0180ca-5142-49f8-8950-4b359c07c643
377
+ Date:
378
+ - Thu, 10 Sep 2015 15:17:03 GMT
379
+ body:
380
+ encoding: US-ASCII
381
+ string: ! '{"images": [], "schema": "/v2/schemas/images", "first": "/v2/images?name=foobar4"}'
382
+ http_version:
383
+ recorded_at: Thu, 10 Sep 2015 15:16:42 GMT
384
+ - request:
385
+ method: get
386
+ uri: http://devstack.openstack.stack:9292/v2/images/fc8ecc3c-c3d1-45d3-a006-baf5f5591020
387
+ body:
388
+ encoding: US-ASCII
389
+ string: ''
390
+ headers:
391
+ User-Agent:
392
+ - fog-core/1.32.1
393
+ Content-Type:
394
+ - application/json
395
+ Accept:
396
+ - application/json
397
+ X-Auth-Token:
398
+ - d1c47d0051d24b23a65222e7d4b5ba59
399
+ response:
400
+ status:
401
+ code: 404
402
+ message: ''
403
+ headers:
404
+ Content-Length:
405
+ - '79'
406
+ Content-Type:
407
+ - text/plain; charset=UTF-8
408
+ X-Openstack-Request-Id:
409
+ - req-req-2922371f-c446-42e9-b81a-fe88b9f83457
410
+ Date:
411
+ - Thu, 10 Sep 2015 15:17:03 GMT
412
+ body:
413
+ encoding: US-ASCII
414
+ string: ! "404 Not Found\n\nNo image found with ID fc8ecc3c-c3d1-45d3-a006-baf5f5591020\n\n
415
+ \ "
416
+ http_version:
417
+ recorded_at: Thu, 10 Sep 2015 15:16:42 GMT
418
+ - request:
419
+ method: get
420
+ uri: http://devstack.openstack.stack:9292/v2/images?name=foobar4
421
+ body:
422
+ encoding: US-ASCII
423
+ string: ''
424
+ headers:
425
+ User-Agent:
426
+ - fog-core/1.32.1
427
+ Content-Type:
428
+ - application/json
429
+ Accept:
430
+ - application/json
431
+ X-Auth-Token:
432
+ - d1c47d0051d24b23a65222e7d4b5ba59
433
+ response:
434
+ status:
435
+ code: 200
436
+ message: ''
437
+ headers:
438
+ Content-Length:
439
+ - '82'
440
+ Content-Type:
441
+ - application/json; charset=UTF-8
442
+ X-Openstack-Request-Id:
443
+ - req-req-ec7eeb9f-2d21-4ad8-8eb4-918e933b957f
444
+ Date:
445
+ - Thu, 10 Sep 2015 15:17:03 GMT
446
+ body:
447
+ encoding: US-ASCII
448
+ string: ! '{"images": [], "schema": "/v2/schemas/images", "first": "/v2/images?name=foobar4"}'
449
+ http_version:
450
+ recorded_at: Thu, 10 Sep 2015 15:16:42 GMT
451
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,532 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://devstack.openstack.stack:9292/v2/images
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"name":"foobar3","container_format":"ovf","disk_format":"vmdk"}'
9
+ headers:
10
+ User-Agent:
11
+ - fog-core/1.32.1
12
+ Content-Type:
13
+ - application/json
14
+ Accept:
15
+ - application/json
16
+ X-Auth-Token:
17
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
18
+ response:
19
+ status:
20
+ code: 201
21
+ message: ''
22
+ headers:
23
+ Content-Length:
24
+ - '550'
25
+ Content-Type:
26
+ - application/json; charset=UTF-8
27
+ Location:
28
+ - http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3
29
+ X-Openstack-Request-Id:
30
+ - req-req-0cf5460a-f062-477d-a259-6a1997de9ea1
31
+ Date:
32
+ - Fri, 11 Sep 2015 11:04:07 GMT
33
+ body:
34
+ encoding: US-ASCII
35
+ string: ! '{"status": "queued", "name": "foobar3", "tags": [], "container_format":
36
+ "ovf", "created_at": "2015-09-11T11:04:07Z", "size": null, "disk_format":
37
+ "vmdk", "updated_at": "2015-09-11T11:04:07Z", "visibility": "private", "self":
38
+ "/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3", "min_disk": 0, "protected":
39
+ false, "id": "7350cdc6-8531-4366-8380-7fada969b1c3", "file": "/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/file",
40
+ "checksum": null, "owner": "123ac695d4db400a9001b91bb3b8aa46", "virtual_size":
41
+ null, "min_ram": 0, "schema": "/v2/schemas/image"}'
42
+ http_version:
43
+ recorded_at: Fri, 11 Sep 2015 11:03:58 GMT
44
+ - request:
45
+ method: put
46
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/tags/tag1
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ headers:
51
+ User-Agent:
52
+ - fog-core/1.32.1
53
+ Content-Type:
54
+ - application/json
55
+ Accept:
56
+ - application/json
57
+ X-Auth-Token:
58
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
59
+ response:
60
+ status:
61
+ code: 204
62
+ message: ''
63
+ headers:
64
+ Content-Type:
65
+ - text/html; charset=UTF-8
66
+ Content-Length:
67
+ - '0'
68
+ X-Openstack-Request-Id:
69
+ - req-req-0efcc015-5f84-4b18-bbba-224301cae481
70
+ Date:
71
+ - Fri, 11 Sep 2015 11:04:07 GMT
72
+ body:
73
+ encoding: US-ASCII
74
+ string: ''
75
+ http_version:
76
+ recorded_at: Fri, 11 Sep 2015 11:03:59 GMT
77
+ - request:
78
+ method: get
79
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3
80
+ body:
81
+ encoding: US-ASCII
82
+ string: ''
83
+ headers:
84
+ User-Agent:
85
+ - fog-core/1.32.1
86
+ Content-Type:
87
+ - application/json
88
+ Accept:
89
+ - application/json
90
+ X-Auth-Token:
91
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
92
+ response:
93
+ status:
94
+ code: 200
95
+ message: ''
96
+ headers:
97
+ Content-Length:
98
+ - '556'
99
+ Content-Type:
100
+ - application/json; charset=UTF-8
101
+ X-Openstack-Request-Id:
102
+ - req-req-bfcbfc73-6a35-4b2f-ae77-8cf109fa0b98
103
+ Date:
104
+ - Fri, 11 Sep 2015 11:04:07 GMT
105
+ body:
106
+ encoding: US-ASCII
107
+ string: ! '{"status": "queued", "name": "foobar3", "tags": ["tag1"], "container_format":
108
+ "ovf", "created_at": "2015-09-11T11:04:07Z", "size": null, "disk_format":
109
+ "vmdk", "updated_at": "2015-09-11T11:04:07Z", "visibility": "private", "self":
110
+ "/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3", "min_disk": 0, "protected":
111
+ false, "id": "7350cdc6-8531-4366-8380-7fada969b1c3", "file": "/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/file",
112
+ "checksum": null, "owner": "123ac695d4db400a9001b91bb3b8aa46", "virtual_size":
113
+ null, "min_ram": 0, "schema": "/v2/schemas/image"}'
114
+ http_version:
115
+ recorded_at: Fri, 11 Sep 2015 11:03:59 GMT
116
+ - request:
117
+ method: put
118
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/tags/tag2
119
+ body:
120
+ encoding: US-ASCII
121
+ string: ''
122
+ headers:
123
+ User-Agent:
124
+ - fog-core/1.32.1
125
+ Content-Type:
126
+ - application/json
127
+ Accept:
128
+ - application/json
129
+ X-Auth-Token:
130
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
131
+ response:
132
+ status:
133
+ code: 204
134
+ message: ''
135
+ headers:
136
+ Content-Type:
137
+ - text/html; charset=UTF-8
138
+ Content-Length:
139
+ - '0'
140
+ X-Openstack-Request-Id:
141
+ - req-req-52a5adf2-c7cc-4a3b-9a50-213a6ea34693
142
+ Date:
143
+ - Fri, 11 Sep 2015 11:04:08 GMT
144
+ body:
145
+ encoding: US-ASCII
146
+ string: ''
147
+ http_version:
148
+ recorded_at: Fri, 11 Sep 2015 11:03:59 GMT
149
+ - request:
150
+ method: put
151
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/tags/tag3
152
+ body:
153
+ encoding: US-ASCII
154
+ string: ''
155
+ headers:
156
+ User-Agent:
157
+ - fog-core/1.32.1
158
+ Content-Type:
159
+ - application/json
160
+ Accept:
161
+ - application/json
162
+ X-Auth-Token:
163
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
164
+ response:
165
+ status:
166
+ code: 204
167
+ message: ''
168
+ headers:
169
+ Content-Type:
170
+ - text/html; charset=UTF-8
171
+ Content-Length:
172
+ - '0'
173
+ X-Openstack-Request-Id:
174
+ - req-req-32ef90e3-bdc0-4d53-aa1a-4b60482015f6
175
+ Date:
176
+ - Fri, 11 Sep 2015 11:04:08 GMT
177
+ body:
178
+ encoding: US-ASCII
179
+ string: ''
180
+ http_version:
181
+ recorded_at: Fri, 11 Sep 2015 11:03:59 GMT
182
+ - request:
183
+ method: put
184
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/tags/tag4
185
+ body:
186
+ encoding: US-ASCII
187
+ string: ''
188
+ headers:
189
+ User-Agent:
190
+ - fog-core/1.32.1
191
+ Content-Type:
192
+ - application/json
193
+ Accept:
194
+ - application/json
195
+ X-Auth-Token:
196
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
197
+ response:
198
+ status:
199
+ code: 204
200
+ message: ''
201
+ headers:
202
+ Content-Type:
203
+ - text/html; charset=UTF-8
204
+ Content-Length:
205
+ - '0'
206
+ X-Openstack-Request-Id:
207
+ - req-req-8a9013df-1129-4b2b-aba8-ec2602086f5e
208
+ Date:
209
+ - Fri, 11 Sep 2015 11:04:08 GMT
210
+ body:
211
+ encoding: US-ASCII
212
+ string: ''
213
+ http_version:
214
+ recorded_at: Fri, 11 Sep 2015 11:03:59 GMT
215
+ - request:
216
+ method: get
217
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3
218
+ body:
219
+ encoding: US-ASCII
220
+ string: ''
221
+ headers:
222
+ User-Agent:
223
+ - fog-core/1.32.1
224
+ Content-Type:
225
+ - application/json
226
+ Accept:
227
+ - application/json
228
+ X-Auth-Token:
229
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
230
+ response:
231
+ status:
232
+ code: 200
233
+ message: ''
234
+ headers:
235
+ Content-Length:
236
+ - '580'
237
+ Content-Type:
238
+ - application/json; charset=UTF-8
239
+ X-Openstack-Request-Id:
240
+ - req-req-ba3ddd55-34cb-4aad-8f74-aad9527df092
241
+ Date:
242
+ - Fri, 11 Sep 2015 11:04:08 GMT
243
+ body:
244
+ encoding: US-ASCII
245
+ string: ! '{"status": "queued", "name": "foobar3", "tags": ["tag4", "tag1",
246
+ "tag2", "tag3"], "container_format": "ovf", "created_at": "2015-09-11T11:04:07Z",
247
+ "size": null, "disk_format": "vmdk", "updated_at": "2015-09-11T11:04:08Z",
248
+ "visibility": "private", "self": "/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3",
249
+ "min_disk": 0, "protected": false, "id": "7350cdc6-8531-4366-8380-7fada969b1c3",
250
+ "file": "/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/file", "checksum":
251
+ null, "owner": "123ac695d4db400a9001b91bb3b8aa46", "virtual_size": null, "min_ram":
252
+ 0, "schema": "/v2/schemas/image"}'
253
+ http_version:
254
+ recorded_at: Fri, 11 Sep 2015 11:03:59 GMT
255
+ - request:
256
+ method: delete
257
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/tags/tag2
258
+ body:
259
+ encoding: US-ASCII
260
+ string: ''
261
+ headers:
262
+ User-Agent:
263
+ - fog-core/1.32.1
264
+ Content-Type:
265
+ - application/json
266
+ Accept:
267
+ - application/json
268
+ X-Auth-Token:
269
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
270
+ response:
271
+ status:
272
+ code: 204
273
+ message: ''
274
+ headers:
275
+ Content-Type:
276
+ - text/html; charset=UTF-8
277
+ Content-Length:
278
+ - '0'
279
+ X-Openstack-Request-Id:
280
+ - req-req-0542336e-f5ff-4a0d-9c2d-26c24bda4dd9
281
+ Date:
282
+ - Fri, 11 Sep 2015 11:04:08 GMT
283
+ body:
284
+ encoding: US-ASCII
285
+ string: ''
286
+ http_version:
287
+ recorded_at: Fri, 11 Sep 2015 11:03:59 GMT
288
+ - request:
289
+ method: get
290
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3
291
+ body:
292
+ encoding: US-ASCII
293
+ string: ''
294
+ headers:
295
+ User-Agent:
296
+ - fog-core/1.32.1
297
+ Content-Type:
298
+ - application/json
299
+ Accept:
300
+ - application/json
301
+ X-Auth-Token:
302
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
303
+ response:
304
+ status:
305
+ code: 200
306
+ message: ''
307
+ headers:
308
+ Content-Length:
309
+ - '572'
310
+ Content-Type:
311
+ - application/json; charset=UTF-8
312
+ X-Openstack-Request-Id:
313
+ - req-req-d8d89ec3-7d94-420f-862e-098a708fb5cc
314
+ Date:
315
+ - Fri, 11 Sep 2015 11:04:08 GMT
316
+ body:
317
+ encoding: US-ASCII
318
+ string: ! '{"status": "queued", "name": "foobar3", "tags": ["tag4", "tag1",
319
+ "tag3"], "container_format": "ovf", "created_at": "2015-09-11T11:04:07Z",
320
+ "size": null, "disk_format": "vmdk", "updated_at": "2015-09-11T11:04:08Z",
321
+ "visibility": "private", "self": "/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3",
322
+ "min_disk": 0, "protected": false, "id": "7350cdc6-8531-4366-8380-7fada969b1c3",
323
+ "file": "/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/file", "checksum":
324
+ null, "owner": "123ac695d4db400a9001b91bb3b8aa46", "virtual_size": null, "min_ram":
325
+ 0, "schema": "/v2/schemas/image"}'
326
+ http_version:
327
+ recorded_at: Fri, 11 Sep 2015 11:03:59 GMT
328
+ - request:
329
+ method: delete
330
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/tags/tag1
331
+ body:
332
+ encoding: US-ASCII
333
+ string: ''
334
+ headers:
335
+ User-Agent:
336
+ - fog-core/1.32.1
337
+ Content-Type:
338
+ - application/json
339
+ Accept:
340
+ - application/json
341
+ X-Auth-Token:
342
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
343
+ response:
344
+ status:
345
+ code: 204
346
+ message: ''
347
+ headers:
348
+ Content-Type:
349
+ - text/html; charset=UTF-8
350
+ Content-Length:
351
+ - '0'
352
+ X-Openstack-Request-Id:
353
+ - req-req-2f76841a-a250-4e01-af8f-b599857b5ba2
354
+ Date:
355
+ - Fri, 11 Sep 2015 11:04:08 GMT
356
+ body:
357
+ encoding: US-ASCII
358
+ string: ''
359
+ http_version:
360
+ recorded_at: Fri, 11 Sep 2015 11:03:59 GMT
361
+ - request:
362
+ method: delete
363
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/tags/tag3
364
+ body:
365
+ encoding: US-ASCII
366
+ string: ''
367
+ headers:
368
+ User-Agent:
369
+ - fog-core/1.32.1
370
+ Content-Type:
371
+ - application/json
372
+ Accept:
373
+ - application/json
374
+ X-Auth-Token:
375
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
376
+ response:
377
+ status:
378
+ code: 204
379
+ message: ''
380
+ headers:
381
+ Content-Type:
382
+ - text/html; charset=UTF-8
383
+ Content-Length:
384
+ - '0'
385
+ X-Openstack-Request-Id:
386
+ - req-req-79e21f00-8a2f-4ca6-8694-72f98b84a507
387
+ Date:
388
+ - Fri, 11 Sep 2015 11:04:08 GMT
389
+ body:
390
+ encoding: US-ASCII
391
+ string: ''
392
+ http_version:
393
+ recorded_at: Fri, 11 Sep 2015 11:03:59 GMT
394
+ - request:
395
+ method: get
396
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3
397
+ body:
398
+ encoding: US-ASCII
399
+ string: ''
400
+ headers:
401
+ User-Agent:
402
+ - fog-core/1.32.1
403
+ Content-Type:
404
+ - application/json
405
+ Accept:
406
+ - application/json
407
+ X-Auth-Token:
408
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
409
+ response:
410
+ status:
411
+ code: 200
412
+ message: ''
413
+ headers:
414
+ Content-Length:
415
+ - '556'
416
+ Content-Type:
417
+ - application/json; charset=UTF-8
418
+ X-Openstack-Request-Id:
419
+ - req-req-538b07e3-f55a-4791-8885-849c6d665958
420
+ Date:
421
+ - Fri, 11 Sep 2015 11:04:08 GMT
422
+ body:
423
+ encoding: US-ASCII
424
+ string: ! '{"status": "queued", "name": "foobar3", "tags": ["tag4"], "container_format":
425
+ "ovf", "created_at": "2015-09-11T11:04:07Z", "size": null, "disk_format":
426
+ "vmdk", "updated_at": "2015-09-11T11:04:08Z", "visibility": "private", "self":
427
+ "/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3", "min_disk": 0, "protected":
428
+ false, "id": "7350cdc6-8531-4366-8380-7fada969b1c3", "file": "/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3/file",
429
+ "checksum": null, "owner": "123ac695d4db400a9001b91bb3b8aa46", "virtual_size":
430
+ null, "min_ram": 0, "schema": "/v2/schemas/image"}'
431
+ http_version:
432
+ recorded_at: Fri, 11 Sep 2015 11:04:00 GMT
433
+ - request:
434
+ method: delete
435
+ uri: http://devstack.openstack.stack:9292/v2/images/7350cdc6-8531-4366-8380-7fada969b1c3
436
+ body:
437
+ encoding: US-ASCII
438
+ string: ''
439
+ headers:
440
+ User-Agent:
441
+ - fog-core/1.32.1
442
+ Content-Type:
443
+ - application/json
444
+ Accept:
445
+ - application/json
446
+ X-Auth-Token:
447
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
448
+ response:
449
+ status:
450
+ code: 204
451
+ message: ''
452
+ headers:
453
+ Content-Type:
454
+ - text/html; charset=UTF-8
455
+ Content-Length:
456
+ - '0'
457
+ X-Openstack-Request-Id:
458
+ - req-req-5d283c2e-e9d0-4555-b3c5-2028087428be
459
+ Date:
460
+ - Fri, 11 Sep 2015 11:04:08 GMT
461
+ body:
462
+ encoding: US-ASCII
463
+ string: ''
464
+ http_version:
465
+ recorded_at: Fri, 11 Sep 2015 11:04:00 GMT
466
+ - request:
467
+ method: get
468
+ uri: http://devstack.openstack.stack:9292/v2/images?name=foobar3
469
+ body:
470
+ encoding: US-ASCII
471
+ string: ''
472
+ headers:
473
+ User-Agent:
474
+ - fog-core/1.32.1
475
+ Content-Type:
476
+ - application/json
477
+ Accept:
478
+ - application/json
479
+ X-Auth-Token:
480
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
481
+ response:
482
+ status:
483
+ code: 200
484
+ message: ''
485
+ headers:
486
+ Content-Length:
487
+ - '82'
488
+ Content-Type:
489
+ - application/json; charset=UTF-8
490
+ X-Openstack-Request-Id:
491
+ - req-req-84c6d158-1d7e-4c73-b84e-4b5d8d1005a2
492
+ Date:
493
+ - Fri, 11 Sep 2015 11:04:08 GMT
494
+ body:
495
+ encoding: US-ASCII
496
+ string: ! '{"images": [], "schema": "/v2/schemas/images", "first": "/v2/images?name=foobar3"}'
497
+ http_version:
498
+ recorded_at: Fri, 11 Sep 2015 11:04:00 GMT
499
+ - request:
500
+ method: get
501
+ uri: http://devstack.openstack.stack:9292/v2/images?name=foobar3
502
+ body:
503
+ encoding: US-ASCII
504
+ string: ''
505
+ headers:
506
+ User-Agent:
507
+ - fog-core/1.32.1
508
+ Content-Type:
509
+ - application/json
510
+ Accept:
511
+ - application/json
512
+ X-Auth-Token:
513
+ - e9723aaaf8f24e8fb2d6aee7a33a4d13
514
+ response:
515
+ status:
516
+ code: 200
517
+ message: ''
518
+ headers:
519
+ Content-Length:
520
+ - '82'
521
+ Content-Type:
522
+ - application/json; charset=UTF-8
523
+ X-Openstack-Request-Id:
524
+ - req-req-7a4a0490-b0ba-4c79-aeea-df636052486e
525
+ Date:
526
+ - Fri, 11 Sep 2015 11:04:08 GMT
527
+ body:
528
+ encoding: US-ASCII
529
+ string: ! '{"images": [], "schema": "/v2/schemas/images", "first": "/v2/images?name=foobar3"}'
530
+ http_version:
531
+ recorded_at: Fri, 11 Sep 2015 11:04:00 GMT
532
+ recorded_with: VCR 2.9.3