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
@@ -1,8 +1,7 @@
1
1
  require 'minitest/spec'
2
2
  require 'minitest/autorun'
3
- require 'simplecov'
4
3
  require 'turn'
5
- require 'coveralls'
4
+ require 'vcr'
6
5
 
7
6
  Turn.config do |c|
8
7
  # use one of output formats:
@@ -19,10 +18,23 @@ Turn.config do |c|
19
18
  c.natural = true
20
19
  end
21
20
 
22
- SimpleCov.start do
23
- add_filter '/test/'
21
+ VCR.configure do |c|
22
+ c.cassette_library_dir = 'spec/cassettes'
23
+ c.hook_into :webmock
24
+ c.debug_logger = $stderr
25
+ end
26
+
27
+ if ENV['COVERAGE']
28
+ require 'coveralls'
29
+ require 'simplecov'
30
+
31
+ SimpleCov.start do
32
+ add_filter '/spec/'
33
+ end
24
34
  end
25
35
 
26
36
  require File.join(File.dirname(__FILE__), '../lib/fog/xenserver.rb')
27
37
 
28
- Coveralls.wear!
38
+ if ENV['COVERAGE']
39
+ Coveralls.wear!
40
+ end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-xenserver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta1
4
+ version: 0.0.1.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Henrique Lopes Ribeiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-09 00:00:00.000000000 Z
11
+ date: 2014-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: fog-core
14
+ name: fog-xml
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: fog-xml
28
+ name: fog-core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -80,6 +80,48 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: vcr
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
83
125
  - !ruby/object:Gem::Dependency
84
126
  name: coveralls
85
127
  requirement: !ruby/object:Gem::Requirement
@@ -112,10 +154,8 @@ files:
112
154
  - README.md
113
155
  - Rakefile
114
156
  - fog-xenserver.gemspec
115
- - gemfiles/Gemfile.1.8.7
116
157
  - gemfiles/Gemfile.1.9.2+
117
- - lib/fog.rb
118
- - lib/fog/collection.rb
158
+ - gemfiles/Gemfile.1.9.2-
119
159
  - lib/fog/compute/xen_server.rb
120
160
  - lib/fog/compute/xen_server/mock.rb
121
161
  - lib/fog/compute/xen_server/models.rb
@@ -123,6 +163,8 @@ files:
123
163
  - lib/fog/compute/xen_server/models/blobs.rb
124
164
  - lib/fog/compute/xen_server/models/bond.rb
125
165
  - lib/fog/compute/xen_server/models/bonds.rb
166
+ - lib/fog/compute/xen_server/models/class_methods.rb
167
+ - lib/fog/compute/xen_server/models/collection.rb
126
168
  - lib/fog/compute/xen_server/models/console.rb
127
169
  - lib/fog/compute/xen_server/models/consoles.rb
128
170
  - lib/fog/compute/xen_server/models/crash_dump.rb
@@ -143,6 +185,8 @@ files:
143
185
  - lib/fog/compute/xen_server/models/host_patchs.rb
144
186
  - lib/fog/compute/xen_server/models/hosts.rb
145
187
  - lib/fog/compute/xen_server/models/hosts_metrics.rb
188
+ - lib/fog/compute/xen_server/models/instance_methods.rb
189
+ - lib/fog/compute/xen_server/models/model.rb
146
190
  - lib/fog/compute/xen_server/models/network.rb
147
191
  - lib/fog/compute/xen_server/models/networks.rb
148
192
  - lib/fog/compute/xen_server/models/pbd.rb
@@ -190,54 +234,250 @@ files:
190
234
  - lib/fog/compute/xen_server/models/vtpm.rb
191
235
  - lib/fog/compute/xen_server/models/vtpms.rb
192
236
  - lib/fog/compute/xen_server/real.rb
237
+ - lib/fog/compute/xen_server/requests/add_ipv4_allowed_vif.rb
238
+ - lib/fog/compute/xen_server/requests/add_ipv6_allowed_vif.rb
239
+ - lib/fog/compute/xen_server/requests/add_to_vcpus_params_live_server.rb
240
+ - lib/fog/compute/xen_server/requests/apply_edition_host.rb
241
+ - lib/fog/compute/xen_server/requests/apply_edition_pool.rb
242
+ - lib/fog/compute/xen_server/requests/assert_agile_server.rb
243
+ - lib/fog/compute/xen_server/requests/assert_attachable_vbd.rb
244
+ - lib/fog/compute/xen_server/requests/assert_can_be_recovered_server.rb
245
+ - lib/fog/compute/xen_server/requests/assert_can_boot_here_server.rb
246
+ - lib/fog/compute/xen_server/requests/assert_can_evacuate_host.rb
247
+ - lib/fog/compute/xen_server/requests/assert_can_host_ha_statefile_sr.rb
248
+ - lib/fog/compute/xen_server/requests/assert_can_migrate_server.rb
249
+ - lib/fog/compute/xen_server/requests/assert_operation_valid_server.rb
250
+ - lib/fog/compute/xen_server/requests/assert_supports_database_replication_sr.rb
251
+ - lib/fog/compute/xen_server/requests/backup_rrds_host.rb
252
+ - lib/fog/compute/xen_server/requests/bugreport_upload_host.rb
193
253
  - lib/fog/compute/xen_server/requests/builtin_templates.rb
254
+ - lib/fog/compute/xen_server/requests/call_plugin_host.rb
255
+ - lib/fog/compute/xen_server/requests/certificate_install_pool.rb
256
+ - lib/fog/compute/xen_server/requests/certificate_list_pool.rb
257
+ - lib/fog/compute/xen_server/requests/certificate_sync_pool.rb
258
+ - lib/fog/compute/xen_server/requests/certificate_uninstall_pool.rb
259
+ - lib/fog/compute/xen_server/requests/checkpoint_server.rb
260
+ - lib/fog/compute/xen_server/requests/clean_reboot_server.rb
261
+ - lib/fog/compute/xen_server/requests/clean_shutdown_server.rb
194
262
  - lib/fog/compute/xen_server/requests/clone_server.rb
