fog-xenserver 0.3.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (837) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-gemset +1 -1
  3. data/.ruby-version +1 -1
  4. data/.travis.yml +6 -23
  5. data/fog-xenserver.gemspec +4 -8
  6. data/lib/fog/bin/xenserver.rb +1 -1
  7. data/lib/fog/xenserver.rb +7 -14
  8. data/lib/fog/xenserver/compute.rb +368 -1
  9. data/lib/fog/xenserver/compute/mock.rb +31 -0
  10. data/lib/fog/xenserver/compute/models.rb +84 -0
  11. data/lib/fog/xenserver/compute/models/blob.rb +25 -0
  12. data/lib/fog/xenserver/compute/models/blobs.rb +11 -0
  13. data/lib/fog/xenserver/compute/models/bond.rb +27 -0
  14. data/lib/fog/xenserver/compute/models/bonds.rb +11 -0
  15. data/lib/fog/xenserver/compute/models/class_methods.rb +24 -0
  16. data/lib/fog/xenserver/compute/models/collection.rb +45 -0
  17. data/lib/fog/xenserver/compute/models/console.rb +24 -0
  18. data/lib/fog/xenserver/compute/models/consoles.rb +11 -0
  19. data/lib/fog/xenserver/compute/models/crash_dump.rb +23 -0
  20. data/lib/fog/xenserver/compute/models/crash_dumps.rb +11 -0
  21. data/lib/fog/xenserver/compute/models/dr_task.rb +21 -0
  22. data/lib/fog/xenserver/compute/models/dr_tasks.rb +11 -0
  23. data/lib/fog/xenserver/compute/models/event.rb +24 -0
  24. data/lib/fog/xenserver/compute/models/events.rb +11 -0
  25. data/lib/fog/xenserver/compute/models/gpu_group.rb +26 -0
  26. data/lib/fog/xenserver/compute/models/gpu_groups.rb +11 -0
  27. data/lib/fog/xenserver/compute/models/guest_metrics.rb +29 -0
  28. data/lib/fog/xenserver/compute/models/guests_metrics.rb +11 -0
  29. data/lib/fog/xenserver/compute/models/host.rb +92 -0
  30. data/lib/fog/xenserver/compute/models/host_cpu.rb +32 -0
  31. data/lib/fog/xenserver/compute/models/host_cpus.rb +11 -0
  32. data/lib/fog/xenserver/compute/models/host_crash_dump.rb +24 -0
  33. data/lib/fog/xenserver/compute/models/host_crash_dumps.rb +11 -0
  34. data/lib/fog/xenserver/compute/models/host_metrics.rb +24 -0
  35. data/lib/fog/xenserver/compute/models/host_patch.rb +29 -0
  36. data/lib/fog/xenserver/compute/models/host_patchs.rb +11 -0
  37. data/lib/fog/xenserver/compute/models/hosts.rb +11 -0
  38. data/lib/fog/xenserver/compute/models/hosts_metrics.rb +11 -0
  39. data/lib/fog/xenserver/compute/models/instance_methods.rb +54 -0
  40. data/lib/fog/xenserver/compute/models/model.rb +12 -0
  41. data/lib/fog/xenserver/compute/models/network.rb +34 -0
  42. data/lib/fog/xenserver/compute/models/networks.rb +11 -0
  43. data/lib/fog/xenserver/compute/models/pbd.rb +27 -0
  44. data/lib/fog/xenserver/compute/models/pbds.rb +11 -0
  45. data/lib/fog/xenserver/compute/models/pci.rb +26 -0
  46. data/lib/fog/xenserver/compute/models/pcis.rb +11 -0
  47. data/lib/fog/xenserver/compute/models/pgpu.rb +24 -0
  48. data/lib/fog/xenserver/compute/models/pgpus.rb +11 -0
  49. data/lib/fog/xenserver/compute/models/pif.rb +60 -0
  50. data/lib/fog/xenserver/compute/models/pif_metrics.rb +31 -0
  51. data/lib/fog/xenserver/compute/models/pifs.rb +11 -0
  52. data/lib/fog/xenserver/compute/models/pifs_metrics.rb +11 -0
  53. data/lib/fog/xenserver/compute/models/pool.rb +65 -0
  54. data/lib/fog/xenserver/compute/models/pool_patch.rb +28 -0
  55. data/lib/fog/xenserver/compute/models/pool_patchs.rb +11 -0
  56. data/lib/fog/xenserver/compute/models/pools.rb +11 -0
  57. data/lib/fog/xenserver/compute/models/role.rb +23 -0
  58. data/lib/fog/xenserver/compute/models/roles.rb +11 -0
  59. data/lib/fog/xenserver/compute/models/server.rb +171 -0
  60. data/lib/fog/xenserver/compute/models/server_appliance.rb +25 -0
  61. data/lib/fog/xenserver/compute/models/server_appliances.rb +11 -0
  62. data/lib/fog/xenserver/compute/models/server_metrics.rb +30 -0
  63. data/lib/fog/xenserver/compute/models/servers.rb +23 -0
  64. data/lib/fog/xenserver/compute/models/servers_metrics.rb +11 -0
  65. data/lib/fog/xenserver/compute/models/storage_manager.rb +31 -0
  66. data/lib/fog/xenserver/compute/models/storage_managers.rb +11 -0
  67. data/lib/fog/xenserver/compute/models/storage_repositories.rb +11 -0
  68. data/lib/fog/xenserver/compute/models/storage_repository.rb +50 -0
  69. data/lib/fog/xenserver/compute/models/tunnel.rb +24 -0
  70. data/lib/fog/xenserver/compute/models/tunnels.rb +11 -0
  71. data/lib/fog/xenserver/compute/models/vbd.rb +65 -0
  72. data/lib/fog/xenserver/compute/models/vbd_metrics.rb +23 -0
  73. data/lib/fog/xenserver/compute/models/vbds.rb +11 -0
  74. data/lib/fog/xenserver/compute/models/vbds_metrics.rb +11 -0
  75. data/lib/fog/xenserver/compute/models/vdi.rb +63 -0
  76. data/lib/fog/xenserver/compute/models/vdis.rb +11 -0
  77. data/lib/fog/xenserver/compute/models/vif.rb +50 -0
  78. data/lib/fog/xenserver/compute/models/vif_metrics.rb +23 -0
  79. data/lib/fog/xenserver/compute/models/vifs.rb +11 -0
  80. data/lib/fog/xenserver/compute/models/vifs_metrics.rb +11 -0
  81. data/lib/fog/xenserver/compute/models/vlan.rb +26 -0
  82. data/lib/fog/xenserver/compute/models/vlans.rb +11 -0
  83. data/lib/fog/xenserver/compute/models/vmpp.rb +39 -0
  84. data/lib/fog/xenserver/compute/models/vmpps.rb +11 -0
  85. data/lib/fog/xenserver/compute/models/vtpm.rb +22 -0
  86. data/lib/fog/xenserver/compute/models/vtpms.rb +11 -0
  87. data/lib/fog/xenserver/compute/real.rb +60 -0
  88. data/lib/fog/xenserver/compute/requests/add_ipv4_allowed_vif.rb +11 -0
  89. data/lib/fog/xenserver/compute/requests/add_ipv6_allowed_vif.rb +11 -0
  90. data/lib/fog/xenserver/compute/requests/add_to_vcpus_params_live_server.rb +13 -0
  91. data/lib/fog/xenserver/compute/requests/apply_edition_host.rb +11 -0
  92. data/lib/fog/xenserver/compute/requests/apply_edition_pool.rb +11 -0
  93. data/lib/fog/xenserver/compute/requests/assert_agile_server.rb +13 -0
  94. data/lib/fog/xenserver/compute/requests/assert_attachable_vbd.rb +11 -0
  95. data/lib/fog/xenserver/compute/requests/assert_can_be_recovered_server.rb +13 -0
  96. data/lib/fog/xenserver/compute/requests/assert_can_boot_here_server.rb +13 -0
  97. data/lib/fog/xenserver/compute/requests/assert_can_evacuate_host.rb +11 -0
  98. data/lib/fog/xenserver/compute/requests/assert_can_host_ha_statefile_sr.rb +11 -0
  99. data/lib/fog/xenserver/compute/requests/assert_can_migrate_server.rb +13 -0
  100. data/lib/fog/xenserver/compute/requests/assert_operation_valid_server.rb +13 -0
  101. data/lib/fog/xenserver/compute/requests/assert_supports_database_replication_sr.rb +11 -0
  102. data/lib/fog/xenserver/compute/requests/backup_rrds_host.rb +11 -0
  103. data/lib/fog/xenserver/compute/requests/bugreport_upload_host.rb +11 -0
  104. data/lib/fog/xenserver/compute/requests/builtin_templates.rb +15 -0
  105. data/lib/fog/xenserver/compute/requests/call_plugin_host.rb +11 -0
  106. data/lib/fog/xenserver/compute/requests/certificate_install_pool.rb +11 -0
  107. data/lib/fog/xenserver/compute/requests/certificate_list_pool.rb +11 -0
  108. data/lib/fog/xenserver/compute/requests/certificate_sync_pool.rb +11 -0
  109. data/lib/fog/xenserver/compute/requests/certificate_uninstall_pool.rb +11 -0
  110. data/lib/fog/xenserver/compute/requests/checkpoint_server.rb +13 -0
  111. data/lib/fog/xenserver/compute/requests/clean_reboot_server.rb +13 -0
  112. data/lib/fog/xenserver/compute/requests/clean_shutdown_server.rb +13 -0
  113. data/lib/fog/xenserver/compute/requests/clone_server.rb +13 -0
  114. data/lib/fog/xenserver/compute/requests/clone_vdi.rb +11 -0
  115. data/lib/fog/xenserver/compute/requests/compute_free_memory_host.rb +11 -0
  116. data/lib/fog/xenserver/compute/requests/compute_memory_overhead_host.rb +11 -0
  117. data/lib/fog/xenserver/compute/requests/compute_memory_overhead_server.rb +13 -0
  118. data/lib/fog/xenserver/compute/requests/copy_bios_strings_server.rb +13 -0
  119. data/lib/fog/xenserver/compute/requests/copy_server.rb +13 -0
  120. data/lib/fog/xenserver/compute/requests/copy_vdi.rb +11 -0
  121. data/lib/fog/xenserver/compute/requests/create_network.rb +11 -0
  122. data/lib/fog/xenserver/compute/requests/create_new_blob_host.rb +11 -0
  123. data/lib/fog/xenserver/compute/requests/create_new_blob_network.rb +11 -0
  124. data/lib/fog/xenserver/compute/requests/create_new_blob_pool.rb +11 -0
  125. data/lib/fog/xenserver/compute/requests/create_new_blob_server.rb +13 -0
  126. data/lib/fog/xenserver/compute/requests/create_new_blob_sr.rb +11 -0
  127. data/lib/fog/xenserver/compute/requests/create_pbd.rb +11 -0
  128. data/lib/fog/xenserver/compute/requests/create_server.rb +13 -0
  129. data/lib/fog/xenserver/compute/requests/create_sr.rb +14 -0
  130. data/lib/fog/xenserver/compute/requests/create_vbd.rb +11 -0
  131. data/lib/fog/xenserver/compute/requests/create_vdi.rb +11 -0
  132. data/lib/fog/xenserver/compute/requests/create_vif.rb +11 -0
  133. data/lib/fog/xenserver/compute/requests/create_vlan.rb +12 -0
  134. data/lib/fog/xenserver/compute/requests/create_vlan_from_pif_pool.rb +11 -0
  135. data/lib/fog/xenserver/compute/requests/create_vlan_pool.rb +11 -0
  136. data/lib/fog/xenserver/compute/requests/crl_install_pool.rb +11 -0
  137. data/lib/fog/xenserver/compute/requests/crl_list_pool.rb +11 -0
  138. data/lib/fog/xenserver/compute/requests/crl_uninstall_pool.rb +11 -0
  139. data/lib/fog/xenserver/compute/requests/custom_templates.rb +15 -0
  140. data/lib/fog/xenserver/compute/requests/db_forget_pif.rb +11 -0
  141. data/lib/fog/xenserver/compute/requests/db_forget_vdi.rb +11 -0
  142. data/lib/fog/xenserver/compute/requests/db_introduce_pif.rb +11 -0
  143. data/lib/fog/xenserver/compute/requests/db_introduce_vdi.rb +11 -0
  144. data/lib/fog/xenserver/compute/requests/declare_dead_host.rb +11 -0
  145. data/lib/fog/xenserver/compute/requests/designate_new_master_pool.rb +11 -0
  146. data/lib/fog/xenserver/compute/requests/destroy_record.rb +11 -0
  147. data/lib/fog/xenserver/compute/requests/detect_nonhomogeneous_external_auth_pool.rb +11 -0
  148. data/lib/fog/xenserver/compute/requests/disable_database_replication_sr.rb +11 -0
  149. data/lib/fog/xenserver/compute/requests/disable_external_auth_host.rb +11 -0
  150. data/lib/fog/xenserver/compute/requests/disable_external_auth_pool.rb +11 -0
  151. data/lib/fog/xenserver/compute/requests/disable_ha_pool.rb +11 -0
  152. data/lib/fog/xenserver/compute/requests/disable_host.rb +11 -0
  153. data/lib/fog/xenserver/compute/requests/disable_local_storage_caching_host.rb +11 -0
  154. data/lib/fog/xenserver/compute/requests/disable_local_storage_caching_pool.rb +11 -0
  155. data/lib/fog/xenserver/compute/requests/disable_redo_log_pool.rb +11 -0
  156. data/lib/fog/xenserver/compute/requests/dmesg_clear_host.rb +11 -0
  157. data/lib/fog/xenserver/compute/requests/dmesg_host.rb +11 -0
  158. data/lib/fog/xenserver/compute/requests/eject_pool.rb +11 -0
  159. data/lib/fog/xenserver/compute/requests/eject_vbd.rb +11 -0
  160. data/lib/fog/xenserver/compute/requests/emergency_ha_disable_host.rb +11 -0
  161. data/lib/fog/xenserver/compute/requests/emergency_reset_master_pool.rb +11 -0
  162. data/lib/fog/xenserver/compute/requests/emergency_transition_to_master_pool.rb +11 -0
  163. data/lib/fog/xenserver/compute/requests/enable_database_replication_sr.rb +11 -0
  164. data/lib/fog/xenserver/compute/requests/enable_external_auth_host.rb +11 -0
  165. data/lib/fog/xenserver/compute/requests/enable_external_auth_pool.rb +11 -0
  166. data/lib/fog/xenserver/compute/requests/enable_ha_pool.rb +11 -0
  167. data/lib/fog/xenserver/compute/requests/enable_host.rb +11 -0
  168. data/lib/fog/xenserver/compute/requests/enable_local_storage_caching_host.rb +11 -0
  169. data/lib/fog/xenserver/compute/requests/enable_local_storage_caching_pool.rb +11 -0
  170. data/lib/fog/xenserver/compute/requests/enable_redo_log_pool.rb +11 -0
  171. data/lib/fog/xenserver/compute/requests/evacuate_host.rb +11 -0
  172. data/lib/fog/xenserver/compute/requests/forget_data_source_archives_host.rb +11 -0
  173. data/lib/fog/xenserver/compute/requests/forget_data_source_archives_server.rb +13 -0
  174. data/lib/fog/xenserver/compute/requests/forget_pif.rb +11 -0
  175. data/lib/fog/xenserver/compute/requests/forget_sr.rb +11 -0
  176. data/lib/fog/xenserver/compute/requests/forget_vdi.rb +11 -0
  177. data/lib/fog/xenserver/compute/requests/from_event.rb +11 -0
  178. data/lib/fog/xenserver/compute/requests/get_allowed_vbd_devices_server.rb +13 -0
  179. data/lib/fog/xenserver/compute/requests/get_allowed_vif_devices_server.rb +13 -0
  180. data/lib/fog/xenserver/compute/requests/get_boot_record_server.rb +13 -0
  181. data/lib/fog/xenserver/compute/requests/get_current_id_event.rb +11 -0
  182. data/lib/fog/xenserver/compute/requests/get_data_sources_host.rb +11 -0
  183. data/lib/fog/xenserver/compute/requests/get_data_sources_server.rb +13 -0
  184. data/lib/fog/xenserver/compute/requests/get_license_state_pool.rb +11 -0
  185. data/lib/fog/xenserver/compute/requests/get_log_host.rb +11 -0
  186. data/lib/fog/xenserver/compute/requests/get_management_interface_host.rb +11 -0
  187. data/lib/fog/xenserver/compute/requests/get_possible_hosts_server.rb +13 -0
  188. data/lib/fog/xenserver/compute/requests/get_record.rb +23 -0
  189. data/lib/fog/xenserver/compute/requests/get_records.rb +13 -0
  190. data/lib/fog/xenserver/compute/requests/get_server_certificate_host.rb +11 -0
  191. data/lib/fog/xenserver/compute/requests/get_server_localtime_host.rb +11 -0
  192. data/lib/fog/xenserver/compute/requests/get_servertime_host.rb +11 -0
  193. data/lib/fog/xenserver/compute/requests/get_supported_types_sr.rb +11 -0
  194. data/lib/fog/xenserver/compute/requests/get_system_status_capabilities_host.rb +11 -0
  195. data/lib/fog/xenserver/compute/requests/get_vms_which_prevent_evacuation_host.rb +11 -0
  196. data/lib/fog/xenserver/compute/requests/ha_compute_hypothetical_max_host_failures_to_tolerate_pool.rb +11 -0
  197. data/lib/fog/xenserver/compute/requests/ha_compute_max_host_failures_to_tolerate_pool.rb +11 -0
  198. data/lib/fog/xenserver/compute/requests/ha_compute_vm_failover_plan_pool.rb +11 -0
  199. data/lib/fog/xenserver/compute/requests/ha_failover_plan_exists_pool.rb +11 -0
  200. data/lib/fog/xenserver/compute/requests/ha_prevent_restarts_for_pool.rb +11 -0
  201. data/lib/fog/xenserver/compute/requests/hard_reboot_server.rb +13 -0
  202. data/lib/fog/xenserver/compute/requests/hard_shutdown_server.rb +13 -0
  203. data/lib/fog/xenserver/compute/requests/import_convert_server.rb +13 -0
  204. data/lib/fog/xenserver/compute/requests/inject_event.rb +11 -0
  205. data/lib/fog/xenserver/compute/requests/insert_vbd.rb +11 -0
  206. data/lib/fog/xenserver/compute/requests/introduce_pif.rb +11 -0
  207. data/lib/fog/xenserver/compute/requests/introduce_sr.rb +11 -0
  208. data/lib/fog/xenserver/compute/requests/introduce_vdi.rb +11 -0
  209. data/lib/fog/xenserver/compute/requests/join_force_pool.rb +11 -0
  210. data/lib/fog/xenserver/compute/requests/join_pool.rb +11 -0
  211. data/lib/fog/xenserver/compute/requests/list_methods_host.rb +11 -0
  212. data/lib/fog/xenserver/compute/requests/local_management_reconfigure_host.rb +11 -0
  213. data/lib/fog/xenserver/compute/requests/management_disable_host.rb +11 -0
  214. data/lib/fog/xenserver/compute/requests/management_reconfigure_host.rb +11 -0
  215. data/lib/fog/xenserver/compute/requests/maximise_memory_server.rb +13 -0
  216. data/lib/fog/xenserver/compute/requests/migrate_receive_host.rb +11 -0
  217. data/lib/fog/xenserver/compute/requests/migrate_send_server.rb +13 -0
  218. data/lib/fog/xenserver/compute/requests/next_event.rb +11 -0
  219. data/lib/fog/xenserver/compute/requests/open_database_vdi.rb +11 -0
  220. data/lib/fog/xenserver/compute/requests/pause_server.rb +13 -0
  221. data/lib/fog/xenserver/compute/requests/plug_pbd.rb +11 -0
  222. data/lib/fog/xenserver/compute/requests/plug_pif.rb +11 -0
  223. data/lib/fog/xenserver/compute/requests/plug_vbd.rb +11 -0
  224. data/lib/fog/xenserver/compute/requests/plug_vif.rb +11 -0
  225. data/lib/fog/xenserver/compute/requests/pool_migrate_server.rb +13 -0
  226. data/lib/fog/xenserver/compute/requests/pool_migrate_vdi.rb +11 -0
  227. data/lib/fog/xenserver/compute/requests/power_on_host.rb +11 -0
  228. data/lib/fog/xenserver/compute/requests/power_state_reset_server.rb +13 -0
  229. data/lib/fog/xenserver/compute/requests/probe_sr.rb +11 -0
  230. data/lib/fog/xenserver/compute/requests/provision_server.rb +13 -0
  231. data/lib/fog/xenserver/compute/requests/query_data_source_host.rb +11 -0
  232. data/lib/fog/xenserver/compute/requests/query_data_source_server.rb +13 -0
  233. data/lib/fog/xenserver/compute/requests/query_services_server.rb +13 -0
  234. data/lib/fog/xenserver/compute/requests/read_database_pool_uuid_vdi.rb +11 -0
  235. data/lib/fog/xenserver/compute/requests/reboot_host.rb +11 -0
  236. data/lib/fog/xenserver/compute/requests/reboot_server.rb +25 -0
  237. data/lib/fog/xenserver/compute/requests/reconfigure_ip_pif.rb +11 -0
  238. data/lib/fog/xenserver/compute/requests/reconfigure_ipv6_pif.rb +11 -0
  239. data/lib/fog/xenserver/compute/requests/record_data_source_host.rb +11 -0
  240. data/lib/fog/xenserver/compute/requests/record_data_source_server.rb +13 -0
  241. data/lib/fog/xenserver/compute/requests/recover_server.rb +13 -0
  242. data/lib/fog/xenserver/compute/requests/recover_slaves_pool.rb +11 -0
  243. data/lib/fog/xenserver/compute/requests/refresh_pack_info_host.rb +11 -0
  244. data/lib/fog/xenserver/compute/requests/register_event.rb +11 -0
  245. data/lib/fog/xenserver/compute/requests/remove_ipv4_allowed_vif.rb +11 -0
  246. data/lib/fog/xenserver/compute/requests/remove_ipv6_allowed_vif.rb +11 -0
  247. data/lib/fog/xenserver/compute/requests/reset_cpu_features_host.rb +11 -0
  248. data/lib/fog/xenserver/compute/requests/resize_online_vdi.rb +11 -0
  249. data/lib/fog/xenserver/compute/requests/resize_vdi.rb +11 -0
  250. data/lib/fog/xenserver/compute/requests/restart_agent_host.rb +11 -0
  251. data/lib/fog/xenserver/compute/requests/resume_on_server.rb +13 -0
  252. data/lib/fog/xenserver/compute/requests/resume_server.rb +13 -0
  253. data/lib/fog/xenserver/compute/requests/revert_server.rb +13 -0
  254. data/lib/fog/xenserver/compute/requests/revert_to_server.rb +13 -0
  255. data/lib/fog/xenserver/compute/requests/scan_pif.rb +11 -0
  256. data/lib/fog/xenserver/compute/requests/scan_sr.rb +11 -0
  257. data/lib/fog/xenserver/compute/requests/send_debug_keys_host.rb +11 -0
  258. data/lib/fog/xenserver/compute/requests/send_sysrq_server.rb +13 -0
  259. data/lib/fog/xenserver/compute/requests/send_test_post_pool.rb +11 -0
  260. data/lib/fog/xenserver/compute/requests/send_trigger_server.rb +13 -0
  261. data/lib/fog/xenserver/compute/requests/set_affinity_server.rb +13 -0
  262. data/lib/fog/xenserver/compute/requests/set_allow_caching_vdi.rb +11 -0
  263. data/lib/fog/xenserver/compute/requests/set_appliance_server.rb +13 -0
  264. data/lib/fog/xenserver/compute/requests/set_attribute.rb +11 -0
  265. data/lib/fog/xenserver/compute/requests/set_cpu_features_host.rb +11 -0
  266. data/lib/fog/xenserver/compute/requests/set_default_locking_mode_network.rb +11 -0
  267. data/lib/fog/xenserver/compute/requests/set_device_config_pbd.rb +11 -0
  268. data/lib/fog/xenserver/compute/requests/set_ha_host_failures_to_tolerate_pool.rb +11 -0
  269. data/lib/fog/xenserver/compute/requests/set_ha_restart_priority_server.rb +13 -0
  270. data/lib/fog/xenserver/compute/requests/set_hostname_live_host.rb +11 -0
  271. data/lib/fog/xenserver/compute/requests/set_hvm_shadow_multiplier_server.rb +13 -0
  272. data/lib/fog/xenserver/compute/requests/set_ipv4_allowed_vif.rb +11 -0
  273. data/lib/fog/xenserver/compute/requests/set_ipv6_allowed_vif.rb +11 -0
  274. data/lib/fog/xenserver/compute/requests/set_is_a_snapshot_vdi.rb +11 -0
  275. data/lib/fog/xenserver/compute/requests/set_locking_mode_vif.rb +11 -0
  276. data/lib/fog/xenserver/compute/requests/set_managed_vdi.rb +11 -0
  277. data/lib/fog/xenserver/compute/requests/set_memory_dynamic_max_server.rb +13 -0
  278. data/lib/fog/xenserver/compute/requests/set_memory_dynamic_min_server.rb +13 -0
  279. data/lib/fog/xenserver/compute/requests/set_memory_dynamic_range_server.rb +13 -0
  280. data/lib/fog/xenserver/compute/requests/set_memory_limits_server.rb +13 -0
  281. data/lib/fog/xenserver/compute/requests/set_memory_static_max_server.rb +13 -0
  282. data/lib/fog/xenserver/compute/requests/set_memory_static_min_server.rb +13 -0
  283. data/lib/fog/xenserver/compute/requests/set_memory_static_range_server.rb +13 -0
  284. data/lib/fog/xenserver/compute/requests/set_metadata_of_pool_vdi.rb +11 -0
  285. data/lib/fog/xenserver/compute/requests/set_missing_vdi.rb +11 -0
  286. data/lib/fog/xenserver/compute/requests/set_name_description_sr.rb +11 -0
  287. data/lib/fog/xenserver/compute/requests/set_name_description_vdi.rb +11 -0
  288. data/lib/fog/xenserver/compute/requests/set_name_label_sr.rb +11 -0
  289. data/lib/fog/xenserver/compute/requests/set_name_label_vdi.rb +11 -0
  290. data/lib/fog/xenserver/compute/requests/set_on_boot_vdi.rb +11 -0
  291. data/lib/fog/xenserver/compute/requests/set_order_server.rb +13 -0
  292. data/lib/fog/xenserver/compute/requests/set_physical_size_sr.rb +11 -0
  293. data/lib/fog/xenserver/compute/requests/set_physical_utilisation_sr.rb +11 -0
  294. data/lib/fog/xenserver/compute/requests/set_physical_utilisation_vdi.rb +11 -0
  295. data/lib/fog/xenserver/compute/requests/set_power_on_mode_host.rb +11 -0
  296. data/lib/fog/xenserver/compute/requests/set_primary_address_type_pif.rb +11 -0
  297. data/lib/fog/xenserver/compute/requests/set_protection_policy_server.rb +13 -0
  298. data/lib/fog/xenserver/compute/requests/set_read_only_vdi.rb +11 -0
  299. data/lib/fog/xenserver/compute/requests/set_shadow_multiplier_live_server.rb +13 -0
  300. data/lib/fog/xenserver/compute/requests/set_sharable_vdi.rb +11 -0
  301. data/lib/fog/xenserver/compute/requests/set_shared_sr.rb +11 -0
  302. data/lib/fog/xenserver/compute/requests/set_shutdown_delay_server.rb +13 -0
  303. data/lib/fog/xenserver/compute/requests/set_snapshot_of_vdi.rb +11 -0
  304. data/lib/fog/xenserver/compute/requests/set_snapshot_time_vdi.rb +11 -0
  305. data/lib/fog/xenserver/compute/requests/set_start_delay_server.rb +13 -0
  306. data/lib/fog/xenserver/compute/requests/set_suspend_vdi_server.rb +13 -0
  307. data/lib/fog/xenserver/compute/requests/set_vcpus_at_startup_server.rb +13 -0
  308. data/lib/fog/xenserver/compute/requests/set_vcpus_max_server.rb +13 -0
  309. data/lib/fog/xenserver/compute/requests/set_vcpus_number_live_server.rb +13 -0
  310. data/lib/fog/xenserver/compute/requests/set_virtual_allocation_sr.rb +11 -0
  311. data/lib/fog/xenserver/compute/requests/set_virtual_size_vdi.rb +11 -0
  312. data/lib/fog/xenserver/compute/requests/set_vswitch_controller_pool.rb +11 -0
  313. data/lib/fog/xenserver/compute/requests/shutdown_agent_host.rb +11 -0
  314. data/lib/fog/xenserver/compute/requests/shutdown_host.rb +11 -0
  315. data/lib/fog/xenserver/compute/requests/shutdown_server.rb +13 -0
  316. data/lib/fog/xenserver/compute/requests/snapshot_server.rb +13 -0
  317. data/lib/fog/xenserver/compute/requests/snapshot_vdi.rb +11 -0
  318. data/lib/fog/xenserver/compute/requests/snapshot_with_quiesce_server.rb +13 -0
  319. data/lib/fog/xenserver/compute/requests/snapshots.rb +15 -0
  320. data/lib/fog/xenserver/compute/requests/start_on_server.rb +13 -0
  321. data/lib/fog/xenserver/compute/requests/start_server.rb +13 -0
  322. data/lib/fog/xenserver/compute/requests/suspend_server.rb +13 -0
  323. data/lib/fog/xenserver/compute/requests/sync_data_host.rb +11 -0
  324. data/lib/fog/xenserver/compute/requests/sync_database_pool.rb +11 -0
  325. data/lib/fog/xenserver/compute/requests/templates.rb +15 -0
  326. data/lib/fog/xenserver/compute/requests/unpause_server.rb +13 -0
  327. data/lib/fog/xenserver/compute/requests/unplug_force_vbd.rb +11 -0
  328. data/lib/fog/xenserver/compute/requests/unplug_pbd.rb +11 -0
  329. data/lib/fog/xenserver/compute/requests/unplug_vbd.rb +11 -0
  330. data/lib/fog/xenserver/compute/requests/unplug_vif.rb +11 -0
  331. data/lib/fog/xenserver/compute/requests/unregister_event.rb +11 -0
  332. data/lib/fog/xenserver/compute/requests/update_sr.rb +11 -0
  333. data/lib/fog/xenserver/compute/requests/update_vdi.rb +11 -0
  334. data/lib/fog/xenserver/connection.rb +72 -0
  335. data/lib/fog/{xen_server → xenserver}/invalid_login.rb +0 -0
  336. data/lib/fog/{xen_server → xenserver}/nokogiri_stream_parser.rb +0 -0
  337. data/lib/fog/{xen_server → xenserver}/not_found.rb +0 -0
  338. data/lib/fog/xenserver/parsers.rb +8 -0
  339. data/lib/fog/xenserver/parsers/base.rb +37 -0
  340. data/lib/fog/xenserver/parsers/get_records.rb +16 -0
  341. data/lib/fog/{xen_server → xenserver}/request_failed.rb +0 -0
  342. data/lib/fog/xenserver/version.rb +1 -1
  343. data/spec/fog/xenserver/compute/models/blob_spec.rb +63 -0
  344. data/spec/fog/xenserver/compute/models/blobs_spec.rb +9 -0
  345. data/spec/fog/xenserver/compute/models/bond_spec.rb +63 -0
  346. data/spec/fog/xenserver/compute/models/bonds_spec.rb +9 -0
  347. data/spec/fog/xenserver/compute/models/console_spec.rb +57 -0
  348. data/spec/fog/xenserver/compute/models/consoles_spec.rb +9 -0
  349. data/spec/fog/xenserver/compute/models/crash_dump_spec.rb +56 -0
  350. data/spec/fog/xenserver/compute/models/crash_dumps_spec.rb +9 -0
  351. data/spec/fog/xenserver/compute/models/dr_task_spec.rb +51 -0
  352. data/spec/fog/xenserver/compute/models/dr_tasks_spec.rb +9 -0
  353. data/spec/fog/xenserver/compute/models/event_spec.rb +56 -0
  354. data/spec/fog/xenserver/compute/models/events_spec.rb +9 -0
  355. data/spec/fog/xenserver/compute/models/gpu_group_spec.rb +65 -0
  356. data/spec/fog/xenserver/compute/models/gpu_groups_spec.rb +9 -0
  357. data/spec/fog/xenserver/compute/models/guest_metrics_spec.rb +71 -0
  358. data/spec/fog/xenserver/compute/models/guests_metrics_spec.rb +9 -0
  359. data/spec/fog/xenserver/compute/models/host_cpu_spec.rb +73 -0
  360. data/spec/fog/xenserver/compute/models/host_cpus_spec.rb +9 -0
  361. data/spec/fog/xenserver/compute/models/host_crash_dump_spec.rb +57 -0
  362. data/spec/fog/xenserver/compute/models/host_crash_dumps_spec.rb +9 -0
  363. data/spec/fog/xenserver/compute/models/host_metrics_spec.rb +72 -0
  364. data/spec/fog/xenserver/compute/models/host_patch_spec.rb +68 -0
  365. data/spec/fog/xenserver/compute/models/host_patchs_spec.rb +9 -0
  366. data/spec/fog/xenserver/compute/models/host_spec.rb +231 -0
  367. data/spec/fog/xenserver/compute/models/hosts_metrics_spec.rb +9 -0
  368. data/spec/fog/xenserver/compute/models/hosts_spec.rb +9 -0
  369. data/spec/fog/xenserver/compute/models/network_spec.rb +79 -0
  370. data/spec/fog/xenserver/compute/models/networks_spec.rb +9 -0
  371. data/spec/fog/xenserver/compute/models/pbd_spec.rb +67 -0
  372. data/spec/fog/xenserver/compute/models/pbds_spec.rb +9 -0
  373. data/spec/fog/xenserver/compute/models/pci_spec.rb +61 -0
  374. data/spec/fog/xenserver/compute/models/pcis_spec.rb +9 -0
  375. data/spec/fog/xenserver/compute/models/pgpu_spec.rb +58 -0
  376. data/spec/fog/xenserver/compute/models/pgpus_spec.rb +9 -0
  377. data/spec/fog/xenserver/compute/models/pif_metrics_spec.rb +74 -0
  378. data/spec/fog/xenserver/compute/models/pif_spec.rb +118 -0
  379. data/spec/fog/xenserver/compute/models/pifs_metrics_spec.rb +9 -0
  380. data/spec/fog/xenserver/compute/models/pifs_spec.rb +9 -0
  381. data/spec/fog/xenserver/compute/models/pool_patch_spec.rb +66 -0
  382. data/spec/fog/xenserver/compute/models/pool_patchs_spec.rb +9 -0
  383. data/spec/fog/xenserver/compute/models/pool_spec.rb +106 -0
  384. data/spec/fog/xenserver/compute/models/pools_spec.rb +9 -0
  385. data/spec/fog/xenserver/compute/models/role_spec.rb +56 -0
  386. data/spec/fog/xenserver/compute/models/roles_spec.rb +9 -0
  387. data/spec/fog/xenserver/compute/models/server_appliance_spec.rb +61 -0
  388. data/spec/fog/xenserver/compute/models/server_appliances_spec.rb +9 -0
  389. data/spec/fog/xenserver/compute/models/server_metrics_spec.rb +76 -0
  390. data/spec/fog/xenserver/compute/models/server_spec.rb +554 -0
  391. data/spec/fog/xenserver/compute/models/servers_metrics_spec.rb +9 -0
  392. data/spec/fog/xenserver/compute/models/servers_spec.rb +9 -0
  393. data/spec/fog/xenserver/compute/models/storage_manager_spec.rb +75 -0
  394. data/spec/fog/xenserver/compute/models/storage_managers_spec.rb +9 -0
  395. data/spec/fog/xenserver/compute/models/storage_repositories_spec.rb +9 -0
  396. data/spec/fog/xenserver/compute/models/storage_repository_spec.rb +92 -0
  397. data/spec/fog/xenserver/compute/models/tunnel_spec.rb +57 -0
  398. data/spec/fog/xenserver/compute/models/tunnels_spec.rb +9 -0
  399. data/spec/fog/xenserver/compute/models/vbd_metrics_spec.rb +70 -0
  400. data/spec/fog/xenserver/compute/models/vbd_spec.rb +194 -0
  401. data/spec/fog/xenserver/compute/models/vbds_metrics_spec.rb +9 -0
  402. data/spec/fog/xenserver/compute/models/vbds_spec.rb +9 -0
  403. data/spec/fog/xenserver/compute/models/vdi_spec.rb +162 -0
  404. data/spec/fog/xenserver/compute/models/vdis_spec.rb +9 -0
  405. data/spec/fog/xenserver/compute/models/vif_metrics_spec.rb +58 -0
  406. data/spec/fog/xenserver/compute/models/vif_spec.rb +141 -0
  407. data/spec/fog/xenserver/compute/models/vifs_metrics_spec.rb +9 -0
  408. data/spec/fog/xenserver/compute/models/vifs_spec.rb +9 -0
  409. data/spec/fog/xenserver/compute/models/vlan_spec.rb +58 -0
  410. data/spec/fog/xenserver/compute/models/vlans_spec.rb +9 -0
  411. data/spec/fog/xenserver/compute/models/vmpp_spec.rb +89 -0
  412. data/spec/fog/xenserver/compute/models/vmpps_spec.rb +9 -0
  413. data/spec/fog/xenserver/compute/models/vtpm_spec.rb +53 -0
  414. data/spec/fog/xenserver/compute/models/vtpms_spec.rb +9 -0
  415. data/spec/fog/xenserver/compute/requests/builtin_templates_spec.rb +20 -0
  416. data/spec/fog/xenserver/compute/requests/clone_server_spec.rb +38 -0
  417. data/spec/fog/xenserver/compute/requests/create_network_spec.rb +26 -0
  418. data/spec/fog/xenserver/compute/requests/create_server_spec.rb +32 -0
  419. data/spec/fog/xenserver/compute/requests/create_vbd_spec.rb +47 -0
  420. data/spec/fog/xenserver/compute/requests/create_vdi_spec.rb +29 -0
  421. data/spec/fog/xenserver/compute/requests/create_vif_spec.rb +48 -0
  422. data/spec/fog/xenserver/compute_spec.rb +13 -0
  423. data/spec/minitest_helper.rb +3 -0
  424. metadata +512 -504
  425. data/lib/fog/compute/xen_server.rb +0 -365
  426. data/lib/fog/compute/xen_server/mock.rb +0 -31
  427. data/lib/fog/compute/xen_server/models.rb +0 -84
  428. data/lib/fog/compute/xen_server/models/blob.rb +0 -25
  429. data/lib/fog/compute/xen_server/models/blobs.rb +0 -11
  430. data/lib/fog/compute/xen_server/models/bond.rb +0 -27
  431. data/lib/fog/compute/xen_server/models/bonds.rb +0 -11
  432. data/lib/fog/compute/xen_server/models/class_methods.rb +0 -24
  433. data/lib/fog/compute/xen_server/models/collection.rb +0 -45
  434. data/lib/fog/compute/xen_server/models/console.rb +0 -24
  435. data/lib/fog/compute/xen_server/models/consoles.rb +0 -11
  436. data/lib/fog/compute/xen_server/models/crash_dump.rb +0 -23
  437. data/lib/fog/compute/xen_server/models/crash_dumps.rb +0 -11
  438. data/lib/fog/compute/xen_server/models/dr_task.rb +0 -21
  439. data/lib/fog/compute/xen_server/models/dr_tasks.rb +0 -11
  440. data/lib/fog/compute/xen_server/models/event.rb +0 -32
  441. data/lib/fog/compute/xen_server/models/events.rb +0 -11
  442. data/lib/fog/compute/xen_server/models/gpu_group.rb +0 -26
  443. data/lib/fog/compute/xen_server/models/gpu_groups.rb +0 -11
  444. data/lib/fog/compute/xen_server/models/guest_metrics.rb +0 -29
  445. data/lib/fog/compute/xen_server/models/guests_metrics.rb +0 -11
  446. data/lib/fog/compute/xen_server/models/host.rb +0 -92
  447. data/lib/fog/compute/xen_server/models/host_cpu.rb +0 -32
  448. data/lib/fog/compute/xen_server/models/host_cpus.rb +0 -11
  449. data/lib/fog/compute/xen_server/models/host_crash_dump.rb +0 -24
  450. data/lib/fog/compute/xen_server/models/host_crash_dumps.rb +0 -11
  451. data/lib/fog/compute/xen_server/models/host_metrics.rb +0 -24
  452. data/lib/fog/compute/xen_server/models/host_patch.rb +0 -29
  453. data/lib/fog/compute/xen_server/models/host_patchs.rb +0 -11
  454. data/lib/fog/compute/xen_server/models/hosts.rb +0 -11
  455. data/lib/fog/compute/xen_server/models/hosts_metrics.rb +0 -11
  456. data/lib/fog/compute/xen_server/models/instance_methods.rb +0 -54
  457. data/lib/fog/compute/xen_server/models/model.rb +0 -12
  458. data/lib/fog/compute/xen_server/models/network.rb +0 -34
  459. data/lib/fog/compute/xen_server/models/networks.rb +0 -11
  460. data/lib/fog/compute/xen_server/models/pbd.rb +0 -27
  461. data/lib/fog/compute/xen_server/models/pbds.rb +0 -11
  462. data/lib/fog/compute/xen_server/models/pci.rb +0 -26
  463. data/lib/fog/compute/xen_server/models/pcis.rb +0 -11
  464. data/lib/fog/compute/xen_server/models/pgpu.rb +0 -24
  465. data/lib/fog/compute/xen_server/models/pgpus.rb +0 -11
  466. data/lib/fog/compute/xen_server/models/pif.rb +0 -60
  467. data/lib/fog/compute/xen_server/models/pif_metrics.rb +0 -31
  468. data/lib/fog/compute/xen_server/models/pifs.rb +0 -11
  469. data/lib/fog/compute/xen_server/models/pifs_metrics.rb +0 -11
  470. data/lib/fog/compute/xen_server/models/pool.rb +0 -65
  471. data/lib/fog/compute/xen_server/models/pool_patch.rb +0 -28
  472. data/lib/fog/compute/xen_server/models/pool_patchs.rb +0 -11
  473. data/lib/fog/compute/xen_server/models/pools.rb +0 -11
  474. data/lib/fog/compute/xen_server/models/role.rb +0 -23
  475. data/lib/fog/compute/xen_server/models/roles.rb +0 -11
  476. data/lib/fog/compute/xen_server/models/server.rb +0 -171
  477. data/lib/fog/compute/xen_server/models/server_appliance.rb +0 -25
  478. data/lib/fog/compute/xen_server/models/server_appliances.rb +0 -11
  479. data/lib/fog/compute/xen_server/models/server_metrics.rb +0 -30
  480. data/lib/fog/compute/xen_server/models/servers.rb +0 -38
  481. data/lib/fog/compute/xen_server/models/servers_metrics.rb +0 -11
  482. data/lib/fog/compute/xen_server/models/storage_manager.rb +0 -31
  483. data/lib/fog/compute/xen_server/models/storage_managers.rb +0 -11
  484. data/lib/fog/compute/xen_server/models/storage_repositories.rb +0 -11
  485. data/lib/fog/compute/xen_server/models/storage_repository.rb +0 -50
  486. data/lib/fog/compute/xen_server/models/tunnel.rb +0 -24
  487. data/lib/fog/compute/xen_server/models/tunnels.rb +0 -11
  488. data/lib/fog/compute/xen_server/models/vbd.rb +0 -65
  489. data/lib/fog/compute/xen_server/models/vbd_metrics.rb +0 -23
  490. data/lib/fog/compute/xen_server/models/vbds.rb +0 -11
  491. data/lib/fog/compute/xen_server/models/vbds_metrics.rb +0 -11
  492. data/lib/fog/compute/xen_server/models/vdi.rb +0 -63
  493. data/lib/fog/compute/xen_server/models/vdis.rb +0 -11
  494. data/lib/fog/compute/xen_server/models/vif.rb +0 -50
  495. data/lib/fog/compute/xen_server/models/vif_metrics.rb +0 -23
  496. data/lib/fog/compute/xen_server/models/vifs.rb +0 -11
  497. data/lib/fog/compute/xen_server/models/vifs_metrics.rb +0 -11
  498. data/lib/fog/compute/xen_server/models/vlan.rb +0 -26
  499. data/lib/fog/compute/xen_server/models/vlans.rb +0 -11
  500. data/lib/fog/compute/xen_server/models/vmpp.rb +0 -39
  501. data/lib/fog/compute/xen_server/models/vmpps.rb +0 -11
  502. data/lib/fog/compute/xen_server/models/vtpm.rb +0 -22
  503. data/lib/fog/compute/xen_server/models/vtpms.rb +0 -11
  504. data/lib/fog/compute/xen_server/real.rb +0 -50
  505. data/lib/fog/compute/xen_server/requests/add_ipv4_allowed_vif.rb +0 -11
  506. data/lib/fog/compute/xen_server/requests/add_ipv6_allowed_vif.rb +0 -11
  507. data/lib/fog/compute/xen_server/requests/add_to_vcpus_params_live_server.rb +0 -13
  508. data/lib/fog/compute/xen_server/requests/apply_edition_host.rb +0 -11
  509. data/lib/fog/compute/xen_server/requests/apply_edition_pool.rb +0 -11
  510. data/lib/fog/compute/xen_server/requests/assert_agile_server.rb +0 -13
  511. data/lib/fog/compute/xen_server/requests/assert_attachable_vbd.rb +0 -11
  512. data/lib/fog/compute/xen_server/requests/assert_can_be_recovered_server.rb +0 -13
  513. data/lib/fog/compute/xen_server/requests/assert_can_boot_here_server.rb +0 -13
  514. data/lib/fog/compute/xen_server/requests/assert_can_evacuate_host.rb +0 -11
  515. data/lib/fog/compute/xen_server/requests/assert_can_host_ha_statefile_sr.rb +0 -11
  516. data/lib/fog/compute/xen_server/requests/assert_can_migrate_server.rb +0 -13
  517. data/lib/fog/compute/xen_server/requests/assert_operation_valid_server.rb +0 -13
  518. data/lib/fog/compute/xen_server/requests/assert_supports_database_replication_sr.rb +0 -11
  519. data/lib/fog/compute/xen_server/requests/backup_rrds_host.rb +0 -11
  520. data/lib/fog/compute/xen_server/requests/bugreport_upload_host.rb +0 -11
  521. data/lib/fog/compute/xen_server/requests/builtin_templates.rb +0 -15
  522. data/lib/fog/compute/xen_server/requests/call_plugin_host.rb +0 -11
  523. data/lib/fog/compute/xen_server/requests/certificate_install_pool.rb +0 -11
  524. data/lib/fog/compute/xen_server/requests/certificate_list_pool.rb +0 -11
  525. data/lib/fog/compute/xen_server/requests/certificate_sync_pool.rb +0 -11
  526. data/lib/fog/compute/xen_server/requests/certificate_uninstall_pool.rb +0 -11
  527. data/lib/fog/compute/xen_server/requests/checkpoint_server.rb +0 -13
  528. data/lib/fog/compute/xen_server/requests/clean_reboot_server.rb +0 -13
  529. data/lib/fog/compute/xen_server/requests/clean_shutdown_server.rb +0 -13
  530. data/lib/fog/compute/xen_server/requests/clone_server.rb +0 -13
  531. data/lib/fog/compute/xen_server/requests/clone_vdi.rb +0 -11
  532. data/lib/fog/compute/xen_server/requests/compute_free_memory_host.rb +0 -11
  533. data/lib/fog/compute/xen_server/requests/compute_memory_overhead_host.rb +0 -11
  534. data/lib/fog/compute/xen_server/requests/compute_memory_overhead_server.rb +0 -13
  535. data/lib/fog/compute/xen_server/requests/copy_bios_strings_server.rb +0 -13
  536. data/lib/fog/compute/xen_server/requests/copy_server.rb +0 -13
  537. data/lib/fog/compute/xen_server/requests/copy_vdi.rb +0 -11
  538. data/lib/fog/compute/xen_server/requests/create_network.rb +0 -11
  539. data/lib/fog/compute/xen_server/requests/create_new_blob_host.rb +0 -11
  540. data/lib/fog/compute/xen_server/requests/create_new_blob_network.rb +0 -11
  541. data/lib/fog/compute/xen_server/requests/create_new_blob_pool.rb +0 -11
  542. data/lib/fog/compute/xen_server/requests/create_new_blob_server.rb +0 -13
  543. data/lib/fog/compute/xen_server/requests/create_new_blob_sr.rb +0 -11
  544. data/lib/fog/compute/xen_server/requests/create_pbd.rb +0 -11
  545. data/lib/fog/compute/xen_server/requests/create_server.rb +0 -13
  546. data/lib/fog/compute/xen_server/requests/create_sr.rb +0 -14
  547. data/lib/fog/compute/xen_server/requests/create_vbd.rb +0 -11
  548. data/lib/fog/compute/xen_server/requests/create_vdi.rb +0 -11
  549. data/lib/fog/compute/xen_server/requests/create_vif.rb +0 -11
  550. data/lib/fog/compute/xen_server/requests/create_vlan.rb +0 -12
  551. data/lib/fog/compute/xen_server/requests/create_vlan_from_pif_pool.rb +0 -11
  552. data/lib/fog/compute/xen_server/requests/create_vlan_pool.rb +0 -11
  553. data/lib/fog/compute/xen_server/requests/crl_install_pool.rb +0 -11
  554. data/lib/fog/compute/xen_server/requests/crl_list_pool.rb +0 -11
  555. data/lib/fog/compute/xen_server/requests/crl_uninstall_pool.rb +0 -11
  556. data/lib/fog/compute/xen_server/requests/custom_templates.rb +0 -15
  557. data/lib/fog/compute/xen_server/requests/db_forget_pif.rb +0 -11
  558. data/lib/fog/compute/xen_server/requests/db_forget_vdi.rb +0 -11
  559. data/lib/fog/compute/xen_server/requests/db_introduce_pif.rb +0 -11
  560. data/lib/fog/compute/xen_server/requests/db_introduce_vdi.rb +0 -11
  561. data/lib/fog/compute/xen_server/requests/declare_dead_host.rb +0 -11
  562. data/lib/fog/compute/xen_server/requests/designate_new_master_pool.rb +0 -11
  563. data/lib/fog/compute/xen_server/requests/destroy_record.rb +0 -11
  564. data/lib/fog/compute/xen_server/requests/detect_nonhomogeneous_external_auth_pool.rb +0 -11
  565. data/lib/fog/compute/xen_server/requests/disable_database_replication_sr.rb +0 -11
  566. data/lib/fog/compute/xen_server/requests/disable_external_auth_host.rb +0 -11
  567. data/lib/fog/compute/xen_server/requests/disable_external_auth_pool.rb +0 -11
  568. data/lib/fog/compute/xen_server/requests/disable_ha_pool.rb +0 -11
  569. data/lib/fog/compute/xen_server/requests/disable_host.rb +0 -11
  570. data/lib/fog/compute/xen_server/requests/disable_local_storage_caching_host.rb +0 -11
  571. data/lib/fog/compute/xen_server/requests/disable_local_storage_caching_pool.rb +0 -11
  572. data/lib/fog/compute/xen_server/requests/disable_redo_log_pool.rb +0 -11
  573. data/lib/fog/compute/xen_server/requests/dmesg_clear_host.rb +0 -11
  574. data/lib/fog/compute/xen_server/requests/dmesg_host.rb +0 -11
  575. data/lib/fog/compute/xen_server/requests/eject_pool.rb +0 -11
  576. data/lib/fog/compute/xen_server/requests/eject_vbd.rb +0 -11
  577. data/lib/fog/compute/xen_server/requests/emergency_ha_disable_host.rb +0 -11
  578. data/lib/fog/compute/xen_server/requests/emergency_reset_master_pool.rb +0 -11
  579. data/lib/fog/compute/xen_server/requests/emergency_transition_to_master_pool.rb +0 -11
  580. data/lib/fog/compute/xen_server/requests/enable_database_replication_sr.rb +0 -11
  581. data/lib/fog/compute/xen_server/requests/enable_external_auth_host.rb +0 -11
  582. data/lib/fog/compute/xen_server/requests/enable_external_auth_pool.rb +0 -11
  583. data/lib/fog/compute/xen_server/requests/enable_ha_pool.rb +0 -11
  584. data/lib/fog/compute/xen_server/requests/enable_host.rb +0 -11
  585. data/lib/fog/compute/xen_server/requests/enable_local_storage_caching_host.rb +0 -11
  586. data/lib/fog/compute/xen_server/requests/enable_local_storage_caching_pool.rb +0 -11
  587. data/lib/fog/compute/xen_server/requests/enable_redo_log_pool.rb +0 -11
  588. data/lib/fog/compute/xen_server/requests/evacuate_host.rb +0 -11
  589. data/lib/fog/compute/xen_server/requests/forget_data_source_archives_host.rb +0 -11
  590. data/lib/fog/compute/xen_server/requests/forget_data_source_archives_server.rb +0 -13
  591. data/lib/fog/compute/xen_server/requests/forget_pif.rb +0 -11
  592. data/lib/fog/compute/xen_server/requests/forget_sr.rb +0 -11
  593. data/lib/fog/compute/xen_server/requests/forget_vdi.rb +0 -11
  594. data/lib/fog/compute/xen_server/requests/from_event.rb +0 -11
  595. data/lib/fog/compute/xen_server/requests/get_allowed_vbd_devices_server.rb +0 -13
  596. data/lib/fog/compute/xen_server/requests/get_allowed_vif_devices_server.rb +0 -13
  597. data/lib/fog/compute/xen_server/requests/get_boot_record_server.rb +0 -13
  598. data/lib/fog/compute/xen_server/requests/get_current_id_event.rb +0 -11
  599. data/lib/fog/compute/xen_server/requests/get_data_sources_host.rb +0 -11
  600. data/lib/fog/compute/xen_server/requests/get_data_sources_server.rb +0 -13
  601. data/lib/fog/compute/xen_server/requests/get_license_state_pool.rb +0 -11
  602. data/lib/fog/compute/xen_server/requests/get_log_host.rb +0 -11
  603. data/lib/fog/compute/xen_server/requests/get_management_interface_host.rb +0 -11
  604. data/lib/fog/compute/xen_server/requests/get_possible_hosts_server.rb +0 -13
  605. data/lib/fog/compute/xen_server/requests/get_record.rb +0 -23
  606. data/lib/fog/compute/xen_server/requests/get_records.rb +0 -13
  607. data/lib/fog/compute/xen_server/requests/get_server_certificate_host.rb +0 -11
  608. data/lib/fog/compute/xen_server/requests/get_server_localtime_host.rb +0 -11
  609. data/lib/fog/compute/xen_server/requests/get_servertime_host.rb +0 -11
  610. data/lib/fog/compute/xen_server/requests/get_supported_types_sr.rb +0 -11
  611. data/lib/fog/compute/xen_server/requests/get_system_status_capabilities_host.rb +0 -11
  612. data/lib/fog/compute/xen_server/requests/get_vms_which_prevent_evacuation_host.rb +0 -11
  613. data/lib/fog/compute/xen_server/requests/ha_compute_hypothetical_max_host_failures_to_tolerate_pool.rb +0 -11
  614. data/lib/fog/compute/xen_server/requests/ha_compute_max_host_failures_to_tolerate_pool.rb +0 -11
  615. data/lib/fog/compute/xen_server/requests/ha_compute_vm_failover_plan_pool.rb +0 -11
  616. data/lib/fog/compute/xen_server/requests/ha_failover_plan_exists_pool.rb +0 -11
  617. data/lib/fog/compute/xen_server/requests/ha_prevent_restarts_for_pool.rb +0 -11
  618. data/lib/fog/compute/xen_server/requests/hard_reboot_server.rb +0 -13
  619. data/lib/fog/compute/xen_server/requests/hard_shutdown_server.rb +0 -13
  620. data/lib/fog/compute/xen_server/requests/import_convert_server.rb +0 -13
  621. data/lib/fog/compute/xen_server/requests/inject_event.rb +0 -11
  622. data/lib/fog/compute/xen_server/requests/insert_vbd.rb +0 -11
  623. data/lib/fog/compute/xen_server/requests/introduce_pif.rb +0 -11
  624. data/lib/fog/compute/xen_server/requests/introduce_sr.rb +0 -11
  625. data/lib/fog/compute/xen_server/requests/introduce_vdi.rb +0 -11
  626. data/lib/fog/compute/xen_server/requests/join_force_pool.rb +0 -11
  627. data/lib/fog/compute/xen_server/requests/join_pool.rb +0 -11
  628. data/lib/fog/compute/xen_server/requests/list_methods_host.rb +0 -11
  629. data/lib/fog/compute/xen_server/requests/local_management_reconfigure_host.rb +0 -11
  630. data/lib/fog/compute/xen_server/requests/management_disable_host.rb +0 -11
  631. data/lib/fog/compute/xen_server/requests/management_reconfigure_host.rb +0 -11
  632. data/lib/fog/compute/xen_server/requests/maximise_memory_server.rb +0 -13
  633. data/lib/fog/compute/xen_server/requests/migrate_receive_host.rb +0 -11
  634. data/lib/fog/compute/xen_server/requests/migrate_send_server.rb +0 -13
  635. data/lib/fog/compute/xen_server/requests/next_event.rb +0 -11
  636. data/lib/fog/compute/xen_server/requests/open_database_vdi.rb +0 -11
  637. data/lib/fog/compute/xen_server/requests/pause_server.rb +0 -13
  638. data/lib/fog/compute/xen_server/requests/plug_pbd.rb +0 -11
  639. data/lib/fog/compute/xen_server/requests/plug_pif.rb +0 -11
  640. data/lib/fog/compute/xen_server/requests/plug_vbd.rb +0 -11
  641. data/lib/fog/compute/xen_server/requests/plug_vif.rb +0 -11
  642. data/lib/fog/compute/xen_server/requests/pool_migrate_server.rb +0 -13
  643. data/lib/fog/compute/xen_server/requests/pool_migrate_vdi.rb +0 -11
  644. data/lib/fog/compute/xen_server/requests/power_on_host.rb +0 -11
  645. data/lib/fog/compute/xen_server/requests/power_state_reset_server.rb +0 -13
  646. data/lib/fog/compute/xen_server/requests/probe_sr.rb +0 -11
  647. data/lib/fog/compute/xen_server/requests/provision_server.rb +0 -13
  648. data/lib/fog/compute/xen_server/requests/query_data_source_host.rb +0 -11
  649. data/lib/fog/compute/xen_server/requests/query_data_source_server.rb +0 -13
  650. data/lib/fog/compute/xen_server/requests/query_services_server.rb +0 -13
  651. data/lib/fog/compute/xen_server/requests/read_database_pool_uuid_vdi.rb +0 -11
  652. data/lib/fog/compute/xen_server/requests/reboot_host.rb +0 -11
  653. data/lib/fog/compute/xen_server/requests/reboot_server.rb +0 -25
  654. data/lib/fog/compute/xen_server/requests/reconfigure_ip_pif.rb +0 -11
  655. data/lib/fog/compute/xen_server/requests/reconfigure_ipv6_pif.rb +0 -11
  656. data/lib/fog/compute/xen_server/requests/record_data_source_host.rb +0 -11
  657. data/lib/fog/compute/xen_server/requests/record_data_source_server.rb +0 -13
  658. data/lib/fog/compute/xen_server/requests/recover_server.rb +0 -13
  659. data/lib/fog/compute/xen_server/requests/recover_slaves_pool.rb +0 -11
  660. data/lib/fog/compute/xen_server/requests/refresh_pack_info_host.rb +0 -11
  661. data/lib/fog/compute/xen_server/requests/register_event.rb +0 -11
  662. data/lib/fog/compute/xen_server/requests/remove_ipv4_allowed_vif.rb +0 -11
  663. data/lib/fog/compute/xen_server/requests/remove_ipv6_allowed_vif.rb +0 -11
  664. data/lib/fog/compute/xen_server/requests/reset_cpu_features_host.rb +0 -11
  665. data/lib/fog/compute/xen_server/requests/resize_online_vdi.rb +0 -11
  666. data/lib/fog/compute/xen_server/requests/resize_vdi.rb +0 -11
  667. data/lib/fog/compute/xen_server/requests/restart_agent_host.rb +0 -11
  668. data/lib/fog/compute/xen_server/requests/resume_on_server.rb +0 -13
  669. data/lib/fog/compute/xen_server/requests/resume_server.rb +0 -13
  670. data/lib/fog/compute/xen_server/requests/revert_server.rb +0 -13
  671. data/lib/fog/compute/xen_server/requests/revert_to_server.rb +0 -18
  672. data/lib/fog/compute/xen_server/requests/scan_pif.rb +0 -11
  673. data/lib/fog/compute/xen_server/requests/scan_sr.rb +0 -11
  674. data/lib/fog/compute/xen_server/requests/send_debug_keys_host.rb +0 -11
  675. data/lib/fog/compute/xen_server/requests/send_sysrq_server.rb +0 -13
  676. data/lib/fog/compute/xen_server/requests/send_test_post_pool.rb +0 -11
  677. data/lib/fog/compute/xen_server/requests/send_trigger_server.rb +0 -13
  678. data/lib/fog/compute/xen_server/requests/set_affinity_server.rb +0 -13
  679. data/lib/fog/compute/xen_server/requests/set_allow_caching_vdi.rb +0 -11
  680. data/lib/fog/compute/xen_server/requests/set_appliance_server.rb +0 -13
  681. data/lib/fog/compute/xen_server/requests/set_attribute.rb +0 -11
  682. data/lib/fog/compute/xen_server/requests/set_cpu_features_host.rb +0 -11
  683. data/lib/fog/compute/xen_server/requests/set_default_locking_mode_network.rb +0 -11
  684. data/lib/fog/compute/xen_server/requests/set_device_config_pbd.rb +0 -11
  685. data/lib/fog/compute/xen_server/requests/set_ha_host_failures_to_tolerate_pool.rb +0 -11
  686. data/lib/fog/compute/xen_server/requests/set_ha_restart_priority_server.rb +0 -13
  687. data/lib/fog/compute/xen_server/requests/set_hostname_live_host.rb +0 -11
  688. data/lib/fog/compute/xen_server/requests/set_hvm_shadow_multiplier_server.rb +0 -13
  689. data/lib/fog/compute/xen_server/requests/set_ipv4_allowed_vif.rb +0 -11
  690. data/lib/fog/compute/xen_server/requests/set_ipv6_allowed_vif.rb +0 -11
  691. data/lib/fog/compute/xen_server/requests/set_is_a_snapshot_vdi.rb +0 -11
  692. data/lib/fog/compute/xen_server/requests/set_locking_mode_vif.rb +0 -11
  693. data/lib/fog/compute/xen_server/requests/set_managed_vdi.rb +0 -11
  694. data/lib/fog/compute/xen_server/requests/set_memory_dynamic_max_server.rb +0 -13
  695. data/lib/fog/compute/xen_server/requests/set_memory_dynamic_min_server.rb +0 -13
  696. data/lib/fog/compute/xen_server/requests/set_memory_dynamic_range_server.rb +0 -13
  697. data/lib/fog/compute/xen_server/requests/set_memory_limits_server.rb +0 -13
  698. data/lib/fog/compute/xen_server/requests/set_memory_static_max_server.rb +0 -13
  699. data/lib/fog/compute/xen_server/requests/set_memory_static_min_server.rb +0 -13
  700. data/lib/fog/compute/xen_server/requests/set_memory_static_range_server.rb +0 -13
  701. data/lib/fog/compute/xen_server/requests/set_metadata_of_pool_vdi.rb +0 -11
  702. data/lib/fog/compute/xen_server/requests/set_missing_vdi.rb +0 -11
  703. data/lib/fog/compute/xen_server/requests/set_name_description_sr.rb +0 -11
  704. data/lib/fog/compute/xen_server/requests/set_name_description_vdi.rb +0 -11
  705. data/lib/fog/compute/xen_server/requests/set_name_label_sr.rb +0 -11
  706. data/lib/fog/compute/xen_server/requests/set_name_label_vdi.rb +0 -11
  707. data/lib/fog/compute/xen_server/requests/set_on_boot_vdi.rb +0 -11
  708. data/lib/fog/compute/xen_server/requests/set_order_server.rb +0 -13
  709. data/lib/fog/compute/xen_server/requests/set_physical_size_sr.rb +0 -11
  710. data/lib/fog/compute/xen_server/requests/set_physical_utilisation_sr.rb +0 -11
  711. data/lib/fog/compute/xen_server/requests/set_physical_utilisation_vdi.rb +0 -11
  712. data/lib/fog/compute/xen_server/requests/set_power_on_mode_host.rb +0 -11
  713. data/lib/fog/compute/xen_server/requests/set_primary_address_type_pif.rb +0 -11
  714. data/lib/fog/compute/xen_server/requests/set_protection_policy_server.rb +0 -13
  715. data/lib/fog/compute/xen_server/requests/set_read_only_vdi.rb +0 -11
  716. data/lib/fog/compute/xen_server/requests/set_shadow_multiplier_live_server.rb +0 -13
  717. data/lib/fog/compute/xen_server/requests/set_sharable_vdi.rb +0 -11
  718. data/lib/fog/compute/xen_server/requests/set_shared_sr.rb +0 -11
  719. data/lib/fog/compute/xen_server/requests/set_shutdown_delay_server.rb +0 -13
  720. data/lib/fog/compute/xen_server/requests/set_snapshot_of_vdi.rb +0 -11
  721. data/lib/fog/compute/xen_server/requests/set_snapshot_time_vdi.rb +0 -11
  722. data/lib/fog/compute/xen_server/requests/set_start_delay_server.rb +0 -13
  723. data/lib/fog/compute/xen_server/requests/set_suspend_vdi_server.rb +0 -13
  724. data/lib/fog/compute/xen_server/requests/set_vcpus_at_startup_server.rb +0 -13
  725. data/lib/fog/compute/xen_server/requests/set_vcpus_max_server.rb +0 -13
  726. data/lib/fog/compute/xen_server/requests/set_vcpus_number_live_server.rb +0 -13
  727. data/lib/fog/compute/xen_server/requests/set_virtual_allocation_sr.rb +0 -11
  728. data/lib/fog/compute/xen_server/requests/set_virtual_size_vdi.rb +0 -11
  729. data/lib/fog/compute/xen_server/requests/set_vswitch_controller_pool.rb +0 -11
  730. data/lib/fog/compute/xen_server/requests/shutdown_agent_host.rb +0 -11
  731. data/lib/fog/compute/xen_server/requests/shutdown_host.rb +0 -11
  732. data/lib/fog/compute/xen_server/requests/shutdown_server.rb +0 -14
  733. data/lib/fog/compute/xen_server/requests/snapshot_server.rb +0 -13
  734. data/lib/fog/compute/xen_server/requests/snapshot_vdi.rb +0 -11
  735. data/lib/fog/compute/xen_server/requests/snapshot_with_quiesce_server.rb +0 -13
  736. data/lib/fog/compute/xen_server/requests/snapshots.rb +0 -15
  737. data/lib/fog/compute/xen_server/requests/start_on_server.rb +0 -13
  738. data/lib/fog/compute/xen_server/requests/start_server.rb +0 -13
  739. data/lib/fog/compute/xen_server/requests/suspend_server.rb +0 -13
  740. data/lib/fog/compute/xen_server/requests/sync_data_host.rb +0 -11
  741. data/lib/fog/compute/xen_server/requests/sync_database_pool.rb +0 -11
  742. data/lib/fog/compute/xen_server/requests/templates.rb +0 -15
  743. data/lib/fog/compute/xen_server/requests/unpause_server.rb +0 -13
  744. data/lib/fog/compute/xen_server/requests/unplug_force_vbd.rb +0 -11
  745. data/lib/fog/compute/xen_server/requests/unplug_pbd.rb +0 -11
  746. data/lib/fog/compute/xen_server/requests/unplug_vbd.rb +0 -11
  747. data/lib/fog/compute/xen_server/requests/unplug_vif.rb +0 -11
  748. data/lib/fog/compute/xen_server/requests/unregister_event.rb +0 -11
  749. data/lib/fog/compute/xen_server/requests/update_sr.rb +0 -11
  750. data/lib/fog/compute/xen_server/requests/update_vdi.rb +0 -11
  751. data/lib/fog/parsers/xen_server.rb +0 -8
  752. data/lib/fog/parsers/xen_server/base.rb +0 -34
  753. data/lib/fog/parsers/xen_server/get_records.rb +0 -16
  754. data/lib/fog/utilities.rb +0 -8
  755. data/lib/fog/xen_server/connection.rb +0 -49
  756. data/spec/cassettes/sync_database_pool.yml +0 -129
  757. data/spec/fog/compute/xen_server/models/blob_spec.rb +0 -63
  758. data/spec/fog/compute/xen_server/models/blobs_spec.rb +0 -9
  759. data/spec/fog/compute/xen_server/models/bond_spec.rb +0 -63
  760. data/spec/fog/compute/xen_server/models/bonds_spec.rb +0 -9
  761. data/spec/fog/compute/xen_server/models/console_spec.rb +0 -57
  762. data/spec/fog/compute/xen_server/models/consoles_spec.rb +0 -9
  763. data/spec/fog/compute/xen_server/models/crash_dump_spec.rb +0 -56
  764. data/spec/fog/compute/xen_server/models/crash_dumps_spec.rb +0 -9
  765. data/spec/fog/compute/xen_server/models/dr_task_spec.rb +0 -51
  766. data/spec/fog/compute/xen_server/models/dr_tasks_spec.rb +0 -9
  767. data/spec/fog/compute/xen_server/models/event_spec.rb +0 -56
  768. data/spec/fog/compute/xen_server/models/events_spec.rb +0 -9
  769. data/spec/fog/compute/xen_server/models/gpu_group_spec.rb +0 -65
  770. data/spec/fog/compute/xen_server/models/gpu_groups_spec.rb +0 -9
  771. data/spec/fog/compute/xen_server/models/guest_metrics_spec.rb +0 -71
  772. data/spec/fog/compute/xen_server/models/guests_metrics_spec.rb +0 -9
  773. data/spec/fog/compute/xen_server/models/host_cpu_spec.rb +0 -73
  774. data/spec/fog/compute/xen_server/models/host_cpus_spec.rb +0 -9
  775. data/spec/fog/compute/xen_server/models/host_crash_dump_spec.rb +0 -57
  776. data/spec/fog/compute/xen_server/models/host_crash_dumps_spec.rb +0 -9
  777. data/spec/fog/compute/xen_server/models/host_metrics_spec.rb +0 -72
  778. data/spec/fog/compute/xen_server/models/host_patch_spec.rb +0 -68
  779. data/spec/fog/compute/xen_server/models/host_patchs_spec.rb +0 -9
  780. data/spec/fog/compute/xen_server/models/host_spec.rb +0 -231
  781. data/spec/fog/compute/xen_server/models/hosts_metrics_spec.rb +0 -9
  782. data/spec/fog/compute/xen_server/models/hosts_spec.rb +0 -9
  783. data/spec/fog/compute/xen_server/models/network_spec.rb +0 -79
  784. data/spec/fog/compute/xen_server/models/networks_spec.rb +0 -9
  785. data/spec/fog/compute/xen_server/models/pbd_spec.rb +0 -67
  786. data/spec/fog/compute/xen_server/models/pbds_spec.rb +0 -9
  787. data/spec/fog/compute/xen_server/models/pci_spec.rb +0 -61
  788. data/spec/fog/compute/xen_server/models/pcis_spec.rb +0 -9
  789. data/spec/fog/compute/xen_server/models/pgpu_spec.rb +0 -58
  790. data/spec/fog/compute/xen_server/models/pgpus_spec.rb +0 -9
  791. data/spec/fog/compute/xen_server/models/pif_metrics_spec.rb +0 -74
  792. data/spec/fog/compute/xen_server/models/pif_spec.rb +0 -118
  793. data/spec/fog/compute/xen_server/models/pifs_metrics_spec.rb +0 -9
  794. data/spec/fog/compute/xen_server/models/pifs_spec.rb +0 -9
  795. data/spec/fog/compute/xen_server/models/pool_patch_spec.rb +0 -66
  796. data/spec/fog/compute/xen_server/models/pool_patchs_spec.rb +0 -9
  797. data/spec/fog/compute/xen_server/models/pool_spec.rb +0 -106
  798. data/spec/fog/compute/xen_server/models/pools_spec.rb +0 -9
  799. data/spec/fog/compute/xen_server/models/role_spec.rb +0 -56
  800. data/spec/fog/compute/xen_server/models/roles_spec.rb +0 -9
  801. data/spec/fog/compute/xen_server/models/server_appliance_spec.rb +0 -61
  802. data/spec/fog/compute/xen_server/models/server_appliances_spec.rb +0 -9
  803. data/spec/fog/compute/xen_server/models/server_metrics_spec.rb +0 -76
  804. data/spec/fog/compute/xen_server/models/server_spec.rb +0 -554
  805. data/spec/fog/compute/xen_server/models/servers_metrics_spec.rb +0 -9
  806. data/spec/fog/compute/xen_server/models/servers_spec.rb +0 -9
  807. data/spec/fog/compute/xen_server/models/storage_manager_spec.rb +0 -75
  808. data/spec/fog/compute/xen_server/models/storage_managers_spec.rb +0 -9
  809. data/spec/fog/compute/xen_server/models/storage_repositories_spec.rb +0 -9
  810. data/spec/fog/compute/xen_server/models/storage_repository_spec.rb +0 -92
  811. data/spec/fog/compute/xen_server/models/tunnel_spec.rb +0 -57
  812. data/spec/fog/compute/xen_server/models/tunnels_spec.rb +0 -9
  813. data/spec/fog/compute/xen_server/models/vbd_metrics_spec.rb +0 -70
  814. data/spec/fog/compute/xen_server/models/vbd_spec.rb +0 -194
  815. data/spec/fog/compute/xen_server/models/vbds_metrics_spec.rb +0 -9
  816. data/spec/fog/compute/xen_server/models/vbds_spec.rb +0 -9
  817. data/spec/fog/compute/xen_server/models/vdi_spec.rb +0 -162
  818. data/spec/fog/compute/xen_server/models/vdis_spec.rb +0 -9
  819. data/spec/fog/compute/xen_server/models/vif_metrics_spec.rb +0 -58
  820. data/spec/fog/compute/xen_server/models/vif_spec.rb +0 -141
  821. data/spec/fog/compute/xen_server/models/vifs_metrics_spec.rb +0 -9
  822. data/spec/fog/compute/xen_server/models/vifs_spec.rb +0 -9
  823. data/spec/fog/compute/xen_server/models/vlan_spec.rb +0 -58
  824. data/spec/fog/compute/xen_server/models/vlans_spec.rb +0 -9
  825. data/spec/fog/compute/xen_server/models/vmpp_spec.rb +0 -89
  826. data/spec/fog/compute/xen_server/models/vmpps_spec.rb +0 -9
  827. data/spec/fog/compute/xen_server/models/vtpm_spec.rb +0 -53
  828. data/spec/fog/compute/xen_server/models/vtpms_spec.rb +0 -9
  829. data/spec/fog/compute/xen_server/requests/builtin_templates_spec.rb +0 -18
  830. data/spec/fog/compute/xen_server/requests/clone_server_spec.rb +0 -36
  831. data/spec/fog/compute/xen_server/requests/create_network_spec.rb +0 -24
  832. data/spec/fog/compute/xen_server/requests/create_server_spec.rb +0 -30
  833. data/spec/fog/compute/xen_server/requests/create_vbd_spec.rb +0 -45
  834. data/spec/fog/compute/xen_server/requests/create_vdi_spec.rb +0 -27
  835. data/spec/fog/compute/xen_server/requests/create_vif_spec.rb +0 -46
  836. data/spec/fog/compute/xen_server/requests/sync_database_pool_spec.rb +0 -16
  837. data/spec/fog/compute/xen_server_spec.rb +0 -13
