fog-xenserver 0.0.1.beta1 → 0.0.1.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (488) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.hound.yml +14 -15
  4. data/.travis.yml +5 -7
  5. data/CONTRIBUTORS.md +2 -1
  6. data/Gemfile +1 -1
  7. data/README.md +1 -1
  8. data/Rakefile +2 -2
  9. data/fog-xenserver.gemspec +5 -2
  10. data/gemfiles/Gemfile.1.9.2+ +1 -1
  11. data/gemfiles/{Gemfile.1.8.7 → Gemfile.1.9.2-} +1 -1
  12. data/lib/fog/compute/xen_server.rb +284 -59
  13. data/lib/fog/compute/xen_server/mock.rb +4 -0
  14. data/lib/fog/compute/xen_server/models.rb +4 -0
  15. data/lib/fog/compute/xen_server/models/blob.rb +2 -1
  16. data/lib/fog/compute/xen_server/models/blobs.rb +1 -1
  17. data/lib/fog/compute/xen_server/models/bond.rb +5 -4
  18. data/lib/fog/compute/xen_server/models/bonds.rb +1 -1
  19. data/lib/fog/compute/xen_server/models/class_methods.rb +24 -0
  20. data/lib/fog/compute/xen_server/models/collection.rb +45 -0
  21. data/lib/fog/compute/xen_server/models/console.rb +3 -2
  22. data/lib/fog/compute/xen_server/models/consoles.rb +1 -1
  23. data/lib/fog/compute/xen_server/models/crash_dump.rb +4 -3
  24. data/lib/fog/compute/xen_server/models/crash_dumps.rb +1 -1
  25. data/lib/fog/compute/xen_server/models/dr_task.rb +3 -2
  26. data/lib/fog/compute/xen_server/models/dr_tasks.rb +1 -1
  27. data/lib/fog/compute/xen_server/models/gpu_group.rb +5 -4
  28. data/lib/fog/compute/xen_server/models/gpu_groups.rb +1 -1
  29. data/lib/fog/compute/xen_server/models/guest_metrics.rb +4 -3
  30. data/lib/fog/compute/xen_server/models/guests_metrics.rb +1 -1
  31. data/lib/fog/compute/xen_server/models/host.rb +23 -65
  32. data/lib/fog/compute/xen_server/models/host_cpu.rb +4 -3
  33. data/lib/fog/compute/xen_server/models/host_cpus.rb +1 -1
  34. data/lib/fog/compute/xen_server/models/host_crash_dump.rb +3 -2
  35. data/lib/fog/compute/xen_server/models/host_crash_dumps.rb +1 -1
  36. data/lib/fog/compute/xen_server/models/host_metrics.rb +3 -7
  37. data/lib/fog/compute/xen_server/models/host_patch.rb +4 -3
  38. data/lib/fog/compute/xen_server/models/host_patchs.rb +1 -1
  39. data/lib/fog/compute/xen_server/models/hosts.rb +1 -1
  40. data/lib/fog/compute/xen_server/models/hosts_metrics.rb +1 -1
  41. data/lib/fog/compute/xen_server/models/instance_methods.rb +54 -0
  42. data/lib/fog/compute/xen_server/models/model.rb +12 -0
  43. data/lib/fog/compute/xen_server/models/network.rb +9 -40
  44. data/lib/fog/compute/xen_server/models/networks.rb +1 -1
  45. data/lib/fog/compute/xen_server/models/pbd.rb +4 -7
  46. data/lib/fog/compute/xen_server/models/pbds.rb +1 -1
  47. data/lib/fog/compute/xen_server/models/pci.rb +4 -3
  48. data/lib/fog/compute/xen_server/models/pcis.rb +1 -1
  49. data/lib/fog/compute/xen_server/models/pgpu.rb +5 -4
  50. data/lib/fog/compute/xen_server/models/pgpus.rb +1 -1
  51. data/lib/fog/compute/xen_server/models/pif.rb +27 -16
  52. data/lib/fog/compute/xen_server/models/pif_metrics.rb +2 -1
  53. data/lib/fog/compute/xen_server/models/pifs.rb +1 -1
  54. data/lib/fog/compute/xen_server/models/pifs_metrics.rb +4 -2
  55. data/lib/fog/compute/xen_server/models/pool.rb +24 -6
  56. data/lib/fog/compute/xen_server/models/pool_patch.rb +3 -2
  57. data/lib/fog/compute/xen_server/models/pool_patchs.rb +1 -1
  58. data/lib/fog/compute/xen_server/models/pools.rb +1 -1
  59. data/lib/fog/compute/xen_server/models/role.rb +3 -2
  60. data/lib/fog/compute/xen_server/models/roles.rb +2 -2
  61. data/lib/fog/compute/xen_server/models/server.rb +89 -118
  62. data/lib/fog/compute/xen_server/models/server_appliance.rb +3 -2
  63. data/lib/fog/compute/xen_server/models/server_appliances.rb +1 -1
  64. data/lib/fog/compute/xen_server/models/server_metrics.rb +7 -6
  65. data/lib/fog/compute/xen_server/models/servers.rb +4 -4
  66. data/lib/fog/compute/xen_server/models/servers_metrics.rb +1 -1
  67. data/lib/fog/compute/xen_server/models/storage_manager.rb +2 -1
  68. data/lib/fog/compute/xen_server/models/storage_managers.rb +1 -1
  69. data/lib/fog/compute/xen_server/models/storage_repositories.rb +1 -1
  70. data/lib/fog/compute/xen_server/models/storage_repository.rb +17 -44
  71. data/lib/fog/compute/xen_server/models/tunnel.rb +4 -3
  72. data/lib/fog/compute/xen_server/models/tunnels.rb +1 -1
  73. data/lib/fog/compute/xen_server/models/vbd.rb +29 -28
  74. data/lib/fog/compute/xen_server/models/vbd_metrics.rb +3 -7
  75. data/lib/fog/compute/xen_server/models/vbds.rb +1 -1
  76. data/lib/fog/compute/xen_server/models/vbds_metrics.rb +1 -1
  77. data/lib/fog/compute/xen_server/models/vdi.rb +22 -34
  78. data/lib/fog/compute/xen_server/models/vdis.rb +1 -1
  79. data/lib/fog/compute/xen_server/models/vif.rb +17 -20
  80. data/lib/fog/compute/xen_server/models/vif_metrics.rb +2 -1
  81. data/lib/fog/compute/xen_server/models/vifs.rb +1 -1
  82. data/lib/fog/compute/xen_server/models/vifs_metrics.rb +1 -1
  83. data/lib/fog/compute/xen_server/models/vlan.rb +5 -44
  84. data/lib/fog/compute/xen_server/models/vlans.rb +1 -1
  85. data/lib/fog/compute/xen_server/models/vmpp.rb +3 -2
  86. data/lib/fog/compute/xen_server/models/vmpps.rb +1 -1
  87. data/lib/fog/compute/xen_server/models/vtpm.rb +4 -3
  88. data/lib/fog/compute/xen_server/models/vtpms.rb +1 -1
  89. data/lib/fog/compute/xen_server/real.rb +11 -1
  90. data/lib/fog/compute/xen_server/requests/add_ipv4_allowed_vif.rb +11 -0
  91. data/lib/fog/compute/xen_server/requests/add_ipv6_allowed_vif.rb +11 -0
  92. data/lib/fog/compute/xen_server/requests/add_to_vcpus_params_live_server.rb +13 -0
  93. data/lib/fog/compute/xen_server/requests/apply_edition_host.rb +11 -0
  94. data/lib/fog/compute/xen_server/requests/apply_edition_pool.rb +11 -0
  95. data/lib/fog/compute/xen_server/requests/assert_agile_server.rb +13 -0
  96. data/lib/fog/compute/xen_server/requests/assert_attachable_vbd.rb +11 -0
  97. data/lib/fog/compute/xen_server/requests/assert_can_be_recovered_server.rb +13 -0
  98. data/lib/fog/compute/xen_server/requests/assert_can_boot_here_server.rb +13 -0
  99. data/lib/fog/compute/xen_server/requests/assert_can_evacuate_host.rb +11 -0
  100. data/lib/fog/compute/xen_server/requests/assert_can_host_ha_statefile_sr.rb +11 -0
  101. data/lib/fog/compute/xen_server/requests/assert_can_migrate_server.rb +13 -0
  102. data/lib/fog/compute/xen_server/requests/assert_operation_valid_server.rb +13 -0
  103. data/lib/fog/compute/xen_server/requests/assert_supports_database_replication_sr.rb +11 -0
  104. data/lib/fog/compute/xen_server/requests/backup_rrds_host.rb +11 -0
  105. data/lib/fog/compute/xen_server/requests/bugreport_upload_host.rb +11 -0
  106. data/lib/fog/compute/xen_server/requests/builtin_templates.rb +1 -7
  107. data/lib/fog/compute/xen_server/requests/call_plugin_host.rb +11 -0
  108. data/lib/fog/compute/xen_server/requests/certificate_install_pool.rb +11 -0
  109. data/lib/fog/compute/xen_server/requests/certificate_list_pool.rb +11 -0
  110. data/lib/fog/compute/xen_server/requests/certificate_sync_pool.rb +11 -0
  111. data/lib/fog/compute/xen_server/requests/certificate_uninstall_pool.rb +11 -0
  112. data/lib/fog/compute/xen_server/requests/checkpoint_server.rb +13 -0
  113. data/lib/fog/compute/xen_server/requests/clean_reboot_server.rb +13 -0
  114. data/lib/fog/compute/xen_server/requests/clean_shutdown_server.rb +13 -0
  115. data/lib/fog/compute/xen_server/requests/clone_server.rb +4 -18
  116. data/lib/fog/compute/xen_server/requests/clone_vdi.rb +11 -0
  117. data/lib/fog/compute/xen_server/requests/compute_free_memory_host.rb +11 -0
  118. data/lib/fog/compute/xen_server/requests/compute_memory_overhead_host.rb +11 -0
  119. data/lib/fog/compute/xen_server/requests/compute_memory_overhead_server.rb +13 -0
  120. data/lib/fog/compute/xen_server/requests/copy_bios_strings_server.rb +13 -0
  121. data/lib/fog/compute/xen_server/requests/copy_server.rb +13 -0
  122. data/lib/fog/compute/xen_server/requests/copy_vdi.rb +11 -0
  123. data/lib/fog/compute/xen_server/requests/create_network.rb +2 -28
  124. data/lib/fog/compute/xen_server/requests/create_new_blob_host.rb +11 -0
  125. data/lib/fog/compute/xen_server/requests/create_new_blob_network.rb +11 -0
  126. data/lib/fog/compute/xen_server/requests/create_new_blob_pool.rb +11 -0
  127. data/lib/fog/compute/xen_server/requests/create_new_blob_server.rb +13 -0
  128. data/lib/fog/compute/xen_server/requests/create_new_blob_sr.rb +11 -0
  129. data/lib/fog/compute/xen_server/requests/create_server.rb +3 -107
  130. data/lib/fog/compute/xen_server/requests/create_sr.rb +5 -57
  131. data/lib/fog/compute/xen_server/requests/create_vbd.rb +2 -26
  132. data/lib/fog/compute/xen_server/requests/create_vdi.rb +2 -19
  133. data/lib/fog/compute/xen_server/requests/create_vif.rb +2 -43
  134. data/lib/fog/compute/xen_server/requests/create_vlan.rb +3 -21
  135. data/lib/fog/compute/xen_server/requests/create_vlan_from_pif_pool.rb +11 -0
  136. data/lib/fog/compute/xen_server/requests/create_vlan_pool.rb +11 -0
  137. data/lib/fog/compute/xen_server/requests/crl_install_pool.rb +11 -0
  138. data/lib/fog/compute/xen_server/requests/crl_list_pool.rb +11 -0
  139. data/lib/fog/compute/xen_server/requests/crl_uninstall_pool.rb +11 -0
  140. data/lib/fog/compute/xen_server/requests/custom_templates.rb +0 -6
  141. data/lib/fog/compute/xen_server/requests/db_forget_pif.rb +11 -0
  142. data/lib/fog/compute/xen_server/requests/db_forget_vdi.rb +11 -0
  143. data/lib/fog/compute/xen_server/requests/db_introduce_pif.rb +11 -0
  144. data/lib/fog/compute/xen_server/requests/db_introduce_vdi.rb +11 -0
  145. data/lib/fog/compute/xen_server/requests/declare_dead_host.rb +11 -0
  146. data/lib/fog/compute/xen_server/requests/designate_new_master_pool.rb +11 -0
  147. data/lib/fog/compute/xen_server/requests/destroy_host.rb +11 -0
  148. data/lib/fog/compute/xen_server/requests/destroy_record.rb +11 -0
  149. data/lib/fog/compute/xen_server/requests/destroy_sr.rb +3 -17
  150. data/lib/fog/compute/xen_server/requests/detect_nonhomogeneous_external_auth_pool.rb +11 -0
  151. data/lib/fog/compute/xen_server/requests/disable_database_replication_sr.rb +11 -0
  152. data/lib/fog/compute/xen_server/requests/disable_external_auth_host.rb +11 -0
  153. data/lib/fog/compute/xen_server/requests/disable_external_auth_pool.rb +11 -0
  154. data/lib/fog/compute/xen_server/requests/disable_ha_pool.rb +11 -0
  155. data/lib/fog/compute/xen_server/requests/disable_host.rb +4 -16
  156. data/lib/fog/compute/xen_server/requests/disable_local_storage_caching_host.rb +11 -0
  157. data/lib/fog/compute/xen_server/requests/disable_local_storage_caching_pool.rb +11 -0
  158. data/lib/fog/compute/xen_server/requests/disable_redo_log_pool.rb +11 -0
  159. data/lib/fog/compute/xen_server/requests/dmesg_clear_host.rb +11 -0
  160. data/lib/fog/compute/xen_server/requests/dmesg_host.rb +11 -0
  161. data/lib/fog/compute/xen_server/requests/eject_pool.rb +11 -0
  162. data/lib/fog/compute/xen_server/requests/eject_vbd.rb +3 -9
  163. data/lib/fog/compute/xen_server/requests/emergency_ha_disable_host.rb +11 -0
  164. data/lib/fog/compute/xen_server/requests/emergency_reset_master_pool.rb +11 -0
  165. data/lib/fog/compute/xen_server/requests/emergency_transition_to_master_pool.rb +11 -0
  166. data/lib/fog/compute/xen_server/requests/enable_database_replication_sr.rb +11 -0
  167. data/lib/fog/compute/xen_server/requests/enable_external_auth_host.rb +11 -0
  168. data/lib/fog/compute/xen_server/requests/enable_external_auth_pool.rb +11 -0
  169. data/lib/fog/compute/xen_server/requests/enable_ha_pool.rb +11 -0
  170. data/lib/fog/compute/xen_server/requests/enable_host.rb +4 -15
  171. data/lib/fog/compute/xen_server/requests/enable_local_storage_caching_host.rb +11 -0
  172. data/lib/fog/compute/xen_server/requests/enable_local_storage_caching_pool.rb +11 -0
  173. data/lib/fog/compute/xen_server/requests/enable_redo_log_pool.rb +11 -0
  174. data/lib/fog/compute/xen_server/requests/evacuate_host.rb +11 -0
  175. data/lib/fog/compute/xen_server/requests/forget_data_source_archives_host.rb +11 -0
  176. data/lib/fog/compute/xen_server/requests/forget_data_source_archives_server.rb +13 -0
  177. data/lib/fog/compute/xen_server/requests/forget_pif.rb +11 -0
  178. data/lib/fog/compute/xen_server/requests/forget_sr.rb +11 -0
  179. data/lib/fog/compute/xen_server/requests/forget_vdi.rb +11 -0
  180. data/lib/fog/compute/xen_server/requests/get_allowed_vbd_devices_server.rb +13 -0
  181. data/lib/fog/compute/xen_server/requests/get_allowed_vif_devices_server.rb +13 -0
  182. data/lib/fog/compute/xen_server/requests/get_boot_record_server.rb +13 -0
  183. data/lib/fog/compute/xen_server/requests/get_data_sources_host.rb +11 -0
  184. data/lib/fog/compute/xen_server/requests/get_data_sources_server.rb +13 -0
  185. data/lib/fog/compute/xen_server/requests/get_license_state_pool.rb +11 -0
  186. data/lib/fog/compute/xen_server/requests/get_log_host.rb +11 -0
  187. data/lib/fog/compute/xen_server/requests/get_management_interface_host.rb +11 -0
  188. data/lib/fog/compute/xen_server/requests/get_possible_hosts_server.rb +13 -0
  189. data/lib/fog/compute/xen_server/requests/get_record.rb +4 -22
  190. data/lib/fog/compute/xen_server/requests/get_records.rb +5 -14
  191. data/lib/fog/compute/xen_server/requests/get_server_certificate_host.rb +11 -0
  192. data/lib/fog/compute/xen_server/requests/get_server_localtime_host.rb +11 -0
  193. data/lib/fog/compute/xen_server/requests/get_servertime_host.rb +11 -0
  194. data/lib/fog/compute/xen_server/requests/get_supported_types_sr.rb +11 -0
  195. data/lib/fog/compute/xen_server/requests/get_system_status_capabilities_host.rb +11 -0
  196. data/lib/fog/compute/xen_server/requests/get_vms_which_prevent_evacuation_host.rb +11 -0
  197. data/lib/fog/compute/xen_server/requests/ha_compute_hypothetical_max_host_failures_to_tolerate_pool.rb +11 -0
  198. data/lib/fog/compute/xen_server/requests/ha_compute_max_host_failures_to_tolerate_pool.rb +11 -0
  199. data/lib/fog/compute/xen_server/requests/ha_compute_vm_failover_plan_pool.rb +11 -0
  200. data/lib/fog/compute/xen_server/requests/ha_failover_plan_exists_pool.rb +11 -0
  201. data/lib/fog/compute/xen_server/requests/ha_prevent_restarts_for_pool.rb +11 -0
  202. data/lib/fog/compute/xen_server/requests/hard_reboot_server.rb +13 -0
  203. data/lib/fog/compute/xen_server/requests/hard_shutdown_server.rb +13 -0
  204. data/lib/fog/compute/xen_server/requests/import_convert_server.rb +13 -0
  205. data/lib/fog/compute/xen_server/requests/insert_vbd.rb +3 -9
  206. data/lib/fog/compute/xen_server/requests/introduce_pif.rb +11 -0
  207. data/lib/fog/compute/xen_server/requests/introduce_sr.rb +11 -0
  208. data/lib/fog/compute/xen_server/requests/introduce_vdi.rb +11 -0
  209. data/lib/fog/compute/xen_server/requests/join_force_pool.rb +11 -0
  210. data/lib/fog/compute/xen_server/requests/join_pool.rb +11 -0
  211. data/lib/fog/compute/xen_server/requests/list_methods_host.rb +11 -0
  212. data/lib/fog/compute/xen_server/requests/local_management_reconfigure_host.rb +11 -0
  213. data/lib/fog/compute/xen_server/requests/management_disable_host.rb +11 -0
  214. data/lib/fog/compute/xen_server/requests/management_reconfigure_host.rb +11 -0
  215. data/lib/fog/compute/xen_server/requests/maximise_memory_server.rb +13 -0
  216. data/lib/fog/compute/xen_server/requests/migrate_receive_host.rb +11 -0
  217. data/lib/fog/compute/xen_server/requests/migrate_send_server.rb +13 -0
  218. data/lib/fog/compute/xen_server/requests/open_database_vdi.rb +11 -0
  219. data/lib/fog/compute/xen_server/requests/pause_server.rb +13 -0
  220. data/lib/fog/compute/xen_server/requests/plug_pbd.rb +11 -0
  221. data/lib/fog/compute/xen_server/requests/plug_pif.rb +11 -0
  222. data/lib/fog/compute/xen_server/requests/plug_vbd.rb +11 -0
  223. data/lib/fog/compute/xen_server/requests/plug_vif.rb +11 -0
  224. data/lib/fog/compute/xen_server/requests/pool_migrate_server.rb +13 -0
  225. data/lib/fog/compute/xen_server/requests/pool_migrate_vdi.rb +11 -0
  226. data/lib/fog/compute/xen_server/requests/power_on_host.rb +11 -0
  227. data/lib/fog/compute/xen_server/requests/power_state_reset_server.rb +13 -0
  228. data/lib/fog/compute/xen_server/requests/probe_sr.rb +11 -0
  229. data/lib/fog/compute/xen_server/requests/provision_server.rb +4 -8
  230. data/lib/fog/compute/xen_server/requests/query_data_source_host.rb +11 -0
  231. data/lib/fog/compute/xen_server/requests/query_data_source_server.rb +13 -0
  232. data/lib/fog/compute/xen_server/requests/query_services_server.rb +13 -0
  233. data/lib/fog/compute/xen_server/requests/read_database_pool_uuid_vdi.rb +11 -0
  234. data/lib/fog/compute/xen_server/requests/reboot_host.rb +3 -9
  235. data/lib/fog/compute/xen_server/requests/reboot_server.rb +13 -5
  236. data/lib/fog/compute/xen_server/requests/reconfigure_ip_pif.rb +11 -0
  237. data/lib/fog/compute/xen_server/requests/reconfigure_ipv6_pif.rb +11 -0
  238. data/lib/fog/compute/xen_server/requests/record_data_source_host.rb +11 -0
  239. data/lib/fog/compute/xen_server/requests/record_data_source_server.rb +13 -0
  240. data/lib/fog/compute/xen_server/requests/recover_server.rb +13 -0
  241. data/lib/fog/compute/xen_server/requests/recover_slaves_pool.rb +11 -0
  242. data/lib/fog/compute/xen_server/requests/refresh_pack_info_host.rb +11 -0
  243. data/lib/fog/compute/xen_server/requests/remove_ipv4_allowed_vif.rb +11 -0
  244. data/lib/fog/compute/xen_server/requests/remove_ipv6_allowed_vif.rb +11 -0
  245. data/lib/fog/compute/xen_server/requests/reset_cpu_features_host.rb +11 -0
  246. data/lib/fog/compute/xen_server/requests/resize_online_vdi.rb +11 -0
  247. data/lib/fog/compute/xen_server/requests/resize_vdi.rb +11 -0
  248. data/lib/fog/compute/xen_server/requests/restart_agent_host.rb +11 -0
  249. data/lib/fog/compute/xen_server/requests/resume_on_server.rb +13 -0
  250. data/lib/fog/compute/xen_server/requests/resume_server.rb +13 -0
  251. data/lib/fog/compute/xen_server/requests/revert_server.rb +13 -0
  252. data/lib/fog/compute/xen_server/requests/revert_to_server.rb +18 -0
  253. data/lib/fog/compute/xen_server/requests/scan_pif.rb +11 -0
  254. data/lib/fog/compute/xen_server/requests/scan_sr.rb +3 -9
  255. data/lib/fog/compute/xen_server/requests/send_debug_keys_host.rb +11 -0
  256. data/lib/fog/compute/xen_server/requests/send_sysrq_server.rb +13 -0
  257. data/lib/fog/compute/xen_server/requests/send_test_post_pool.rb +11 -0
  258. data/lib/fog/compute/xen_server/requests/send_trigger_server.rb +13 -0
  259. data/lib/fog/compute/xen_server/requests/set_affinity.rb +1 -7
  260. data/lib/fog/compute/xen_server/requests/set_allow_caching_vdi.rb +11 -0
  261. data/lib/fog/compute/xen_server/requests/set_appliance_server.rb +13 -0
  262. data/lib/fog/compute/xen_server/requests/set_attribute.rb +1 -7
  263. data/lib/fog/compute/xen_server/requests/set_cpu_features_host.rb +11 -0
  264. data/lib/fog/compute/xen_server/requests/set_default_locking_mode_network.rb +11 -0
  265. data/lib/fog/compute/xen_server/requests/set_device_config_pbd.rb +11 -0
  266. data/lib/fog/compute/xen_server/requests/set_ha_host_failures_to_tolerate_pool.rb +11 -0
  267. data/lib/fog/compute/xen_server/requests/set_ha_restart_priority_server.rb +13 -0
  268. data/lib/fog/compute/xen_server/requests/set_hostname_live_host.rb +11 -0
  269. data/lib/fog/compute/xen_server/requests/set_hvm_shadow_multiplier_server.rb +13 -0
  270. data/lib/fog/compute/xen_server/requests/set_ipv4_allowed_vif.rb +11 -0
  271. data/lib/fog/compute/xen_server/requests/set_ipv6_allowed_vif.rb +11 -0
  272. data/lib/fog/compute/xen_server/requests/set_is_a_snapshot_vdi.rb +11 -0
  273. data/lib/fog/compute/xen_server/requests/set_locking_mode_vif.rb +11 -0
  274. data/lib/fog/compute/xen_server/requests/set_managed_vdi.rb +11 -0
  275. data/lib/fog/compute/xen_server/requests/set_memory_dynamic_max_server.rb +13 -0
  276. data/lib/fog/compute/xen_server/requests/set_memory_dynamic_min_server.rb +13 -0
  277. data/lib/fog/compute/xen_server/requests/set_memory_dynamic_range_server.rb +13 -0
  278. data/lib/fog/compute/xen_server/requests/set_memory_limits_server.rb +13 -0
  279. data/lib/fog/compute/xen_server/requests/set_memory_static_max_server.rb +13 -0
  280. data/lib/fog/compute/xen_server/requests/set_memory_static_min_server.rb +13 -0
  281. data/lib/fog/compute/xen_server/requests/set_memory_static_range_server.rb +13 -0
  282. data/lib/fog/compute/xen_server/requests/set_metadata_of_pool_vdi.rb +11 -0
  283. data/lib/fog/compute/xen_server/requests/set_missing_vdi.rb +11 -0
  284. data/lib/fog/compute/xen_server/requests/set_name_description_sr.rb +11 -0
  285. data/lib/fog/compute/xen_server/requests/set_name_description_vdi.rb +11 -0
  286. data/lib/fog/compute/xen_server/requests/set_name_label_sr.rb +11 -0
  287. data/lib/fog/compute/xen_server/requests/set_name_label_vdi.rb +11 -0
  288. data/lib/fog/compute/xen_server/requests/set_on_boot_vdi.rb +11 -0
  289. data/lib/fog/compute/xen_server/requests/set_order_server.rb +13 -0
  290. data/lib/fog/compute/xen_server/requests/set_physical_size_sr.rb +11 -0
  291. data/lib/fog/compute/xen_server/requests/set_physical_utilisation_sr.rb +11 -0
  292. data/lib/fog/compute/xen_server/requests/set_physical_utilisation_vdi.rb +11 -0
  293. data/lib/fog/compute/xen_server/requests/set_power_on_mode_host.rb +11 -0
  294. data/lib/fog/compute/xen_server/requests/set_primary_address_type_pif.rb +11 -0
  295. data/lib/fog/compute/xen_server/requests/set_protection_policy_server.rb +13 -0
  296. data/lib/fog/compute/xen_server/requests/set_read_only_vdi.rb +11 -0
  297. data/lib/fog/compute/xen_server/requests/set_shadow_multiplier_live_server.rb +13 -0
  298. data/lib/fog/compute/xen_server/requests/set_sharable_vdi.rb +11 -0
  299. data/lib/fog/compute/xen_server/requests/set_shared_sr.rb +11 -0
  300. data/lib/fog/compute/xen_server/requests/set_shutdown_delay_server.rb +13 -0
  301. data/lib/fog/compute/xen_server/requests/set_snapshot_of_vdi.rb +11 -0
  302. data/lib/fog/compute/xen_server/requests/set_snapshot_time_vdi.rb +11 -0
  303. data/lib/fog/compute/xen_server/requests/set_start_delay_server.rb +13 -0
  304. data/lib/fog/compute/xen_server/requests/set_suspend_vdi_server.rb +13 -0
  305. data/lib/fog/compute/xen_server/requests/set_vcpus_at_startup_server.rb +13 -0
  306. data/lib/fog/compute/xen_server/requests/set_vcpus_max_server.rb +13 -0
  307. data/lib/fog/compute/xen_server/requests/set_vcpus_number_live_server.rb +13 -0
  308. data/lib/fog/compute/xen_server/requests/set_virtual_allocation_sr.rb +11 -0
  309. data/lib/fog/compute/xen_server/requests/set_virtual_size_vdi.rb +11 -0
  310. data/lib/fog/compute/xen_server/requests/set_vswitch_controller_pool.rb +11 -0
  311. data/lib/fog/compute/xen_server/requests/shutdown_agent_host.rb +11 -0
  312. data/lib/fog/compute/xen_server/requests/shutdown_host.rb +3 -9
  313. data/lib/fog/compute/xen_server/requests/shutdown_server.rb +5 -8
  314. data/lib/fog/compute/xen_server/requests/snapshot_server.rb +4 -8
  315. data/lib/fog/compute/xen_server/requests/snapshot_vdi.rb +11 -0
  316. data/lib/fog/compute/xen_server/requests/snapshot_with_quiesce_server.rb +13 -0
  317. data/lib/fog/compute/xen_server/requests/snapshots.rb +15 -0
  318. data/lib/fog/compute/xen_server/requests/start_on_server.rb +13 -0
  319. data/lib/fog/compute/xen_server/requests/start_server.rb +4 -8
  320. data/lib/fog/compute/xen_server/requests/suspend_server.rb +13 -0
  321. data/lib/fog/compute/xen_server/requests/sync_data_host.rb +11 -0
  322. data/lib/fog/compute/xen_server/requests/sync_database_pool.rb +11 -0
  323. data/lib/fog/compute/xen_server/requests/templates.rb +0 -6
  324. data/lib/fog/compute/xen_server/requests/unpause_server.rb +13 -0
  325. data/lib/fog/compute/xen_server/requests/unplug_force_vbd.rb +11 -0
  326. data/lib/fog/compute/xen_server/requests/unplug_pbd.rb +3 -12
  327. data/lib/fog/compute/xen_server/requests/unplug_vbd.rb +3 -17
  328. data/lib/fog/compute/xen_server/requests/unplug_vif.rb +11 -0
  329. data/lib/fog/compute/xen_server/requests/update_sr.rb +11 -0
  330. data/lib/fog/compute/xen_server/requests/update_vdi.rb +11 -0
  331. data/lib/fog/parsers/xen_server.rb +0 -7
  332. data/lib/fog/xen_server/connection.rb +1 -0
  333. data/lib/fog/xen_server/version.rb +1 -1
  334. data/lib/fog/xenserver.rb +0 -2
  335. data/spec/cassettes/builtin_templates.yml +48 -0
  336. data/spec/cassettes/clone_server.yml +130 -0
  337. data/spec/cassettes/create_network.yml +87 -0
  338. data/spec/cassettes/create_server_create_vm.yml +144 -0
  339. data/spec/cassettes/create_server_get_all_hosts.yml +59 -0
  340. data/spec/cassettes/create_server_open_connection.yml +45 -0
  341. data/spec/cassettes/create_vbd_create_vbd.yml +173 -0
  342. data/spec/cassettes/create_vbd_create_vdi.yml +132 -0
  343. data/spec/cassettes/create_vbd_create_vm.yml +144 -0
  344. data/spec/cassettes/create_vbd_get_all_hosts.yml +59 -0
  345. data/spec/cassettes/create_vbd_get_storage_repository.yml +89 -0
  346. data/spec/cassettes/create_vbd_open_connection.yml +45 -0
  347. data/spec/cassettes/create_vdi.yml +132 -0
  348. data/spec/cassettes/create_vif_create_vif.yml +173 -0
  349. data/spec/cassettes/create_vif_get_network_by_name.yml +88 -0
  350. data/spec/cassettes/create_vif_open_connection.yml +45 -0
  351. data/spec/cassettes/create_vif_vif_set_device_number.yml +89 -0
  352. data/spec/cassettes/get_all_hosts.yml +73 -0
  353. data/spec/cassettes/get_network_by_name.yml +88 -0
  354. data/spec/cassettes/get_storage_repository.yml +89 -0
  355. data/spec/cassettes/get_vm_by_name.yml +130 -0
  356. data/spec/cassettes/open_connection.yml +45 -0
  357. data/spec/cassettes/sync_database_pool.yml +129 -0
  358. data/spec/cassettes/vif_set_device_number.yml +342 -0
  359. data/spec/fog/compute/xen_server/models/blob_spec.rb +63 -0
  360. data/spec/fog/compute/xen_server/models/blobs_spec.rb +9 -0
  361. data/spec/fog/compute/xen_server/models/bond_spec.rb +63 -0
  362. data/spec/fog/compute/xen_server/models/bonds_spec.rb +9 -0
  363. data/spec/fog/compute/xen_server/models/console_spec.rb +57 -0
  364. data/spec/fog/compute/xen_server/models/consoles_spec.rb +9 -0
  365. data/spec/fog/compute/xen_server/models/crash_dump_spec.rb +56 -0
  366. data/spec/fog/compute/xen_server/models/crash_dumps_spec.rb +9 -0
  367. data/spec/fog/compute/xen_server/models/dr_task_spec.rb +51 -0
  368. data/spec/fog/compute/xen_server/models/dr_tasks_spec.rb +9 -0
  369. data/spec/fog/compute/xen_server/models/gpu_group_spec.rb +65 -0
  370. data/spec/fog/compute/xen_server/models/gpu_groups_spec.rb +9 -0
  371. data/{test/fog/compute/xen_server/models/guest_metrics_test.rb → spec/fog/compute/xen_server/models/guest_metrics_spec.rb} +32 -5
  372. data/spec/fog/compute/xen_server/models/guests_metrics_spec.rb +9 -0
  373. data/spec/fog/compute/xen_server/models/host_cpu_spec.rb +73 -0
  374. data/spec/fog/compute/xen_server/models/host_cpus_spec.rb +9 -0
  375. data/spec/fog/compute/xen_server/models/host_crash_dump_spec.rb +57 -0
  376. data/spec/fog/compute/xen_server/models/host_crash_dumps_spec.rb +9 -0
  377. data/spec/fog/compute/xen_server/models/host_metrics_spec.rb +72 -0
  378. data/spec/fog/compute/xen_server/models/host_patch_spec.rb +68 -0
  379. data/spec/fog/compute/xen_server/models/host_patchs_spec.rb +9 -0
  380. data/spec/fog/compute/xen_server/models/host_spec.rb +231 -0
  381. data/spec/fog/compute/xen_server/models/hosts_metrics_spec.rb +9 -0
  382. data/spec/fog/compute/xen_server/models/hosts_spec.rb +9 -0
  383. data/spec/fog/compute/xen_server/models/network_spec.rb +79 -0
  384. data/spec/fog/compute/xen_server/models/networks_spec.rb +9 -0
  385. data/spec/fog/compute/xen_server/models/pbd_spec.rb +67 -0
  386. data/spec/fog/compute/xen_server/models/pbds_spec.rb +9 -0
  387. data/spec/fog/compute/xen_server/models/pci_spec.rb +61 -0
  388. data/spec/fog/compute/xen_server/models/pcis_spec.rb +9 -0
  389. data/spec/fog/compute/xen_server/models/pgpu_spec.rb +58 -0
  390. data/spec/fog/compute/xen_server/models/pgpus_spec.rb +9 -0
  391. data/spec/fog/compute/xen_server/models/pif_metrics_spec.rb +74 -0
  392. data/spec/fog/compute/xen_server/models/pif_spec.rb +118 -0
  393. data/spec/fog/compute/xen_server/models/pifs_metrics_spec.rb +9 -0
  394. data/spec/fog/compute/xen_server/models/pifs_spec.rb +9 -0
  395. data/spec/fog/compute/xen_server/models/pool_patch_spec.rb +66 -0
  396. data/spec/fog/compute/xen_server/models/pool_patchs_spec.rb +9 -0
  397. data/spec/fog/compute/xen_server/models/pool_spec.rb +106 -0
  398. data/spec/fog/compute/xen_server/models/pools_spec.rb +9 -0
  399. data/spec/fog/compute/xen_server/models/role_spec.rb +56 -0
  400. data/spec/fog/compute/xen_server/models/roles_spec.rb +9 -0
  401. data/spec/fog/compute/xen_server/models/server_appliance_spec.rb +61 -0
  402. data/spec/fog/compute/xen_server/models/server_appliances_spec.rb +9 -0
  403. data/spec/fog/compute/xen_server/models/server_metrics_spec.rb +76 -0
  404. data/spec/fog/compute/xen_server/models/server_spec.rb +554 -0
  405. data/spec/fog/compute/xen_server/models/servers_metrics_spec.rb +9 -0
  406. data/spec/fog/compute/xen_server/models/servers_spec.rb +9 -0
  407. data/{test/fog/compute/xen_server/models/storage_manger_test.rb → spec/fog/compute/xen_server/models/storage_manager_spec.rb} +34 -5
  408. data/spec/fog/compute/xen_server/models/storage_managers_spec.rb +9 -0
  409. data/spec/fog/compute/xen_server/models/storage_repositories_spec.rb +9 -0
  410. data/spec/fog/compute/xen_server/models/storage_repository_spec.rb +92 -0
  411. data/spec/fog/compute/xen_server/models/tunnel_spec.rb +57 -0
  412. data/spec/fog/compute/xen_server/models/tunnels_spec.rb +9 -0
  413. data/spec/fog/compute/xen_server/models/vbd_metrics_spec.rb +70 -0
  414. data/spec/fog/compute/xen_server/models/vbd_spec.rb +194 -0
  415. data/spec/fog/compute/xen_server/models/vbds_metrics_spec.rb +9 -0
  416. data/spec/fog/compute/xen_server/models/vbds_spec.rb +9 -0
  417. data/spec/fog/compute/xen_server/models/vdi_spec.rb +162 -0
  418. data/spec/fog/compute/xen_server/models/vdis_spec.rb +9 -0
  419. data/{test/fog/compute/xen_server/models/vif_metrics_test.rb → spec/fog/compute/xen_server/models/vif_metrics_spec.rb} +26 -5
  420. data/spec/fog/compute/xen_server/models/vif_spec.rb +141 -0
  421. data/spec/fog/compute/xen_server/models/vifs_metrics_spec.rb +9 -0
  422. data/spec/fog/compute/xen_server/models/vifs_spec.rb +9 -0
  423. data/spec/fog/compute/xen_server/models/vlan_spec.rb +58 -0
  424. data/spec/fog/compute/xen_server/models/vlans_spec.rb +9 -0
  425. data/spec/fog/compute/xen_server/models/vmpp_spec.rb +89 -0
  426. data/spec/fog/compute/xen_server/models/vmpps_spec.rb +9 -0
  427. data/spec/fog/compute/xen_server/models/vtpm_spec.rb +53 -0
  428. data/spec/fog/compute/xen_server/models/vtpms_spec.rb +9 -0
  429. data/spec/fog/compute/xen_server/requests/builtin_templates_spec.rb +18 -0
  430. data/spec/fog/compute/xen_server/requests/clone_server_spec.rb +36 -0
  431. data/spec/fog/compute/xen_server/requests/create_network_spec.rb +24 -0
  432. data/spec/fog/compute/xen_server/requests/create_server_spec.rb +30 -0
  433. data/spec/fog/compute/xen_server/requests/create_vbd_spec.rb +45 -0
  434. data/spec/fog/compute/xen_server/requests/create_vdi_spec.rb +27 -0
  435. data/spec/fog/compute/xen_server/requests/create_vif_spec.rb +46 -0
  436. data/spec/fog/compute/xen_server/requests/sync_database_pool_spec.rb +16 -0
  437. data/spec/fog/compute/xen_server_spec.rb +13 -0
  438. data/{test → spec}/minitest_helper.rb +17 -5
  439. metadata +470 -94
  440. data/lib/fog.rb +0 -3
  441. data/lib/fog/collection.rb +0 -37
  442. data/lib/fog/compute/xen_server/requests/destroy_network.rb +0 -28
  443. data/lib/fog/compute/xen_server/requests/destroy_server.rb +0 -17
  444. data/lib/fog/compute/xen_server/requests/destroy_vdi.rb +0 -17
  445. data/lib/fog/compute/xen_server/requests/destroy_vif.rb +0 -17
  446. data/lib/fog/compute/xen_server/requests/destroy_vlan.rb +0 -27
  447. data/lib/fog/compute/xen_server/requests/snapshot_revert.rb +0 -17
  448. data/lib/fog/compute/xen_server/requests/start_vm.rb +0 -19
  449. data/lib/fog/model.rb +0 -48
  450. data/lib/fog/parsers/xen_server/get_hosts.rb +0 -16
  451. data/lib/fog/parsers/xen_server/get_networks.rb +0 -16
  452. data/lib/fog/parsers/xen_server/get_pools.rb +0 -16
  453. data/lib/fog/parsers/xen_server/get_storage_repositories.rb +0 -16
  454. data/lib/fog/parsers/xen_server/get_vbds.rb +0 -16
  455. data/lib/fog/parsers/xen_server/get_vifs.rb +0 -16
  456. data/lib/fog/parsers/xen_server/get_vms.rb +0 -16
  457. data/test/fog/compute/xen_server/models/blob_test.rb +0 -40
  458. data/test/fog/compute/xen_server/models/bond_test.rb +0 -42
  459. data/test/fog/compute/xen_server/models/console_test.rb +0 -38
  460. data/test/fog/compute/xen_server/models/crash_dump_test.rb +0 -39
  461. data/test/fog/compute/xen_server/models/dr_task_test.rb +0 -35
  462. data/test/fog/compute/xen_server/models/gpu_group_test.rb +0 -45
  463. data/test/fog/compute/xen_server/models/host_cpu_test.rb +0 -46
  464. data/test/fog/compute/xen_server/models/host_crash_dump_test.rb +0 -37
  465. data/test/fog/compute/xen_server/models/host_metrics_test.rb +0 -38
  466. data/test/fog/compute/xen_server/models/host_patch_test.rb +0 -45
  467. data/test/fog/compute/xen_server/models/host_test.rb +0 -102
  468. data/test/fog/compute/xen_server/models/network_test.rb +0 -51
  469. data/test/fog/compute/xen_server/models/pbd_test.rb +0 -40
  470. data/test/fog/compute/xen_server/models/pci_test.rb +0 -40
  471. data/test/fog/compute/xen_server/models/pgpu_test.rb +0 -41
  472. data/test/fog/compute/xen_server/models/pif_metrics_test.rb +0 -45
  473. data/test/fog/compute/xen_server/models/pif_test.rb +0 -81
  474. data/test/fog/compute/xen_server/models/pool_patch_test.rb +0 -43
  475. data/test/fog/compute/xen_server/models/pool_test.rb +0 -69
  476. data/test/fog/compute/xen_server/models/role_test.rb +0 -38
  477. data/test/fog/compute/xen_server/models/server_appliance_test.rb +0 -41
  478. data/test/fog/compute/xen_server/models/server_metrics_test.rb +0 -48
  479. data/test/fog/compute/xen_server/models/server_test.rb +0 -149
  480. data/test/fog/compute/xen_server/models/storage_repository_test.rb +0 -56
  481. data/test/fog/compute/xen_server/models/tunnel_test.rb +0 -40
  482. data/test/fog/compute/xen_server/models/vbd_metrics_test.rb +0 -37
  483. data/test/fog/compute/xen_server/models/vbd_test.rb +0 -58
  484. data/test/fog/compute/xen_server/models/vdi_test.rb +0 -71
  485. data/test/fog/compute/xen_server/models/vif_test.rb +0 -59
  486. data/test/fog/compute/xen_server/models/vlan_test.rb +0 -40
  487. data/test/fog/compute/xen_server/models/vmpp_test.rb +0 -55
  488. data/test/fog/compute/xen_server/models/vtpm_test.rb +0 -36