263
+ - lib/fog/compute/xen_server/requests/clone_vdi.rb
264
+ - lib/fog/compute/xen_server/requests/compute_free_memory_host.rb
265
+ - lib/fog/compute/xen_server/requests/compute_memory_overhead_host.rb
266
+ - lib/fog/compute/xen_server/requests/compute_memory_overhead_server.rb
267
+ - lib/fog/compute/xen_server/requests/copy_bios_strings_server.rb
268
+ - lib/fog/compute/xen_server/requests/copy_server.rb
269
+ - lib/fog/compute/xen_server/requests/copy_vdi.rb
195
270
  - lib/fog/compute/xen_server/requests/create_network.rb
271
+ - lib/fog/compute/xen_server/requests/create_new_blob_host.rb
272
+ - lib/fog/compute/xen_server/requests/create_new_blob_network.rb
273
+ - lib/fog/compute/xen_server/requests/create_new_blob_pool.rb
274
+ - lib/fog/compute/xen_server/requests/create_new_blob_server.rb
275
+ - lib/fog/compute/xen_server/requests/create_new_blob_sr.rb
196
276
  - lib/fog/compute/xen_server/requests/create_server.rb
197
277
  - lib/fog/compute/xen_server/requests/create_sr.rb
198
278
  - lib/fog/compute/xen_server/requests/create_vbd.rb
199
279
  - lib/fog/compute/xen_server/requests/create_vdi.rb
200
280
  - lib/fog/compute/xen_server/requests/create_vif.rb
201
281
  - lib/fog/compute/xen_server/requests/create_vlan.rb
282
+ - lib/fog/compute/xen_server/requests/create_vlan_from_pif_pool.rb
283
+ - lib/fog/compute/xen_server/requests/create_vlan_pool.rb
284
+ - lib/fog/compute/xen_server/requests/crl_install_pool.rb
285
+ - lib/fog/compute/xen_server/requests/crl_list_pool.rb
286
+ - lib/fog/compute/xen_server/requests/crl_uninstall_pool.rb
202
287
  - lib/fog/compute/xen_server/requests/custom_templates.rb
203
- - lib/fog/compute/xen_server/requests/destroy_network.rb
204
- - lib/fog/compute/xen_server/requests/destroy_server.rb
288
+ - lib/fog/compute/xen_server/requests/db_forget_pif.rb
289
+ - lib/fog/compute/xen_server/requests/db_forget_vdi.rb
290
+ - lib/fog/compute/xen_server/requests/db_introduce_pif.rb
291
+ - lib/fog/compute/xen_server/requests/db_introduce_vdi.rb
292
+ - lib/fog/compute/xen_server/requests/declare_dead_host.rb
293
+ - lib/fog/compute/xen_server/requests/designate_new_master_pool.rb
294
+ - lib/fog/compute/xen_server/requests/destroy_host.rb
295
+ - lib/fog/compute/xen_server/requests/destroy_record.rb
205
296
  - lib/fog/compute/xen_server/requests/destroy_sr.rb
206
- - lib/fog/compute/xen_server/requests/destroy_vdi.rb
207
- - lib/fog/compute/xen_server/requests/destroy_vif.rb
208
- - lib/fog/compute/xen_server/requests/destroy_vlan.rb
297
+ - lib/fog/compute/xen_server/requests/detect_nonhomogeneous_external_auth_pool.rb
298
+ - lib/fog/compute/xen_server/requests/disable_database_replication_sr.rb
299
+ - lib/fog/compute/xen_server/requests/disable_external_auth_host.rb
300
+ - lib/fog/compute/xen_server/requests/disable_external_auth_pool.rb
301
+ - lib/fog/compute/xen_server/requests/disable_ha_pool.rb
209
302
  - lib/fog/compute/xen_server/requests/disable_host.rb
303
+ - lib/fog/compute/xen_server/requests/disable_local_storage_caching_host.rb
304
+ - lib/fog/compute/xen_server/requests/disable_local_storage_caching_pool.rb
305
+ - lib/fog/compute/xen_server/requests/disable_redo_log_pool.rb
306
+ - lib/fog/compute/xen_server/requests/dmesg_clear_host.rb
307
+ - lib/fog/compute/xen_server/requests/dmesg_host.rb
308
+ - lib/fog/compute/xen_server/requests/eject_pool.rb
210
309
  - lib/fog/compute/xen_server/requests/eject_vbd.rb
310
+ - lib/fog/compute/xen_server/requests/emergency_ha_disable_host.rb
311
+ - lib/fog/compute/xen_server/requests/emergency_reset_master_pool.rb
312
+ - lib/fog/compute/xen_server/requests/emergency_transition_to_master_pool.rb
313
+ - lib/fog/compute/xen_server/requests/enable_database_replication_sr.rb
314
+ - lib/fog/compute/xen_server/requests/enable_external_auth_host.rb
315
+ - lib/fog/compute/xen_server/requests/enable_external_auth_pool.rb
316
+ - lib/fog/compute/xen_server/requests/enable_ha_pool.rb
211
317
  - lib/fog/compute/xen_server/requests/enable_host.rb