@@ -1,49 +0,0 @@
1
- require 'xmlrpc/client'
2
-
3
- module Fog
4
- module XenServer
5
- class Connection
6
- attr_reader :credentials
7
-
8
- def initialize(host, timeout)
9
- @factory = XMLRPC::Client.new(host, "/")
10
- @factory.set_parser(NokogiriStreamParser.new)
11
- @factory.timeout = timeout
12
- end
13
-
14
- def authenticate( username, password )
15
- response = @factory.call("session.login_with_password", username.to_s, password.to_s)
16
- raise Fog::XenServer::InvalidLogin.new unless response["Status"] =~ /Success/
17
- @credentials = response["Value"]
18
- end
19
-
20
- def request(options, *params)
21
- begin
22
- parser = options.delete(:parser)
23
- method = options.delete(:method)
24
-
25
- if params.empty?
26
- response = @factory.call(method, @credentials)
27
- else
28
- if params.length.eql?(1) and params.first.is_a?(Hash)
29
- response = @factory.call(method, @credentials, params.first)
30
- elsif params.length.eql?(2) and params.last.is_a?(Array)
31
- response = @factory.call(method, @credentials, params.first, params.last)
32
- elsif params.length.eql?(1) and params.last.is_a?(Array)
33
- response = @factory.call(method, @credentials, params.first)
34
- else
35
- response = eval("@factory.call('#{method}', '#{@credentials}', #{params.map {|p| p.is_a?(String) ? "'#{p}'" : p}.join(',')})")
36
- end
37
- end
38
- raise RequestFailed.new("#{method}: " + response["ErrorDescription"].to_s) unless response["Status"].eql? "Success"
39
- if parser
40
- parser.parse( response["Value"] )
41
- response = parser.response
42
- end
43
-
44
- response
45
- end
46
- end
47
- end
48
- end
49
- end
@@ -1,129 +0,0 @@
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:cc5148e7-14a1-f637-fcdb-440fc6dedc0d</value></member></struct></value></param></params></methodResponse>"
43
- http_version:
44
- recorded_at: Sat, 22 Nov 2014 13:59:41 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>pool.get_all_records</methodName><params><param><value><string>OpaqueRef:cc5148e7-14a1-f637-fcdb-440fc6dedc0d</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
- - '203'
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
- - '4694'
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>OpaqueRef:caf17d60-ed75-0deb-399f-4a3974620cbe</name><value><struct><member><name>uuid</name><value>51766268-0930-4d17-6aa0-fb7695242de8</value></member><member><name>name_label</name><value/></member><member><name>name_description</name><value/></member><member><name>master</name><value>OpaqueRef:78c23dd4-4470-ed14-47e1-9a0e21a32814</value></member><member><name>default_SR</name><value>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</value></member><member><name>suspend_image_SR</name><value>OpaqueRef:NULL</value></member><member><name>crash_dump_SR</name><value>OpaqueRef:NULL</value></member><member><name>other_config</name><value><struct><member><name>cpuid_feature_mask</name><value>ffffff7f-ffffffff-ffffffff-ffffffff</value></member><member><name>memory-ratio-hvm</name><value>0.25</value></member><member><name>memory-ratio-pv</name><value>0.25</value></member></struct></value></member><member><name>ha_enabled</name><value><boolean>0</boolean></value></member><member><name>ha_configuration</name><value><struct/></value></member><member><name>ha_statefiles</name><value><array><data/></array></value></member><member><name>ha_host_failures_to_tolerate</name><value>0</value></member><member><name>ha_plan_exists_for</name><value>0</value></member><member><name>ha_allow_overcommit</name><value><boolean>0</boolean></value></member><member><name>ha_overcommitted</name><value><boolean>0</boolean></value></member><member><name>blobs</name><value><struct/></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>gui_config</name><value><struct/></value></member><member><name>wlb_url</name><value/></member><member><name>wlb_username</name><value/></member><member><name>wlb_enabled</name><value><boolean>0</boolean></value></member><member><name>wlb_verify_cert</name><value><boolean>0</boolean></value></member><member><name>redo_log_enabled</name><value><boolean>0</boolean></value></member><member><name>redo_log_vdi</name><value>OpaqueRef:NULL</value></member><member><name>vswitch_controller</name><value/></member><member><name>restrictions</name><value><struct><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>metadata_VDIs</name><value><array><data/></array></value></member></struct></value></member></struct></value></member></struct></value></param></params></methodResponse>"
85
- http_version:
86
- recorded_at: Sat, 22 Nov 2014 13:59:41 GMT
87
- - request:
88
- method: post
89
- uri: http://192.168.10.2/
90
- body:
91
- encoding: UTF-8
92
- string: |
93
- <?xml version="1.0" ?><methodCall><methodName>pool.sync_database</methodName><params><param><value><string>OpaqueRef:cc5148e7-14a1-f637-fcdb-440fc6dedc0d</string></value></param></params></methodCall>
94
- headers:
95
- User-Agent:
96
- - XMLRPC::Client (Ruby 2.1.2)
97
- Content-Type:
98
- - text/xml; charset=utf-8
99
- Content-Length:
100
- - '201'
101
- Connection:
102
- - keep-alive
103
- Accept-Encoding:
104
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
105
- Accept:
106
- - "*/*"
107
- response:
108
- status:
109
- code: 200
110
- message: OK
111
- headers:
112
- Content-Length:
113
- - '198'
114
- Connection:
115
- - keep-alive
116
- Cache-Control:
117
- - no-cache, no-store
118
- Content-Type:
119
- - text/xml
120
- Access-Control-Allow-Origin:
121
- - "*"
122
- Access-Control-Allow-Headers:
123
- - X-Requested-With
124
- body:
125
- encoding: UTF-8
126
- string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value/></member></struct></value></param></params></methodResponse>"
127
- http_version:
128
- recorded_at: Sat, 22 Nov 2014 13:59:41 GMT
129
- recorded_with: VCR 2.9.3
@@ -1,63 +0,0 @@
1
- require 'minitest_helper'
2
-
3
- describe Fog::Compute::XenServer::Models::Blob do
4
- let(:blob_class) do
5
- class Fog::Compute::XenServer::Models::Blob
6
- def self.read_identity
7
- instance_variable_get('@identity')
8
- end
9
- end
10
- Fog::Compute::XenServer::Models::Blob
11
- end
12
-
13
- it 'should associate to a provider class' do
14
- blob_class.provider_class.must_equal('blob')
15
- end
16
-
17
- it 'should have a collection name' do
18
- blob_class.collection_name.must_equal(:blobs)
19
- end
20
-
21
- it 'should have an unique id' do
22
- blob_class.read_identity.must_equal(:reference)
23
- end
24
-
25
- it 'should have 8 attributes' do
26
- blob_class.attributes.must_equal([ :reference,
27
- :description,
28
- :last_updated,
29
- :mime_type,
30
- :name,
31
- :public,
32
- :size,
33
- :uuid ])
34
- end
35
-
36
- it "shouldn't have associations" do
37
- blob_class.associations.must_equal({})
38
- end
39
-
40
- it 'should have 8 masks' do
41
- blob_class.masks.must_equal(:reference => :reference,
42
- :description => :description,
43
- :last_updated => :last_updated,
44
- :mime_type => :mime_type,
45
- :name => :name,
46
- :public => :public,
47
- :size => :size,
48
- :uuid => :uuid)
49
- end
50
-
51
- it 'should have 2 aliases' do
52
- blob_class.aliases.must_equal(:name_description => :description,
53
- :name_label => :name)
54
- end
55
-
56
- it "shouldn't have default values" do
57
- blob_class.default_values.must_equal({})
58
- end
59
-
60
- it "shouldn't require attributes before save" do
61
- blob_class.require_before_save.must_equal([])
62
- end
63
- end
@@ -1,9 +0,0 @@
1
- require 'minitest_helper'
2
-
3
- describe Fog::Compute::XenServer::Models::Blobs do
4
- let(:blobs_class) { Fog::Compute::XenServer::Models::Blobs }
5
-
6
- it 'should be a collection of Blobs' do
7
- blobs_class.model.must_equal(Fog::Compute::XenServer::Models::Blob)
8
- end
9
- end
@@ -1,63 +0,0 @@
1
- require 'minitest_helper'
2
-
3
- describe Fog::Compute::XenServer::Models::Bond do
4
- let(:bond_class) do
5
- class Fog::Compute::XenServer::Models::Bond
6
- def self.read_identity
7
- instance_variable_get('@identity')
8
- end
9
- end
10
- Fog::Compute::XenServer::Models::Bond
11
- end
12
-
13
- it 'should associate to a provider class' do
14
- bond_class.provider_class.must_equal('Bond')
15
- end
16
-
17
- it 'should have a collection name' do
18
- bond_class.collection_name.must_equal(:bonds)
19
- end
20
-
21
- it 'should have an unique id' do
22
- bond_class.read_identity.must_equal(:reference)
23
- end
24
-
25
- it 'should have 6 attributes' do
26
- bond_class.attributes.must_equal([ :reference,
27
- :links_up,
28
- :mode,
29
- :other_config,
30
- :properties,
31
- :uuid ])
32
- end
33
-
34
- it 'should have 3 associations' do
35
- bond_class.associations.must_equal(:master => :pifs,
36
- :primary_slave => :pifs,
37
- :slaves => :pifs)
38
- end
39
-
40
- it 'should have 6 masks' do
41
- bond_class.masks.must_equal(:reference => :reference,
42
- :links_up => :links_up,
43
- :mode => :mode,
44
- :other_config => :other_config,
45
- :properties => :properties,
46
- :uuid => :uuid,
47
- :master => :master,
48
- :primary_slave => :primary_slave,
49
- :slaves => :slaves)
50
- end
51
-
52
- it "shouldn't have aliases" do
53
- bond_class.aliases.must_equal({})
54
- end
55
-
56
- it "shouldn't have default values" do
57
- bond_class.default_values.must_equal({})
58
- end
59
-
60
- it "shouldn't require attributes before save" do
61
- bond_class.require_before_save.must_equal([])
62
- end
63
- end
@@ -1,9 +0,0 @@
1
- require 'minitest_helper'
2
-
3
- describe Fog::Compute::XenServer::Models::Bonds do
4
- let(:bonds_class) { Fog::Compute::XenServer::Models::Bonds }
5
-
6
- it 'should be a collection of Bonds' do
7
- bonds_class.model.must_equal(Fog::Compute::XenServer::Models::Bond)
8
- end
9
- end
@@ -1,57 +0,0 @@
1
- require 'minitest_helper'
2
-
3
- describe Fog::Compute::XenServer::Models::Console do
4
- let(:console_class) do
5
- class Fog::Compute::XenServer::Models::Console
6
- def self.read_identity
7
- instance_variable_get('@identity')
8
- end
9
- end
10
- Fog::Compute::XenServer::Models::Console
11
- end
12
-
13
- it 'should associate to a provider class' do
14
- console_class.provider_class.must_equal('console')
15
- end
16
-
17
- it 'should have a collection name' do
18
- console_class.collection_name.must_equal(:consoles)
19
- end
20
-
21
- it 'should have an unique id' do
22
- console_class.read_identity.must_equal(:reference)
23
- end
24
-
25
- it 'should have 5 attributes' do
26
- console_class.attributes.must_equal([ :reference,
27
- :location,
28
- :other_config,
29
- :protocol,
30
- :uuid ])
31
- end
32
-
33
- it 'should have 1 association' do
34
- console_class.associations.must_equal(:vm => :servers)
35
- end
36
-
37
- it 'should have 6 masks' do
38
- console_class.masks.must_equal(:reference => :reference,
39
- :location => :location,
40
- :other_config => :other_config,
41
- :protocol => :protocol,
42
- :uuid => :uuid,
43
- :vm => :VM)
44
- end
45
-
46
- it 'should have 1 alias' do
47
- console_class.aliases.must_equal(:VM => :vm)
48
- end
49
-
50
- it "shouldn't have default values" do
51
- console_class.default_values.must_equal({})
52
- end
53
-
54
- it "shouldn't require attributes before save" do
55
- console_class.require_before_save.must_equal([])
56
- end
57
- end
@@ -1,9 +0,0 @@
1
- require 'minitest_helper'
2
-
3
- describe Fog::Compute::XenServer::Models::Consoles do
4
- let(:consoles_class) { Fog::Compute::XenServer::Models::Consoles }
5
-
6
- it 'should be a collection of Consoles' do
7
- consoles_class.model.must_equal(Fog::Compute::XenServer::Models::Console)
8
- end
9
- end
@@ -1,56 +0,0 @@
1
- require 'minitest_helper'
2
-
3
- describe Fog::Compute::XenServer::Models::CrashDump do
4
- let(:crash_dump_class) do
5
- class Fog::Compute::XenServer::Models::CrashDump
6
- def self.read_identity
7
- instance_variable_get('@identity')
8
- end
9
- end
10
- Fog::Compute::XenServer::Models::CrashDump
11
- end
12
-
13
- it 'should associate to a provider class' do
14
- crash_dump_class.provider_class.must_equal('crashdump')
15
- end
16
-
17
- it 'should have a collection name' do
18
- crash_dump_class.collection_name.must_equal(:crash_dumps)
19
- end
20
-
21
- it 'should have an unique id' do
22
- crash_dump_class.read_identity.must_equal(:reference)
23
- end
24
-
25
- it 'should have 3 attributes' do
26
- crash_dump_class.attributes.must_equal([ :reference,
27
- :other_config,
28
- :uuid ])
29
- end
30
-
31
- it 'should have 2 associations' do
32
- crash_dump_class.associations.must_equal(:vdi => :vdis,
33
- :vm => :servers)
34
- end
35
-
36
- it 'should have 5 masks' do
37
- crash_dump_class.masks.must_equal(:reference => :reference,
38
- :other_config => :other_config,
39
- :uuid => :uuid,
40
- :vdi => :VDI,
41
- :vm => :VM)
42
- end
43
-
44
- it 'should have 2 aliases' do
45
- crash_dump_class.aliases.must_equal(:VDI => :vdi,
46
- :VM => :vm)
47
- end
48
-
49
- it "shouldn't have default values" do
50
- crash_dump_class.default_values.must_equal({})
51
- end
52
-
53
- it "shouldn't require attributes before save" do
54
- crash_dump_class.require_before_save.must_equal([])
55
- end
56
- end