@@ -0,0 +1,59 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://192.168.10.2/
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" ?><methodCall><methodName>host.get_all_records</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param></params></methodCall>
10
+ headers:
11
+ User-Agent:
12
+ - XMLRPC::Client (Ruby 2.1.2)
13
+ Content-Type:
14
+ - text/xml; charset=utf-8
15
+ Content-Length:
16
+ - '203'
17
+ Connection:
18
+ - keep-alive
19
+ Accept-Encoding:
20
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
+ Accept:
22
+ - "*/*"
23
+ response:
24
+ status:
25
+ code: 200
26
+ message: OK
27
+ headers:
28
+ Content-Length:
29
+ - '11665'
30
+ Connection:
31
+ - keep-alive
32
+ Cache-Control:
33
+ - no-cache, no-store
34
+ Content-Type:
35
+ - text/xml
36
+ Access-Control-Allow-Origin:
37
+ - "*"
38
+ Access-Control-Allow-Headers:
39
+ - X-Requested-With
40
+ body:
41
+ encoding: UTF-8
42
+ string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>OpaqueRef:78c23dd4-4470-ed14-47e1-9a0e21a32814</name><value><struct><member><name>uuid</name><value>db36cc5c-332c-4a10-a092-bdc6a8ec4a74</value></member><member><name>name_label</name><value>vermelinho</value></member><member><name>name_description</name><value>Default
43
+ install of XenServer</value></member><member><name>memory_overhead</name><value>173891584</value></member><member><name>allowed_operations</name><value><array><data><value>vm_migrate</value><value>evacuate</value><value>provision</value><value>vm_resume</value><value>vm_start</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>API_version_major</name><value>2</value></member><member><name>API_version_minor</name><value>0</value></member><member><name>API_version_vendor</name><value>XenSource</value></member><member><name>API_version_vendor_implementation</name><value><struct/></value></member><member><name>enabled</name><value><boolean>1</boolean></value></member><member><name>software_version</name><value><struct><member><name>product_version</name><value>6.2.0</value></member><member><name>product_version_text</name><value>6.2</value></member><member><name>product_version_text_short</name><value>6.2</value></member><member><name>platform_name</name><value>XCP</value></member><member><name>platform_version</name><value>1.8.0</value></member><member><name>product_brand</name><value>XenServer</value></member><member><name>build_number</name><value>70446c</value></member><member><name>hostname</name><value>othone-2</value></member><member><name>date</name><value>2013-06-14</value></member><member><name>dbv</name><value>2013.0621</value></member><member><name>xapi</name><value>1.3</value></member><member><name>xen</name><value>4.1.5</value></member><member><name>linux</name><value>2.6.32.43-0.4.1.xs1.8.0.835.170778xen</value></member><member><name>xencenter_min</name><value>2.0</value></member><member><name>xencenter_max</name><value>2.0</value></member><member><name>network_backend</name><value>openvswitch</value></member><member><name>xs:xenserver-transfer-vm</name><value>XenServer
44
+ Transfer VM, version 6.2.0, build 70314c</value></member><member><name>xs:main</name><value>XenServer
45
+ Pack, version 6.2.0, build 70446c</value></member><member><name>xcp:main</name><value>Base
46
+ Pack, version 1.8.0, build 70446c</value></member></struct></value></member><member><name>other_config</name><value><struct><member><name>iscsi_iqn</name><value>iqn.2014-11.com.example:ffd995c5</value></member><member><name>agent_start_time</name><value>1416595151.</value></member><member><name>boot_time</name><value>1416595071.</value></member></struct></value></member><member><name>capabilities</name><value><array><data><value>xen-3.0-x86_64</value><value>xen-3.0-x86_32p</value><value>hvm-3.0-x86_32</value><value>hvm-3.0-x86_32p</value><value>hvm-3.0-x86_64</value><value/></data></array></value></member><member><name>cpu_configuration</name><value><struct/></value></member><member><name>sched_policy</name><value>credit</value></member><member><name>supported_bootloaders</name><value><array><data><value>pygrub</value><value>eliloader</value></data></array></value></member><member><name>resident_VMs</name><value><array><data><value>OpaqueRef:571a3707-3431-c4b9-19ce-9e9f2d1a005d</value></data></array></value></member><member><name>logging</name><value><struct/></value></member><member><name>PIFs</name><value><array><data><value>OpaqueRef:bad36a7a-7a0b-a548-6f02-7fcf8d5809c7</value></data></array></value></member><member><name>suspend_image_sr</name><value>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</value></member><member><name>crash_dump_sr</name><value>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</value></member><member><name>crashdumps</name><value><array><data/></array></value></member><member><name>patches</name><value><array><data/></array></value></member><member><name>PBDs</name><value><array><data><value>OpaqueRef:644167f5-d697-f2c8-6e66-d2b5d3698c1d</value><value>OpaqueRef:2eb08265-f2c9-5732-38b1-7103754cf980</value><value>OpaqueRef:9c139a2b-14f2-2486-1b1e-c46d7de625ec</value><value>OpaqueRef:5cbf37b0-53a1-14d7-1f0c-3742028de263</value></data></array></value></member><member><name>host_CPUs</name><value><array><data><value>OpaqueRef:4f6aa57e-67e5-49a8-64e7-78e3dd98cbe5</value><value>OpaqueRef:c96d160c-bd5e-7975-50de-a6dd24e8e754</value><value>OpaqueRef:5c634f7d-5f31-2c02-f20d-ba4a1a79c4b4</value><value>OpaqueRef:480b9f18-8d2b-4ecb-e17c-fc5854011d72</value></data></array></value></member><member><name>cpu_info</name><value><struct><member><name>cpu_count</name><value>4</value></member><member><name>socket_count</name><value>1</value></member><member><name>vendor</name><value>GenuineIntel</value></member><member><name>speed</name><value>2400.054</value></member><member><name>modelname</name><value>Intel(R)
47
+ Core(TM) i5 CPU M 450 @ 2.40GHz</value></member><member><name>family</name><value>6</value></member><member><name>model</name><value>37</value></member><member><name>stepping</name><value>5</value></member><member><name>flags</name><value>fpu
48
+ de tsc msr pae mce cx8 apic sep mtrr mca cmov pat clflush acpi mmx fxsr sse
49
+ sse2 ss ht nx constant_tsc nonstop_tsc aperfmperf pni vmx est ssse3 sse4_1
50
+ sse4_2 popcnt hypervisor ida arat tpr_shadow vnmi flexpriority ept vpid</value></member><member><name>features</name><value>009ae3bd-bfebfbff-00000001-28100800</value></member><member><name>features_after_reboot</name><value>009ae3bd-bfebfbff-00000001-28100800</value></member><member><name>physical_features</name><value>009ae3bd-bfebfbff-00000001-28100800</value></member><member><name>maskable</name><value>full</value></member></struct></value></member><member><name>hostname</name><value>vermelinho</value></member><member><name>address</name><value>192.168.10.2</value></member><member><name>metrics</name><value>OpaqueRef:1401267d-366a-56fe-6a20-379d7548cc2e</value></member><member><name>license_params</name><value><struct><member><name>sku_type</name><value>free</value></member><member><name>version</name><value>6.2.0</value></member><member><name>serialnumber</name><value/></member><member><name>sockets</name><value>1</value></member><member><name>productcode</name><value/></member><member><name>expiry</name><value>20300101T02:00:00Z</value></member><member><name>grace</name><value>no</value></member><member><name>name</name><value/></member><member><name>company</name><value/></member><member><name>address1</name><value/></member><member><name>address2</name><value/></member><member><name>city</name><value/></member><member><name>state</name><value/></member><member><name>postalcode</name><value/></member><member><name>country</name><value/></member><member><name>sku_marketing_name</name><value>Citrix
51
+ XenServer</value></member><member><name>restrict_vswitch_controller</name><value>false</value></member><member><name>restrict_lab</name><value>false</value></member><member><name>restrict_stage</name><value>false</value></member><member><name>restrict_storagelink</name><value>false</value></member><member><name>restrict_storagelink_site_recovery</name><value>false</value></member><member><name>restrict_web_selfservice</name><value>true</value></member><member><name>restrict_web_selfservice_manager</name><value>true</value></member><member><name>restrict_hotfix_apply</name><value>true</value></member><member><name>restrict_vlan</name><value>false</value></member><member><name>restrict_qos</name><value>false</value></member><member><name>restrict_pool_attached_storage</name><value>false</value></member><member><name>restrict_netapp</name><value>false</value></member><member><name>restrict_equalogic</name><value>false</value></member><member><name>restrict_pooling</name><value>false</value></member><member><name>enable_xha</name><value>true</value></member><member><name>restrict_marathon</name><value>false</value></member><member><name>restrict_email_alerting</name><value>false</value></member><member><name>restrict_historical_performance</name><value>false</value></member><member><name>restrict_wlb</name><value>true</value></member><member><name>restrict_rbac</name><value>false</value></member><member><name>restrict_dmc</name><value>false</value></member><member><name>restrict_checkpoint</name><value>false</value></member><member><name>restrict_cpu_masking</name><value>false</value></member><member><name>restrict_connection</name><value>false</value></member><member><name>platform_filter</name><value>false</value></member><member><name>regular_nag_dialog</name><value>false</value></member><member><name>restrict_vmpr</name><value>false</value></member><member><name>restrict_intellicache</name><value>false</value></member><member><name>restrict_gpu</name><value>false</value></member><member><name>restrict_dr</name><value>false</value></member><member><name>restrict_vif_locking</name><value>false</value></member><member><name>restrict_storage_xen_motion</name><value>false</value></member></struct></value></member><member><name>ha_statefiles</name><value><array><data/></array></value></member><member><name>ha_network_peers</name><value><array><data/></array></value></member><member><name>blobs</name><value><struct/></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>external_auth_type</name><value/></member><member><name>external_auth_service_name</name><value/></member><member><name>external_auth_configuration</name><value><struct/></value></member><member><name>edition</name><value>free</value></member><member><name>license_server</name><value><struct><member><name>address</name><value>localhost</value></member><member><name>port</name><value>27000</value></member></struct></value></member><member><name>bios_strings</name><value><struct><member><name>bios-vendor</name><value>Phoenix
52
+ Technologies LTD</value></member><member><name>bios-version</name><value>CALPELLACRB.86C.0000.X.0000000000</value></member><member><name>system-manufacturer</name><value>Intel
53
+ Corporation</value></member><member><name>system-product-name</name><value>Calpella
54
+ Platform</value></member><member><name>system-version</name><value>Not Applicable</value></member><member><name>system-serial-number</name><value>Not
55
+ Applicable</value></member><member><name>oem-1</name><value>Xen</value></member><member><name>oem-2</name><value>MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d</value></member><member><name>oem-3</name><value>Calpella</value></member><member><name>oem-4</name><value>Clarksfield
56
+ &amp; Auburndale</value></member><member><name>hp-rombios</name><value/></member></struct></value></member><member><name>power_on_mode</name><value/></member><member><name>power_on_config</name><value><struct/></value></member><member><name>local_cache_sr</name><value>OpaqueRef:NULL</value></member><member><name>chipset_info</name><value><struct><member><name>iommu</name><value>false</value></member></struct></value></member><member><name>PCIs</name><value><array><data><value>OpaqueRef:acf66ef4-4722-c89b-4472-35ded37322bd</value></data></array></value></member><member><name>PGPUs</name><value><array><data><value>OpaqueRef:87776732-9184-c077-ec61-2f6e9512db15</value></data></array></value></member><member><name>guest_VCPUs_params</name><value><struct/></value></member></struct></value></member></struct></value></member></struct></value></param></params></methodResponse>"
57
+ http_version:
58
+ recorded_at: Sat, 22 Nov 2014 14:35:18 GMT
59
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,89 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://192.168.10.2/
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" ?><methodCall><methodName>SR.get_by_name_label</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><string>Local storage</string></value></param></params></methodCall>
10
+ headers:
11
+ User-Agent:
12
+ - XMLRPC::Client (Ruby 2.1.2)
13
+ Content-Type:
14
+ - text/xml; charset=utf-8
15
+ Content-Length:
16
+ - '263'
17
+ Connection:
18
+ - keep-alive
19
+ Accept-Encoding:
20
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
+ Accept:
22
+ - "*/*"
23
+ response:
24
+ status:
25
+ code: 200
26
+ message: OK
27
+ headers:
28
+ Content-Length:
29
+ - '294'
30
+ Connection:
31
+ - keep-alive
32
+ Cache-Control:
33
+ - no-cache, no-store
34
+ Content-Type:
35
+ - text/xml
36
+ Access-Control-Allow-Origin:
37
+ - "*"
38
+ Access-Control-Allow-Headers:
39
+ - X-Requested-With
40
+ body:
41
+ encoding: UTF-8
42
+ string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><array><data><value>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</value></data></array></value></member></struct></value></param></params></methodResponse>"
43
+ http_version:
44
+ recorded_at: Sat, 22 Nov 2014 14:35:17 GMT
45
+ - request:
46
+ method: post
47
+ uri: http://192.168.10.2/
48
+ body:
49
+ encoding: UTF-8
50
+ string: |
51
+ <?xml version="1.0" ?><methodCall><methodName>SR.get_record</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><string>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</string></value></param></params></methodCall>
52
+ headers:
53
+ User-Agent:
54
+ - XMLRPC::Client (Ruby 2.1.2)
55
+ Content-Type:
56
+ - text/xml; charset=utf-8
57
+ Content-Length:
58
+ - '289'
59
+ Connection:
60
+ - keep-alive
61
+ Accept-Encoding:
62
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
+ Accept:
64
+ - "*/*"
65
+ response:
66
+ status:
67
+ code: 200
68
+ message: OK
69
+ headers:
70
+ Content-Length:
71
+ - '2239'
72
+ Connection:
73
+ - keep-alive
74
+ Cache-Control:
75
+ - no-cache, no-store
76
+ Content-Type:
77
+ - text/xml
78
+ Access-Control-Allow-Origin:
79
+ - "*"
80
+ Access-Control-Allow-Headers:
81
+ - X-Requested-With
82
+ body:
83
+ encoding: UTF-8
84
+ string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>4971da95-df5e-3f2d-28a7-cbb79db6d1bf</value></member><member><name>name_label</name><value>Local
85
+ storage</value></member><member><name>name_description</name><value/></member><member><name>allowed_operations</name><value><array><data><value>vdi_create</value><value>vdi_snapshot</value><value>pbd_create</value><value>pbd_destroy</value><value>plug</value><value>update</value><value>vdi_destroy</value><value>scan</value><value>vdi_clone</value><value>vdi_resize</value><value>unplug</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>VDIs</name><value><array><data/></array></value></member><member><name>PBDs</name><value><array><data><value>OpaqueRef:9c139a2b-14f2-2486-1b1e-c46d7de625ec</value></data></array></value></member><member><name>virtual_allocation</name><value>0</value></member><member><name>physical_utilisation</name><value>4194304</value></member><member><name>physical_size</name><value>311469015040</value></member><member><name>type</name><value>lvm</value></member><member><name>content_type</name><value>user</value></member><member><name>shared</name><value><boolean>0</boolean></value></member><member><name>other_config</name><value><struct><member><name>i18n-original-value-name_label</name><value>Local
86
+ storage</value></member><member><name>i18n-key</name><value>local-storage</value></member></struct></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>sm_config</name><value><struct><member><name>allocation</name><value>thick</value></member><member><name>use_vhd</name><value>true</value></member><member><name>devserial</name><value>scsi-SATA_TOSHIBA_MK3265G_70KBP17MT</value></member></struct></value></member><member><name>blobs</name><value><struct/></value></member><member><name>local_cache_enabled</name><value><boolean>0</boolean></value></member><member><name>introduced_by</name><value>OpaqueRef:NULL</value></member></struct></value></member></struct></value></param></params></methodResponse>"
87
+ http_version:
88
+ recorded_at: Sat, 22 Nov 2014 14:35:17 GMT
89
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://192.168.10.2/
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" ?><methodCall><methodName>session.login_with_password</methodName><params><param><value><string>root</string></value></param><param><value><string>123456</string></value></param></params></methodCall>
10
+ headers:
11
+ User-Agent:
12
+ - XMLRPC::Client (Ruby 2.1.2)
13
+ Content-Type:
14
+ - text/xml; charset=utf-8
15
+ Content-Length:
16
+ - '221'
17
+ Connection:
18
+ - keep-alive
19
+ Accept-Encoding:
20
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
+ Accept:
22
+ - "*/*"
23
+ response:
24
+ status:
25
+ code: 200
26
+ message: OK
27
+ headers:
28
+ Content-Length:
29
+ - '251'
30
+ Connection:
31
+ - keep-alive
32
+ Cache-Control:
33
+ - no-cache, no-store
34
+ Content-Type:
35
+ - text/xml
36
+ Access-Control-Allow-Origin:
37
+ - "*"
38
+ Access-Control-Allow-Headers:
39
+ - X-Requested-With
40
+ body:
41
+ encoding: UTF-8
42
+ string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</value></member></struct></value></param></params></methodResponse>"
43
+ http_version:
44
+ recorded_at: Sat, 22 Nov 2014 14:35:17 GMT
45
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,132 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://192.168.10.2/
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" ?><methodCall><methodName>SR.get_record</methodName><params><param><value><string>OpaqueRef:3364a807-6433-eb77-84fd-f3452db26947</string></value></param><param><value><string>OpaqueRef:ca5abf74-8f44-2d71-2786-a7bfd698dea0</string></value></param></params></methodCall>
10
+ headers:
11
+ User-Agent:
12
+ - XMLRPC::Client (Ruby 2.1.2)
13
+ Content-Type:
14
+ - text/xml; charset=utf-8
15
+ Content-Length:
16
+ - '289'
17
+ Connection:
18
+ - keep-alive
19
+ Accept-Encoding:
20
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
+ Accept:
22
+ - "*/*"
23
+ response:
24
+ status:
25
+ code: 200
26
+ message: OK
27
+ headers:
28
+ Content-Length:
29
+ - '3051'
30
+ Connection:
31
+ - keep-alive
32
+ Cache-Control:
33
+ - no-cache, no-store
34
+ Content-Type:
35
+ - text/xml
36
+ Access-Control-Allow-Origin:
37
+ - "*"
38
+ Access-Control-Allow-Headers:
39
+ - X-Requested-With
40
+ body:
41
+ encoding: UTF-8
42
+ string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>01287ed7-79d1-c2e6-3b02-6084f36da05e</value></member><member><name>name_label</name><value>Local
43
+ storage</value></member><member><name>name_description</name><value/></member><member><name>allowed_operations</name><value><array><data><value>vdi_create</value><value>vdi_snapshot</value><value>pbd_create</value><value>pbd_destroy</value><value>plug</value><value>update</value><value>vdi_destroy</value><value>scan</value><value>vdi_clone</value><value>vdi_resize</value><value>unplug</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>VDIs</name><value><array><data><value>OpaqueRef:563246ea-66c5-58b3-01c5-61bcab68f833</value><value>OpaqueRef:2537f35b-a5ad-c829-b94e-af0190f9ee1b</value><value>OpaqueRef:958c4cde-fdff-c07b-2c11-abf57b90b942</value><value>OpaqueRef:ca3b313b-8786-a90f-ecf8-ca8255562579</value><value>OpaqueRef:b0aa6458-d0d3-8c17-a0d2-2b0ab11fcee9</value><value>OpaqueRef:c230f12e-998a-a816-2590-27b5e4cf9dd1</value><value>OpaqueRef:c45c439f-d1b1-fde5-34b5-6fe0c9279795</value><value>OpaqueRef:bd959d5e-9d53-d2bb-6b8b-39c799405dcb</value><value>OpaqueRef:b79da0af-0a7e-9c18-3bce-edb07efc64a4</value><value>OpaqueRef:78da6b8b-1ca5-ffbd-d31a-4001d327c5c6</value><value>OpaqueRef:4c8ea543-8daa-2db9-597c-0648b06887cf</value><value>OpaqueRef:20b30e68-cf79-cccc-1483-5b3b17a36450</value><value>OpaqueRef:03381712-a3d4-d10c-f3a2-6ddae8d15c67</value></data></array></value></member><member><name>PBDs</name><value><array><data><value>OpaqueRef:d1e0681d-0c9f-ef8d-ced1-10676ab3699b</value></data></array></value></member><member><name>virtual_allocation</name><value>83814776832</value></member><member><name>physical_utilisation</name><value>97140080640</value></member><member><name>physical_size</name><value>491463376896</value></member><member><name>type</name><value>lvm</value></member><member><name>content_type</name><value>user</value></member><member><name>shared</name><value><boolean>0</boolean></value></member><member><name>other_config</name><value><struct><member><name>i18n-original-value-name_label</name><value>Local
44
+ storage</value></member><member><name>i18n-key</name><value>local-storage</value></member></struct></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>sm_config</name><value><struct><member><name>allocation</name><value>thick</value></member><member><name>use_vhd</name><value>true</value></member><member><name>devserial</name><value>scsi-SATA_ST500DM002-1BD1_S2APWZ3M</value></member></struct></value></member><member><name>blobs</name><value><struct/></value></member><member><name>local_cache_enabled</name><value><boolean>0</boolean></value></member><member><name>introduced_by</name><value>OpaqueRef:NULL</value></member></struct></value></member></struct></value></param></params></methodResponse>"
45
+ http_version:
46
+ recorded_at: Fri, 19 Sep 2014 15:48:03 GMT
47
+ - request:
48
+ method: post
49
+ uri: http://192.168.10.2/
50
+ body:
51
+ encoding: UTF-8
52
+ string: |
53
+ <?xml version="1.0" ?><methodCall><methodName>VDI.create</methodName><params><param><value><string>OpaqueRef:3364a807-6433-eb77-84fd-f3452db26947</string></value></param><param><value><struct><member><name>name_label</name><value><string>Craziest Vdi Ever</string></value></member><member><name>other_config</name><value><struct/></value></member><member><name>read_only</name><value><boolean>0</boolean></value></member><member><name>sharable</name><value><boolean>0</boolean></value></member><member><name>type</name><value><string>system</string></value></member><member><name>virtual_size</name><value><string>8589934592</string></value></member><member><name>crash_dumps</name><value><array><data/></array></value></member><member><name>snapshots</name><value><array><data/></array></value></member><member><name>SR</name><value><string>OpaqueRef:ca5abf74-8f44-2d71-2786-a7bfd698dea0</string></value></member><member><name>VBDs</name><value><array><data/></array></value></member></struct></value></param></params></methodCall>
54
+ headers:
55
+ User-Agent:
56
+ - XMLRPC::Client (Ruby 2.1.2)
57
+ Content-Type:
58
+ - text/xml; charset=utf-8
59
+ Content-Length:
60
+ - '1033'
61
+ Connection:
62
+ - keep-alive
63
+ Accept-Encoding:
64
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
65
+ Accept:
66
+ - "*/*"
67
+ response:
68
+ status:
69
+ code: 200
70
+ message: OK
71
+ headers:
72
+ Content-Length:
73
+ - '251'
74
+ Connection:
75
+ - keep-alive
76
+ Cache-Control:
77
+ - no-cache, no-store
78
+ Content-Type:
79
+ - text/xml
80
+ Access-Control-Allow-Origin:
81
+ - "*"
82
+ Access-Control-Allow-Headers:
83
+ - X-Requested-With
84
+ body:
85
+ encoding: UTF-8
86
+ string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value>OpaqueRef:d39489af-d7ca-e508-f53e-0338dd148962</value></member></struct></value></param></params></methodResponse>"
87
+ http_version:
88
+ recorded_at: Fri, 19 Sep 2014 15:48:04 GMT
89
+ - request:
90
+ method: post
91
+ uri: http://192.168.10.2/
92
+ body:
93
+ encoding: UTF-8
94
+ string: |
95
+ <?xml version="1.0" ?><methodCall><methodName>VDI.get_record</methodName><params><param><value><string>OpaqueRef:3364a807-6433-eb77-84fd-f3452db26947</string></value></param><param><value><string>OpaqueRef:d39489af-d7ca-e508-f53e-0338dd148962</string></value></param></params></methodCall>
96
+ headers:
97
+ User-Agent:
98
+ - XMLRPC::Client (Ruby 2.1.2)
99
+ Content-Type:
100
+ - text/xml; charset=utf-8
101
+ Content-Length:
102
+ - '290'
103
+ Connection:
104
+ - keep-alive
105
+ Accept-Encoding:
106
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
107
+ Accept:
108
+ - "*/*"
109
+ response:
110
+ status:
111
+ code: 200
112
+ message: OK
113
+ headers:
114
+ Content-Length:
115
+ - '2643'
116
+ Connection:
117
+ - keep-alive
118
+ Cache-Control:
119
+ - no-cache, no-store
120
+ Content-Type:
121
+ - text/xml
122
+ Access-Control-Allow-Origin:
123
+ - "*"
124
+ Access-Control-Allow-Headers:
125
+ - X-Requested-With
126
+ body:
127
+ encoding: UTF-8
128
+ string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>4bd0bac8-194e-433d-8023-d287e9c710f1</value></member><member><name>name_label</name><value>Craziest
129
+ Vdi Ever</value></member><member><name>name_description</name><value/></member><member><name>allowed_operations</name><value><array><data><value>forget</value><value>update</value><value>resize</value><value>destroy</value><value>clone</value><value>copy</value><value>snapshot</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>SR</name><value>OpaqueRef:ca5abf74-8f44-2d71-2786-a7bfd698dea0</value></member><member><name>VBDs</name><value><array><data/></array></value></member><member><name>crash_dumps</name><value><array><data/></array></value></member><member><name>virtual_size</name><value>8589934592</value></member><member><name>physical_utilisation</name><value>8615100416</value></member><member><name>type</name><value>system</value></member><member><name>sharable</name><value><boolean>0</boolean></value></member><member><name>read_only</name><value><boolean>0</boolean></value></member><member><name>other_config</name><value><struct/></value></member><member><name>storage_lock</name><value><boolean>0</boolean></value></member><member><name>location</name><value>4bd0bac8-194e-433d-8023-d287e9c710f1</value></member><member><name>managed</name><value><boolean>1</boolean></value></member><member><name>missing</name><value><boolean>0</boolean></value></member><member><name>parent</name><value>OpaqueRef:NULL</value></member><member><name>xenstore_data</name><value><struct/></value></member><member><name>sm_config</name><value><struct><member><name>vdi_type</name><value>vhd</value></member></struct></value></member><member><name>is_a_snapshot</name><value><boolean>0</boolean></value></member><member><name>snapshot_of</name><value>OpaqueRef:NULL</value></member><member><name>snapshots</name><value><array><data/></array></value></member><member><name>snapshot_time</name><value><dateTime.iso8601>19700101T00:00:00Z</dateTime.iso8601></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>allow_caching</name><value><boolean>0</boolean></value></member><member><name>on_boot</name><value>persist</value></member><member><name>metadata_of_pool</name><value/></member><member><name>metadata_latest</name><value><boolean>0</boolean></value></member></struct></value></member></struct></value></param></params></methodResponse>"
130
+ http_version:
131
+ recorded_at: Fri, 19 Sep 2014 15:48:04 GMT
132
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,173 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://192.168.10.2/
6
+ body:
7
+ encoding: UTF-8
8
+ string: |
9
+ <?xml version="1.0" ?><methodCall><methodName>VM.get_record</methodName><params><param><value><string>OpaqueRef:edd1d122-a82b-14cd-defc-c14c675e06c4</string></value></param><param><value><string>OpaqueRef:64e52d9a-ad6e-504c-4fb4-0b52c7ddc11e</string></value></param></params></methodCall>
10
+ headers:
11
+ User-Agent:
12
+ - XMLRPC::Client (Ruby 2.1.2)
13
+ Content-Type:
14
+ - text/xml; charset=utf-8
15
+ Content-Length:
16
+ - '289'
17
+ Connection:
18
+ - keep-alive
19
+ Accept-Encoding:
20
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
+ Accept:
22
+ - "*/*"
23
+ response:
24
+ status:
25
+ code: 200
26
+ message: OK
27
+ headers:
28
+ Content-Length:
29
+ - '5906'
30
+ Connection:
31
+ - keep-alive
32
+ Cache-Control:
33
+ - no-cache, no-store
34
+ Content-Type:
35
+ - text/xml
36
+ Access-Control-Allow-Origin:
37
+ - "*"
38
+ Access-Control-Allow-Headers:
39
+ - X-Requested-With
40
+ body:
41
+ encoding: UTF-8
42
+ string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>7977bfa8-f8b3-d59d-03fa-91b38ae97fe9</value></member><member><name>allowed_operations</name><value><array><data><value>changing_dynamic_range</value><value>changing_shadow_memory</value><value>changing_static_range</value><value>provision</value><value>destroy</value><value>export</value><value>clone</value><value>copy</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>power_state</name><value>Halted</value></member><member><name>name_label</name><value>CrazyName</value></member><member><name>name_description</name><value/></member><member><name>user_version</name><value>0</value></member><member><name>is_a_template</name><value><boolean>1</boolean></value></member><member><name>suspend_VDI</name><value>OpaqueRef:NULL</value></member><member><name>resident_on</name><value>OpaqueRef:NULL</value></member><member><name>affinity</name><value>OpaqueRef:78c23dd4-4470-ed14-47e1-9a0e21a32814</value></member><member><name>memory_overhead</name><value>6291456</value></member><member><name>memory_target</name><value>0</value></member><member><name>memory_static_max</name><value>536870912</value></member><member><name>memory_dynamic_max</name><value>536870912</value></member><member><name>memory_dynamic_min</name><value>536870912</value></member><member><name>memory_static_min</name><value>536870912</value></member><member><name>VCPUs_params</name><value><struct/></value></member><member><name>VCPUs_max</name><value>1</value></member><member><name>VCPUs_at_startup</name><value>1</value></member><member><name>actions_after_shutdown</name><value>destroy</value></member><member><name>actions_after_reboot</name><value>restart</value></member><member><name>actions_after_crash</name><value>restart</value></member><member><name>consoles</name><value><array><data/></array></value></member><member><name>VIFs</name><value><array><data/></array></value></member><member><name>VBDs</name><value><array><data/></array></value></member><member><name>crash_dumps</name><value><array><data/></array></value></member><member><name>VTPMs</name><value><array><data/></array></value></member><member><name>PV_bootloader</name><value>pygrub</value></member><member><name>PV_kernel</name><value/></member><member><name>PV_ramdisk</name><value/></member><member><name>PV_args</name><value>--
43
+ quiet console=hvc0</value></member><member><name>PV_bootloader_args</name><value/></member><member><name>PV_legacy_args</name><value/></member><member><name>HVM_boot_policy</name><value/></member><member><name>HVM_boot_params</name><value><struct/></value></member><member><name>HVM_shadow_multiplier</name><value><double>1</double></value></member><member><name>platform</name><value><struct><member><name>nx</name><value>true</value></member><member><name>acpi</name><value>true</value></member><member><name>apic</name><value>true</value></member><member><name>pae</name><value>true</value></member><member><name>viridian</name><value>true</value></member></struct></value></member><member><name>PCI_bus</name><value/></member><member><name>other_config</name><value><struct><member><name>mac_seed</name><value>317084f4-30e1-4e8d-93f4-3827fbeba21b</value></member></struct></value></member><member><name>domid</name><value>-1</value></member><member><name>domarch</name><value/></member><member><name>last_boot_CPU_flags</name><value><struct/></value></member><member><name>is_control_domain</name><value><boolean>0</boolean></value></member><member><name>metrics</name><value>OpaqueRef:e428aabb-80fb-b90e-170a-4624a741927e</value></member><member><name>guest_metrics</name><value>OpaqueRef:NULL</value></member><member><name>last_booted_record</name><value/></member><member><name>recommendations</name><value/></member><member><name>xenstore_data</name><value><struct/></value></member><member><name>ha_always_run</name><value><boolean>0</boolean></value></member><member><name>ha_restart_priority</name><value/></member><member><name>is_a_snapshot</name><value><boolean>0</boolean></value></member><member><name>snapshot_of</name><value>OpaqueRef:NULL</value></member><member><name>snapshots</name><value><array><data/></array></value></member><member><name>snapshot_time</name><value><dateTime.iso8601>19700101T00:00:00Z</dateTime.iso8601></value></member><member><name>transportable_snapshot_id</name><value/></member><member><name>blobs</name><value><struct/></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>blocked_operations</name><value><struct/></value></member><member><name>snapshot_info</name><value><struct/></value></member><member><name>snapshot_metadata</name><value/></member><member><name>parent</name><value>OpaqueRef:NULL</value></member><member><name>children</name><value><array><data/></array></value></member><member><name>bios_strings</name><value><struct/></value></member><member><name>protection_policy</name><value>OpaqueRef:NULL</value></member><member><name>is_snapshot_from_vmpp</name><value><boolean>0</boolean></value></member><member><name>appliance</name><value>OpaqueRef:NULL</value></member><member><name>start_delay</name><value>0</value></member><member><name>shutdown_delay</name><value>0</value></member><member><name>order</name><value>0</value></member><member><name>VGPUs</name><value><array><data/></array></value></member><member><name>attached_PCIs</name><value><array><data/></array></value></member><member><name>suspend_SR</name><value>OpaqueRef:NULL</value></member><member><name>version</name><value>0</value></member><member><name>generation_id</name><value>0:0</value></member></struct></value></member></struct></value></param></params></methodResponse>"
44
+ http_version:
45
+ recorded_at: Sat, 22 Nov 2014 14:54:54 GMT
46
+ - request:
47
+ method: post
48
+ uri: http://192.168.10.2/
49
+ body:
50
+ encoding: UTF-8
51
+ string: |
52
+ <?xml version="1.0" ?><methodCall><methodName>network.get_record</methodName><params><param><value><string>OpaqueRef:edd1d122-a82b-14cd-defc-c14c675e06c4</string></value></param><param><value><string>OpaqueRef:5c4e6f0b-8492-0029-5257-54a682771033</string></value></param></params></methodCall>
53
+ headers:
54
+ User-Agent:
55
+ - XMLRPC::Client (Ruby 2.1.2)
56
+ Content-Type:
57
+ - text/xml; charset=utf-8
58
+ Content-Length:
59
+ - '294'
60
+ Connection:
61
+ - keep-alive
62
+ Accept-Encoding:
63
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
64
+ Accept:
65
+ - "*/*"
66
+ response:
67
+ status:
68
+ code: 200
69
+ message: OK
70
+ headers:
71
+ Content-Length:
72
+ - '1198'
73
+ Connection:
74
+ - keep-alive
75
+ Cache-Control:
76
+ - no-cache, no-store
77
+ Content-Type:
78
+ - text/xml
79
+ Access-Control-Allow-Origin:
80
+ - "*"
81
+ Access-Control-Allow-Headers:
82
+ - X-Requested-With
83
+ body:
84
+ encoding: UTF-8
85
+ string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>e2e7502f-9a60-ebdd-9508-4976397ddfc0</value></member><member><name>name_label</name><value>Pool-wide
86
+ network associated with eth0</value></member><member><name>name_description</name><value/></member><member><name>allowed_operations</name><value><array><data/></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>VIFs</name><value><array><data/></array></value></member><member><name>PIFs</name><value><array><data><value>OpaqueRef:bad36a7a-7a0b-a548-6f02-7fcf8d5809c7</value></data></array></value></member><member><name>MTU</name><value>1500</value></member><member><name>other_config</name><value><struct/></value></member><member><name>bridge</name><value>xenbr0</value></member><member><name>blobs</name><value><struct/></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>default_locking_mode</name><value>unlocked</value></member></struct></value></member></struct></value></param></params></methodResponse>"
87
+ http_version:
88
+ recorded_at: Sat, 22 Nov 2014 14:54:54 GMT
89
+ - request:
90
+ method: post
91
+ uri: http://192.168.10.2/
92
+ body:
93
+ encoding: UTF-8
94
+ string: |
95
+ <?xml version="1.0" ?><methodCall><methodName>VIF.create</methodName><params><param><value><string>OpaqueRef:edd1d122-a82b-14cd-defc-c14c675e06c4</string></value></param><param><value><struct><member><name>device</name><value><string>0</string></value></member><member><name>MAC</name><value><string></string></value></member><member><name>MAC_autogenerated</name><value><string>True</string></value></member><member><name>MTU</name><value><string>0</string></value></member><member><name>other_config</name><value><struct/></value></member><member><name>qos_algorithm_params</name><value><struct/></value></member><member><name>qos_algorithm_type</name><value><string>ratelimit</string></value></member><member><name>network</name><value><string>OpaqueRef:5c4e6f0b-8492-0029-5257-54a682771033</string></value></member><member><name>VM</name><value><string>OpaqueRef:64e52d9a-ad6e-504c-4fb4-0b52c7ddc11e</string></value></member></struct></value></param></params></methodCall>
96
+ headers:
97
+ User-Agent:
98
+ - XMLRPC::Client (Ruby 2.1.2)
99
+ Content-Type:
100
+ - text/xml; charset=utf-8
101
+ Content-Length:
102
+ - '977'
103
+ Connection:
104
+ - keep-alive
105
+ Accept-Encoding:
106
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
107
+ Accept:
108
+ - "*/*"
109
+ response:
110
+ status:
111
+ code: 200
112
+ message: OK
113
+ headers:
114
+ Content-Length:
115
+ - '251'
116
+ Connection:
117
+ - keep-alive
118
+ Cache-Control:
119
+ - no-cache, no-store
120
+ Content-Type:
121
+ - text/xml
122
+ Access-Control-Allow-Origin:
123
+ - "*"
124
+ Access-Control-Allow-Headers:
125
+ - X-Requested-With
126
+ body:
127
+ encoding: UTF-8
128
+ string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value>OpaqueRef:0182a5fa-ed26-b766-09e5-bf50f33cb1b5</value></member></struct></value></param></params></methodResponse>"
129
+ http_version:
130
+ recorded_at: Sat, 22 Nov 2014 14:54:54 GMT
131
+ - request:
132
+ method: post
133
+ uri: http://192.168.10.2/
134
+ body:
135
+ encoding: UTF-8
136
+ string: |
137
+ <?xml version="1.0" ?><methodCall><methodName>VIF.get_record</methodName><params><param><value><string>OpaqueRef:edd1d122-a82b-14cd-defc-c14c675e06c4</string></value></param><param><value><string>OpaqueRef:0182a5fa-ed26-b766-09e5-bf50f33cb1b5</string></value></param></params></methodCall>
138
+ headers:
139
+ User-Agent:
140
+ - XMLRPC::Client (Ruby 2.1.2)
141
+ Content-Type:
142
+ - text/xml; charset=utf-8
143
+ Content-Length:
144
+ - '290'
145
+ Connection:
146
+ - keep-alive
147
+ Accept-Encoding:
148
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
149
+ Accept:
150
+ - "*/*"
151
+ response:
152
+ status:
153
+ code: 200
154
+ message: OK
155
+ headers:
156
+ Content-Length:
157
+ - '1824'
158
+ Connection:
159
+ - keep-alive
160
+ Cache-Control:
161
+ - no-cache, no-store
162
+ Content-Type:
163
+ - text/xml
164
+ Access-Control-Allow-Origin:
165
+ - "*"
166
+ Access-Control-Allow-Headers:
167
+ - X-Requested-With
168
+ body:
169
+ encoding: UTF-8
170
+ string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>16677ac3-8a4c-65b6-c7f4-9c3a0e5413dc</value></member><member><name>allowed_operations</name><value><array><data><value>attach</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>device</name><value>0</value></member><member><name>network</name><value>OpaqueRef:5c4e6f0b-8492-0029-5257-54a682771033</value></member><member><name>VM</name><value>OpaqueRef:64e52d9a-ad6e-504c-4fb4-0b52c7ddc11e</value></member><member><name>MAC</name><value>1e:21:7d:21:be:e1</value></member><member><name>MTU</name><value>0</value></member><member><name>other_config</name><value><struct/></value></member><member><name>currently_attached</name><value><boolean>0</boolean></value></member><member><name>status_code</name><value>0</value></member><member><name>status_detail</name><value/></member><member><name>runtime_properties</name><value><struct/></value></member><member><name>qos_algorithm_type</name><value>ratelimit</value></member><member><name>qos_algorithm_params</name><value><struct/></value></member><member><name>qos_supported_algorithms</name><value><array><data/></array></value></member><member><name>metrics</name><value>OpaqueRef:66af91cf-0286-fb83-4225-c3875b2a3038</value></member><member><name>MAC_autogenerated</name><value><boolean>1</boolean></value></member><member><name>locking_mode</name><value>network_default</value></member><member><name>ipv4_allowed</name><value><array><data/></array></value></member><member><name>ipv6_allowed</name><value><array><data/></array></value></member></struct></value></member></struct></value></param></params></methodResponse>"
171
+ http_version:
172
+ recorded_at: Sat, 22 Nov 2014 14:54:54 GMT
173
+ recorded_with: VCR 2.9.3