318
+ - lib/fog/compute/xen_server/requests/enable_local_storage_caching_host.rb
319
+ - lib/fog/compute/xen_server/requests/enable_local_storage_caching_pool.rb
320
+ - lib/fog/compute/xen_server/requests/enable_redo_log_pool.rb
321
+ - lib/fog/compute/xen_server/requests/evacuate_host.rb
322
+ - lib/fog/compute/xen_server/requests/forget_data_source_archives_host.rb
323
+ - lib/fog/compute/xen_server/requests/forget_data_source_archives_server.rb
324
+ - lib/fog/compute/xen_server/requests/forget_pif.rb
325
+ - lib/fog/compute/xen_server/requests/forget_sr.rb
326
+ - lib/fog/compute/xen_server/requests/forget_vdi.rb
327
+ - lib/fog/compute/xen_server/requests/get_allowed_vbd_devices_server.rb
328
+ - lib/fog/compute/xen_server/requests/get_allowed_vif_devices_server.rb
329
+ - lib/fog/compute/xen_server/requests/get_boot_record_server.rb
330
+ - lib/fog/compute/xen_server/requests/get_data_sources_host.rb
331
+ - lib/fog/compute/xen_server/requests/get_data_sources_server.rb
332
+ - lib/fog/compute/xen_server/requests/get_license_state_pool.rb
333
+ - lib/fog/compute/xen_server/requests/get_log_host.rb
334
+ - lib/fog/compute/xen_server/requests/get_management_interface_host.rb
335
+ - lib/fog/compute/xen_server/requests/get_possible_hosts_server.rb
212
336
  - lib/fog/compute/xen_server/requests/get_record.rb
213
337
  - lib/fog/compute/xen_server/requests/get_records.rb
338
+ - lib/fog/compute/xen_server/requests/get_server_certificate_host.rb
339
+ - lib/fog/compute/xen_server/requests/get_server_localtime_host.rb
340
+ - lib/fog/compute/xen_server/requests/get_servertime_host.rb
341
+ - lib/fog/compute/xen_server/requests/get_supported_types_sr.rb
342
+ - lib/fog/compute/xen_server/requests/get_system_status_capabilities_host.rb
343
+ - lib/fog/compute/xen_server/requests/get_vms_which_prevent_evacuation_host.rb
344
+ - lib/fog/compute/xen_server/requests/ha_compute_hypothetical_max_host_failures_to_tolerate_pool.rb
345
+ - lib/fog/compute/xen_server/requests/ha_compute_max_host_failures_to_tolerate_pool.rb
346
+ - lib/fog/compute/xen_server/requests/ha_compute_vm_failover_plan_pool.rb
347
+ - lib/fog/compute/xen_server/requests/ha_failover_plan_exists_pool.rb
348
+ - lib/fog/compute/xen_server/requests/ha_prevent_restarts_for_pool.rb
349
+ - lib/fog/compute/xen_server/requests/hard_reboot_server.rb
350
+ - lib/fog/compute/xen_server/requests/hard_shutdown_server.rb
351
+ - lib/fog/compute/xen_server/requests/import_convert_server.rb
214
352
  - lib/fog/compute/xen_server/requests/insert_vbd.rb
353
+ - lib/fog/compute/xen_server/requests/introduce_pif.rb
354
+ - lib/fog/compute/xen_server/requests/introduce_sr.rb
355
+ - lib/fog/compute/xen_server/requests/introduce_vdi.rb
356
+ - lib/fog/compute/xen_server/requests/join_force_pool.rb
357
+ - lib/fog/compute/xen_server/requests/join_pool.rb
358
+ - lib/fog/compute/xen_server/requests/list_methods_host.rb
359
+ - lib/fog/compute/xen_server/requests/local_management_reconfigure_host.rb
360
+ - lib/fog/compute/xen_server/requests/management_disable_host.rb
361
+ - lib/fog/compute/xen_server/requests/management_reconfigure_host.rb
362
+ - lib/fog/compute/xen_server/requests/maximise_memory_server.rb
363
+ - lib/fog/compute/xen_server/requests/migrate_receive_host.rb
364
+ - lib/fog/compute/xen_server/requests/migrate_send_server.rb
365
+ - lib/fog/compute/xen_server/requests/open_database_vdi.rb
366
+ - lib/fog/compute/xen_server/requests/pause_server.rb
367
+ - lib/fog/compute/xen_server/requests/plug_pbd.rb
368
+ - lib/fog/compute/xen_server/requests/plug_pif.rb
369
+ - lib/fog/compute/xen_server/requests/plug_vbd.rb
370
+ - lib/fog/compute/xen_server/requests/plug_vif.rb
371
+ - lib/fog/compute/xen_server/requests/pool_migrate_server.rb
372
+ - lib/fog/compute/xen_server/requests/pool_migrate_vdi.rb
373
+ - lib/fog/compute/xen_server/requests/power_on_host.rb
374
+ - lib/fog/compute/xen_server/requests/power_state_reset_server.rb
375
+ - lib/fog/compute/xen_server/requests/probe_sr.rb
215
376
  - lib/fog/compute/xen_server/requests/provision_server.rb
377
+ - lib/fog/compute/xen_server/requests/query_data_source_host.rb
378
+ - lib/fog/compute/xen_server/requests/query_data_source_server.rb
379
+ - lib/fog/compute/xen_server/requests/query_services_server.rb
380
+ - lib/fog/compute/xen_server/requests/read_database_pool_uuid_vdi.rb
216
381
  - lib/fog/compute/xen_server/requests/reboot_host.rb
217
382
  - lib/fog/compute/xen_server/requests/reboot_server.rb
383
+ - lib/fog/compute/xen_server/requests/reconfigure_ip_pif.rb
384
+ - lib/fog/compute/xen_server/requests/reconfigure_ipv6_pif.rb
385
+ - lib/fog/compute/xen_server/requests/record_data_source_host.rb
386
+ - lib/fog/compute/xen_server/requests/record_data_source_server.rb
387
+ - lib/fog/compute/xen_server/requests/recover_server.rb
388
+ - lib/fog/compute/xen_server/requests/recover_slaves_pool.rb
389
+ - lib/fog/compute/xen_server/requests/refresh_pack_info_host.rb
390
+ - lib/fog/compute/xen_server/requests/remove_ipv4_allowed_vif.rb
391
+ - lib/fog/compute/xen_server/requests/remove_ipv6_allowed_vif.rb
392
+ - lib/fog/compute/xen_server/requests/reset_cpu_features_host.rb
393
+ - lib/fog/compute/xen_server/requests/resize_online_vdi.rb
394
+ - lib/fog/compute/xen_server/requests/resize_vdi.rb
395
+ - lib/fog/compute/xen_server/requests/restart_agent_host.rb
396
+ - lib/fog/compute/xen_server/requests/resume_on_server.rb
397
+ - lib/fog/compute/xen_server/requests/resume_server.rb
398
+ - lib/fog/compute/xen_server/requests/revert_server.rb
399
+ - lib/fog/compute/xen_server/requests/revert_to_server.rb
400
+ - lib/fog/compute/xen_server/requests/scan_pif.rb
218
401
  - lib/fog/compute/xen_server/requests/scan_sr.rb
402
+ - lib/fog/compute/xen_server/requests/send_debug_keys_host.rb
403
+ - lib/fog/compute/xen_server/requests/send_sysrq_server.rb
404
+ - lib/fog/compute/xen_server/requests/send_test_post_pool.rb
405
+ - lib/fog/compute/xen_server/requests/send_trigger_server.rb
219
406
  - lib/fog/compute/xen_server/requests/set_affinity.rb
407
+ - lib/fog/compute/xen_server/requests/set_allow_caching_vdi.rb
408
+ - lib/fog/compute/xen_server/requests/set_appliance_server.rb
220
409
  - lib/fog/compute/xen_server/requests/set_attribute.rb
410
+ - lib/fog/compute/xen_server/requests/set_cpu_features_host.rb
411
+ - lib/fog/compute/xen_server/requests/set_default_locking_mode_network.rb
412
+ - lib/fog/compute/xen_server/requests/set_device_config_pbd.rb
413
+ - lib/fog/compute/xen_server/requests/set_ha_host_failures_to_tolerate_pool.rb
414
+ - lib/fog/compute/xen_server/requests/set_ha_restart_priority_server.rb
415
+ - lib/fog/compute/xen_server/requests/set_hostname_live_host.rb
416
+ - lib/fog/compute/xen_server/requests/set_hvm_shadow_multiplier_server.rb
417
+ - lib/fog/compute/xen_server/requests/set_ipv4_allowed_vif.rb
418
+ - lib/fog/compute/xen_server/requests/set_ipv6_allowed_vif.rb
419
+ - lib/fog/compute/xen_server/requests/set_is_a_snapshot_vdi.rb
420
+ - lib/fog/compute/xen_server/requests/set_locking_mode_vif.rb
421
+ - lib/fog/compute/xen_server/requests/set_managed_vdi.rb
422
+ - lib/fog/compute/xen_server/requests/set_memory_dynamic_max_server.rb
423
+ - lib/fog/compute/xen_server/requests/set_memory_dynamic_min_server.rb
424
+ - lib/fog/compute/xen_server/requests/set_memory_dynamic_range_server.rb
425
+ - lib/fog/compute/xen_server/requests/set_memory_limits_server.rb
426
+ - lib/fog/compute/xen_server/requests/set_memory_static_max_server.rb
427
+ - lib/fog/compute/xen_server/requests/set_memory_static_min_server.rb
428
+ - lib/fog/compute/xen_server/requests/set_memory_static_range_server.rb
429
+ - lib/fog/compute/xen_server/requests/set_metadata_of_pool_vdi.rb
430
+ - lib/fog/compute/xen_server/requests/set_missing_vdi.rb
431
+ - lib/fog/compute/xen_server/requests/set_name_description_sr.rb
432
+ - lib/fog/compute/xen_server/requests/set_name_description_vdi.rb
433
+ - lib/fog/compute/xen_server/requests/set_name_label_sr.rb
434
+ - lib/fog/compute/xen_server/requests/set_name_label_vdi.rb
435
+ - lib/fog/compute/xen_server/requests/set_on_boot_vdi.rb
436
+ - lib/fog/compute/xen_server/requests/set_order_server.rb
437
+ - lib/fog/compute/xen_server/requests/set_physical_size_sr.rb
438
+ - lib/fog/compute/xen_server/requests/set_physical_utilisation_sr.rb
439
+ - lib/fog/compute/xen_server/requests/set_physical_utilisation_vdi.rb
440
+ - lib/fog/compute/xen_server/requests/set_power_on_mode_host.rb
441
+ - lib/fog/compute/xen_server/requests/set_primary_address_type_pif.rb
442
+ - lib/fog/compute/xen_server/requests/set_protection_policy_server.rb
443
+ - lib/fog/compute/xen_server/requests/set_read_only_vdi.rb
444
+ - lib/fog/compute/xen_server/requests/set_shadow_multiplier_live_server.rb
445
+ - lib/fog/compute/xen_server/requests/set_sharable_vdi.rb
446
+ - lib/fog/compute/xen_server/requests/set_shared_sr.rb
447
+ - lib/fog/compute/xen_server/requests/set_shutdown_delay_server.rb
448
+ - lib/fog/compute/xen_server/requests/set_snapshot_of_vdi.rb
449
+ - lib/fog/compute/xen_server/requests/set_snapshot_time_vdi.rb
450
+ - lib/fog/compute/xen_server/requests/set_start_delay_server.rb
451
+ - lib/fog/compute/xen_server/requests/set_suspend_vdi_server.rb
452
+ - lib/fog/compute/xen_server/requests/set_vcpus_at_startup_server.rb
453
+ - lib/fog/compute/xen_server/requests/set_vcpus_max_server.rb
454
+ - lib/fog/compute/xen_server/requests/set_vcpus_number_live_server.rb
455
+ - lib/fog/compute/xen_server/requests/set_virtual_allocation_sr.rb
456
+ - lib/fog/compute/xen_server/requests/set_virtual_size_vdi.rb
457
+ - lib/fog/compute/xen_server/requests/set_vswitch_controller_pool.rb
458
+ - lib/fog/compute/xen_server/requests/shutdown_agent_host.rb
221
459
  - lib/fog/compute/xen_server/requests/shutdown_host.rb
222
460
  - lib/fog/compute/xen_server/requests/shutdown_server.rb
223
- - lib/fog/compute/xen_server/requests/snapshot_revert.rb
224
461
  - lib/fog/compute/xen_server/requests/snapshot_server.rb
462
+ - lib/fog/compute/xen_server/requests/snapshot_vdi.rb
463
+ - lib/fog/compute/xen_server/requests/snapshot_with_quiesce_server.rb
464
+ - lib/fog/compute/xen_server/requests/snapshots.rb
465
+ - lib/fog/compute/xen_server/requests/start_on_server.rb
225
466
  - lib/fog/compute/xen_server/requests/start_server.rb
226
- - lib/fog/compute/xen_server/requests/start_vm.rb
467
+ - lib/fog/compute/xen_server/requests/suspend_server.rb
468
+ - lib/fog/compute/xen_server/requests/sync_data_host.rb
469
+ - lib/fog/compute/xen_server/requests/sync_database_pool.rb
227
470
  - lib/fog/compute/xen_server/requests/templates.rb
471
+ - lib/fog/compute/xen_server/requests/unpause_server.rb
472
+ - lib/fog/compute/xen_server/requests/unplug_force_vbd.rb
228
473
  - lib/fog/compute/xen_server/requests/unplug_pbd.rb
229
474
  - lib/fog/compute/xen_server/requests/unplug_vbd.rb
230
- - lib/fog/model.rb
475
+ - lib/fog/compute/xen_server/requests/unplug_vif.rb
476
+ - lib/fog/compute/xen_server/requests/update_sr.rb
477
+ - lib/fog/compute/xen_server/requests/update_vdi.rb
231
478
  - lib/fog/parsers/xen_server.rb
232
479
  - lib/fog/parsers/xen_server/base.rb
233
- - lib/fog/parsers/xen_server/get_hosts.rb
234
- - lib/fog/parsers/xen_server/get_networks.rb
235
- - lib/fog/parsers/xen_server/get_pools.rb
236
480
  - lib/fog/parsers/xen_server/get_records.rb
237
- - lib/fog/parsers/xen_server/get_storage_repositories.rb
238
- - lib/fog/parsers/xen_server/get_vbds.rb
239
- - lib/fog/parsers/xen_server/get_vifs.rb
240
- - lib/fog/parsers/xen_server/get_vms.rb
241
481
  - lib/fog/utilities.rb
242
482
  - lib/fog/xen_server/connection.rb
243
483
  - lib/fog/xen_server/invalid_login.rb
@@ -247,42 +487,110 @@ files:
247
487
  - lib/fog/xen_server/version.rb
248
488
  - lib/fog/xenserver.rb
249
489
  - lib/fog/xenserver/compute.rb
250
- - test/fog/compute/xen_server/models/blob_test.rb
251
- - test/fog/compute/xen_server/models/bond_test.rb
252
- - test/fog/compute/xen_server/models/console_test.rb
253
- - test/fog/compute/xen_server/models/crash_dump_test.rb
254
- - test/fog/compute/xen_server/models/dr_task_test.rb
255
- - test/fog/compute/xen_server/models/gpu_group_test.rb
256
- - test/fog/compute/xen_server/models/guest_metrics_test.rb
257
- - test/fog/compute/xen_server/models/host_cpu_test.rb
258
- - test/fog/compute/xen_server/models/host_crash_dump_test.rb
259
- - test/fog/compute/xen_server/models/host_metrics_test.rb
260
- - test/fog/compute/xen_server/models/host_patch_test.rb
261
- - test/fog/compute/xen_server/models/host_test.rb
262
- - test/fog/compute/xen_server/models/network_test.rb
263
- - test/fog/compute/xen_server/models/pbd_test.rb
264
- - test/fog/compute/xen_server/models/pci_test.rb
265
- - test/fog/compute/xen_server/models/pgpu_test.rb
266
- - test/fog/compute/xen_server/models/pif_metrics_test.rb
267
- - test/fog/compute/xen_server/models/pif_test.rb
268
- - test/fog/compute/xen_server/models/pool_patch_test.rb
269
- - test/fog/compute/xen_server/models/pool_test.rb
270
- - test/fog/compute/xen_server/models/role_test.rb
271
- - test/fog/compute/xen_server/models/server_appliance_test.rb
272
- - test/fog/compute/xen_server/models/server_metrics_test.rb
273
- - test/fog/compute/xen_server/models/server_test.rb
274
- - test/fog/compute/xen_server/models/storage_manger_test.rb
275
- - test/fog/compute/xen_server/models/storage_repository_test.rb
276
- - test/fog/compute/xen_server/models/tunnel_test.rb
277
- - test/fog/compute/xen_server/models/vbd_metrics_test.rb
278
- - test/fog/compute/xen_server/models/vbd_test.rb
279
- - test/fog/compute/xen_server/models/vdi_test.rb
280
- - test/fog/compute/xen_server/models/vif_metrics_test.rb
281
- - test/fog/compute/xen_server/models/vif_test.rb
282
- - test/fog/compute/xen_server/models/vlan_test.rb
283
- - test/fog/compute/xen_server/models/vmpp_test.rb
284
- - test/fog/compute/xen_server/models/vtpm_test.rb
285
- - test/minitest_helper.rb
490
+ - spec/cassettes/builtin_templates.yml
491
+ - spec/cassettes/clone_server.yml
492
+ - spec/cassettes/create_network.yml
493
+ - spec/cassettes/create_server_create_vm.yml
494
+ - spec/cassettes/create_server_get_all_hosts.yml
495
+ - spec/cassettes/create_server_open_connection.yml
496
+ - spec/cassettes/create_vbd_create_vbd.yml
497
+ - spec/cassettes/create_vbd_create_vdi.yml
498
+ - spec/cassettes/create_vbd_create_vm.yml
499
+ - spec/cassettes/create_vbd_get_all_hosts.yml
500
+ - spec/cassettes/create_vbd_get_storage_repository.yml
501
+ - spec/cassettes/create_vbd_open_connection.yml
502
+ - spec/cassettes/create_vdi.yml
503
+ - spec/cassettes/create_vif_create_vif.yml
504
+ - spec/cassettes/create_vif_get_network_by_name.yml
505
+ - spec/cassettes/create_vif_open_connection.yml
506
+ - spec/cassettes/create_vif_vif_set_device_number.yml
507
+ - spec/cassettes/get_all_hosts.yml
508
+ - spec/cassettes/get_network_by_name.yml
509
+ - spec/cassettes/get_storage_repository.yml
510
+ - spec/cassettes/get_vm_by_name.yml
511
+ - spec/cassettes/open_connection.yml
512
+ - spec/cassettes/sync_database_pool.yml
513
+ - spec/cassettes/vif_set_device_number.yml
514
+ - spec/fog/compute/xen_server/models/blob_spec.rb
515
+ - spec/fog/compute/xen_server/models/blobs_spec.rb
516
+ - spec/fog/compute/xen_server/models/bond_spec.rb
517
+ - spec/fog/compute/xen_server/models/bonds_spec.rb
518
+ - spec/fog/compute/xen_server/models/console_spec.rb
519
+ - spec/fog/compute/xen_server/models/consoles_spec.rb
520
+ - spec/fog/compute/xen_server/models/crash_dump_spec.rb
521
+ - spec/fog/compute/xen_server/models/crash_dumps_spec.rb
522
+ - spec/fog/compute/xen_server/models/dr_task_spec.rb
523
+ - spec/fog/compute/xen_server/models/dr_tasks_spec.rb
524
+ - spec/fog/compute/xen_server/models/gpu_group_spec.rb
525
+ - spec/fog/compute/xen_server/models/gpu_groups_spec.rb
526
+ - spec/fog/compute/xen_server/models/guest_metrics_spec.rb
527
+ - spec/fog/compute/xen_server/models/guests_metrics_spec.rb
528
+ - spec/fog/compute/xen_server/models/host_cpu_spec.rb
529
+ - spec/fog/compute/xen_server/models/host_cpus_spec.rb
530
+ - spec/fog/compute/xen_server/models/host_crash_dump_spec.rb
531
+ - spec/fog/compute/xen_server/models/host_crash_dumps_spec.rb
532
+ - spec/fog/compute/xen_server/models/host_metrics_spec.rb
533
+ - spec/fog/compute/xen_server/models/host_patch_spec.rb
534
+ - spec/fog/compute/xen_server/models/host_patchs_spec.rb
535
+ - spec/fog/compute/xen_server/models/host_spec.rb
536
+ - spec/fog/compute/xen_server/models/hosts_metrics_spec.rb
537
+ - spec/fog/compute/xen_server/models/hosts_spec.rb
538
+ - spec/fog/compute/xen_server/models/network_spec.rb
539
+ - spec/fog/compute/xen_server/models/networks_spec.rb
540
+ - spec/fog/compute/xen_server/models/pbd_spec.rb
541
+ - spec/fog/compute/xen_server/models/pbds_spec.rb
542
+ - spec/fog/compute/xen_server/models/pci_spec.rb
543
+ - spec/fog/compute/xen_server/models/pcis_spec.rb
544
+ - spec/fog/compute/xen_server/models/pgpu_spec.rb
545
+ - spec/fog/compute/xen_server/models/pgpus_spec.rb
546
+ - spec/fog/compute/xen_server/models/pif_metrics_spec.rb
547
+ - spec/fog/compute/xen_server/models/pif_spec.rb
548
+ - spec/fog/compute/xen_server/models/pifs_metrics_spec.rb
549
+ - spec/fog/compute/xen_server/models/pifs_spec.rb
550
+ - spec/fog/compute/xen_server/models/pool_patch_spec.rb
551
+ - spec/fog/compute/xen_server/models/pool_patchs_spec.rb
552
+ - spec/fog/compute/xen_server/models/pool_spec.rb
553
+ - spec/fog/compute/xen_server/models/pools_spec.rb
554
+ - spec/fog/compute/xen_server/models/role_spec.rb
555
+ - spec/fog/compute/xen_server/models/roles_spec.rb
556
+ - spec/fog/compute/xen_server/models/server_appliance_spec.rb
557
+ - spec/fog/compute/xen_server/models/server_appliances_spec.rb
558
+ - spec/fog/compute/xen_server/models/server_metrics_spec.rb
559
+ - spec/fog/compute/xen_server/models/server_spec.rb
560
+ - spec/fog/compute/xen_server/models/servers_metrics_spec.rb
561
+ - spec/fog/compute/xen_server/models/servers_spec.rb
562
+ - spec/fog/compute/xen_server/models/storage_manager_spec.rb
563
+ - spec/fog/compute/xen_server/models/storage_managers_spec.rb
564
+ - spec/fog/compute/xen_server/models/storage_repositories_spec.rb
565
+ - spec/fog/compute/xen_server/models/storage_repository_spec.rb
566
+ - spec/fog/compute/xen_server/models/tunnel_spec.rb
567
+ - spec/fog/compute/xen_server/models/tunnels_spec.rb
568
+ - spec/fog/compute/xen_server/models/vbd_metrics_spec.rb
569
+ - spec/fog/compute/xen_server/models/vbd_spec.rb
570
+ - spec/fog/compute/xen_server/models/vbds_metrics_spec.rb
571
+ - spec/fog/compute/xen_server/models/vbds_spec.rb
572
+ - spec/fog/compute/xen_server/models/vdi_spec.rb
573
+ - spec/fog/compute/xen_server/models/vdis_spec.rb
574
+ - spec/fog/compute/xen_server/models/vif_metrics_spec.rb
575
+ - spec/fog/compute/xen_server/models/vif_spec.rb
576
+ - spec/fog/compute/xen_server/models/vifs_metrics_spec.rb
577
+ - spec/fog/compute/xen_server/models/vifs_spec.rb
578
+ - spec/fog/compute/xen_server/models/vlan_spec.rb
579
+ - spec/fog/compute/xen_server/models/vlans_spec.rb
580
+ - spec/fog/compute/xen_server/models/vmpp_spec.rb
581
+ - spec/fog/compute/xen_server/models/vmpps_spec.rb
582
+ - spec/fog/compute/xen_server/models/vtpm_spec.rb
583
+ - spec/fog/compute/xen_server/models/vtpms_spec.rb
584
+ - spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
585
+ - spec/fog/compute/xen_server/requests/clone_server_spec.rb
586
+ - spec/fog/compute/xen_server/requests/create_network_spec.rb
587
+ - spec/fog/compute/xen_server/requests/create_server_spec.rb
588
+ - spec/fog/compute/xen_server/requests/create_vbd_spec.rb
589
+ - spec/fog/compute/xen_server/requests/create_vdi_spec.rb
590
+ - spec/fog/compute/xen_server/requests/create_vif_spec.rb
591
+ - spec/fog/compute/xen_server/requests/sync_database_pool_spec.rb
592
+ - spec/fog/compute/xen_server_spec.rb
593
+ - spec/minitest_helper.rb
286
594
  homepage: https://github.com/fog/fog-xenserver
287
595
  licenses:
288
596
  - MIT
@@ -309,39 +617,107 @@ specification_version: 4
309
617
  summary: This library can be used as a module for `fog` or as standalone provider
310
618
  to use the XENSERVER in applications.
311
619
  test_files:
312
- - test/fog/compute/xen_server/models/blob_test.rb
313
- - test/fog/compute/xen_server/models/bond_test.rb
314
- - test/fog/compute/xen_server/models/console_test.rb
315
- - test/fog/compute/xen_server/models/crash_dump_test.rb
316
- - test/fog/compute/xen_server/models/dr_task_test.rb
317
- - test/fog/compute/xen_server/models/gpu_group_test.rb
318
- - test/fog/compute/xen_server/models/guest_metrics_test.rb
319
- - test/fog/compute/xen_server/models/host_cpu_test.rb
320
- - test/fog/compute/xen_server/models/host_crash_dump_test.rb
321
- - test/fog/compute/xen_server/models/host_metrics_test.rb
322
- - test/fog/compute/xen_server/models/host_patch_test.rb
323
- - test/fog/compute/xen_server/models/host_test.rb
324
- - test/fog/compute/xen_server/models/network_test.rb
325
- - test/fog/compute/xen_server/models/pbd_test.rb
326
- - test/fog/compute/xen_server/models/pci_test.rb
327
- - test/fog/compute/xen_server/models/pgpu_test.rb
328
- - test/fog/compute/xen_server/models/pif_metrics_test.rb
329
- - test/fog/compute/xen_server/models/pif_test.rb
330
- - test/fog/compute/xen_server/models/pool_patch_test.rb
331
- - test/fog/compute/xen_server/models/pool_test.rb
332
- - test/fog/compute/xen_server/models/role_test.rb
333
- - test/fog/compute/xen_server/models/server_appliance_test.rb
334
- - test/fog/compute/xen_server/models/server_metrics_test.rb
335
- - test/fog/compute/xen_server/models/server_test.rb
336
- - test/fog/compute/xen_server/models/storage_manger_test.rb
337
- - test/fog/compute/xen_server/models/storage_repository_test.rb
338
- - test/fog/compute/xen_server/models/tunnel_test.rb
339
- - test/fog/compute/xen_server/models/vbd_metrics_test.rb
340
- - test/fog/compute/xen_server/models/vbd_test.rb
341
- - test/fog/compute/xen_server/models/vdi_test.rb
342
- - test/fog/compute/xen_server/models/vif_metrics_test.rb
343
- - test/fog/compute/xen_server/models/vif_test.rb
344
- - test/fog/compute/xen_server/models/vlan_test.rb
345
- - test/fog/compute/xen_server/models/vmpp_test.rb
346
- - test/fog/compute/xen_server/models/vtpm_test.rb
347
- - test/minitest_helper.rb
620
+ - spec/cassettes/builtin_templates.yml
621
+ - spec/cassettes/clone_server.yml
622
+ - spec/cassettes/create_network.yml
623
+ - spec/cassettes/create_server_create_vm.yml
624
+ - spec/cassettes/create_server_get_all_hosts.yml
625
+ - spec/cassettes/create_server_open_connection.yml
626
+ - spec/cassettes/create_vbd_create_vbd.yml
627
+ - spec/cassettes/create_vbd_create_vdi.yml
628
+ - spec/cassettes/create_vbd_create_vm.yml
629
+ - spec/cassettes/create_vbd_get_all_hosts.yml
630
+ - spec/cassettes/create_vbd_get_storage_repository.yml
631
+ - spec/cassettes/create_vbd_open_connection.yml
632
+ - spec/cassettes/create_vdi.yml
633
+ - spec/cassettes/create_vif_create_vif.yml
634
+ - spec/cassettes/create_vif_get_network_by_name.yml
635
+ - spec/cassettes/create_vif_open_connection.yml
636
+ - spec/cassettes/create_vif_vif_set_device_number.yml
637
+ - spec/cassettes/get_all_hosts.yml
638
+ - spec/cassettes/get_network_by_name.yml
639
+ - spec/cassettes/get_storage_repository.yml
640
+ - spec/cassettes/get_vm_by_name.yml
641
+ - spec/cassettes/open_connection.yml
642
+ - spec/cassettes/sync_database_pool.yml
643
+ - spec/cassettes/vif_set_device_number.yml
644
+ - spec/fog/compute/xen_server/models/blob_spec.rb
645
+ - spec/fog/compute/xen_server/models/blobs_spec.rb
646
+ - spec/fog/compute/xen_server/models/bond_spec.rb
647
+ - spec/fog/compute/xen_server/models/bonds_spec.rb
648
+ - spec/fog/compute/xen_server/models/console_spec.rb
649
+ - spec/fog/compute/xen_server/models/consoles_spec.rb
650
+ - spec/fog/compute/xen_server/models/crash_dump_spec.rb
651
+ - spec/fog/compute/xen_server/models/crash_dumps_spec.rb
652
+ - spec/fog/compute/xen_server/models/dr_task_spec.rb
653
+ - spec/fog/compute/xen_server/models/dr_tasks_spec.rb
654
+ - spec/fog/compute/xen_server/models/gpu_group_spec.rb
655
+ - spec/fog/compute/xen_server/models/gpu_groups_spec.rb
656
+ - spec/fog/compute/xen_server/models/guest_metrics_spec.rb
657
+ - spec/fog/compute/xen_server/models/guests_metrics_spec.rb
658
+ - spec/fog/compute/xen_server/models/host_cpu_spec.rb
659
+ - spec/fog/compute/xen_server/models/host_cpus_spec.rb
660
+ - spec/fog/compute/xen_server/models/host_crash_dump_spec.rb
661
+ - spec/fog/compute/xen_server/models/host_crash_dumps_spec.rb
662
+ - spec/fog/compute/xen_server/models/host_metrics_spec.rb
663
+ - spec/fog/compute/xen_server/models/host_patch_spec.rb
664
+ - spec/fog/compute/xen_server/models/host_patchs_spec.rb
665
+ - spec/fog/compute/xen_server/models/host_spec.rb
666
+ - spec/fog/compute/xen_server/models/hosts_metrics_spec.rb
667
+ - spec/fog/compute/xen_server/models/hosts_spec.rb
668
+ - spec/fog/compute/xen_server/models/network_spec.rb
669
+ - spec/fog/compute/xen_server/models/networks_spec.rb
670
+ - spec/fog/compute/xen_server/models/pbd_spec.rb
671
+ - spec/fog/compute/xen_server/models/pbds_spec.rb
672
+ - spec/fog/compute/xen_server/models/pci_spec.rb
673
+ - spec/fog/compute/xen_server/models/pcis_spec.rb
674
+ - spec/fog/compute/xen_server/models/pgpu_spec.rb
675
+ - spec/fog/compute/xen_server/models/pgpus_spec.rb
676
+ - spec/fog/compute/xen_server/models/pif_metrics_spec.rb
677
+ - spec/fog/compute/xen_server/models/pif_spec.rb
678
+ - spec/fog/compute/xen_server/models/pifs_metrics_spec.rb
679
+ - spec/fog/compute/xen_server/models/pifs_spec.rb
680
+ - spec/fog/compute/xen_server/models/pool_patch_spec.rb
681
+ - spec/fog/compute/xen_server/models/pool_patchs_spec.rb
682
+ - spec/fog/compute/xen_server/models/pool_spec.rb
683
+ - spec/fog/compute/xen_server/models/pools_spec.rb
684
+ - spec/fog/compute/xen_server/models/role_spec.rb
685
+ - spec/fog/compute/xen_server/models/roles_spec.rb
686
+ - spec/fog/compute/xen_server/models/server_appliance_spec.rb
687
+ - spec/fog/compute/xen_server/models/server_appliances_spec.rb
688
+ - spec/fog/compute/xen_server/models/server_metrics_spec.rb
689
+ - spec/fog/compute/xen_server/models/server_spec.rb
690
+ - spec/fog/compute/xen_server/models/servers_metrics_spec.rb
691
+ - spec/fog/compute/xen_server/models/servers_spec.rb
692
+ - spec/fog/compute/xen_server/models/storage_manager_spec.rb
693
+ - spec/fog/compute/xen_server/models/storage_managers_spec.rb
694
+ - spec/fog/compute/xen_server/models/storage_repositories_spec.rb
695
+ - spec/fog/compute/xen_server/models/storage_repository_spec.rb
696
+ - spec/fog/compute/xen_server/models/tunnel_spec.rb
697
+ - spec/fog/compute/xen_server/models/tunnels_spec.rb
698
+ - spec/fog/compute/xen_server/models/vbd_metrics_spec.rb
699
+ - spec/fog/compute/xen_server/models/vbd_spec.rb
700
+ - spec/fog/compute/xen_server/models/vbds_metrics_spec.rb
701
+ - spec/fog/compute/xen_server/models/vbds_spec.rb
702
+ - spec/fog/compute/xen_server/models/vdi_spec.rb
703
+ - spec/fog/compute/xen_server/models/vdis_spec.rb
704
+ - spec/fog/compute/xen_server/models/vif_metrics_spec.rb
705
+ - spec/fog/compute/xen_server/models/vif_spec.rb
706
+ - spec/fog/compute/xen_server/models/vifs_metrics_spec.rb
707
+ - spec/fog/compute/xen_server/models/vifs_spec.rb
708
+ - spec/fog/compute/xen_server/models/vlan_spec.rb
709
+ - spec/fog/compute/xen_server/models/vlans_spec.rb
710
+ - spec/fog/compute/xen_server/models/vmpp_spec.rb
711
+ - spec/fog/compute/xen_server/models/vmpps_spec.rb
712
+ - spec/fog/compute/xen_server/models/vtpm_spec.rb
713
+ - spec/fog/compute/xen_server/models/vtpms_spec.rb
714
+ - spec/fog/compute/xen_server/requests/builtin_templates_spec.rb
715
+ - spec/fog/compute/xen_server/requests/clone_server_spec.rb
716
+ - spec/fog/compute/xen_server/requests/create_network_spec.rb
717
+ - spec/fog/compute/xen_server/requests/create_server_spec.rb
718
+ - spec/fog/compute/xen_server/requests/create_vbd_spec.rb
719
+ - spec/fog/compute/xen_server/requests/create_vdi_spec.rb
720
+ - spec/fog/compute/xen_server/requests/create_vif_spec.rb
721
+ - spec/fog/compute/xen_server/requests/sync_database_pool_spec.rb
722
+ - spec/fog/compute/xen_server_spec.rb
723
+ - spec/minitest_helper.rb