ovirt-engine-sdk 4.0.0.alpha0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (853) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +177 -0
  3. data/README.md +68 -0
  4. data/ext/ovirtsdk/extconf.rb +25 -0
  5. data/ext/ovirtsdk/ov_error.c +23 -0
  6. data/ext/ovirtsdk/ov_error.h +25 -0
  7. data/ext/ovirtsdk/ov_module.c +25 -0
  8. data/ext/ovirtsdk/ov_module.h +25 -0
  9. data/ext/ovirtsdk/ov_xml_constants.c +35 -0
  10. data/ext/ovirtsdk/ov_xml_constants.h +25 -0
  11. data/ext/ovirtsdk/ov_xml_reader.c +252 -0
  12. data/ext/ovirtsdk/ov_xml_reader.h +25 -0
  13. data/ext/ovirtsdk/ov_xml_writer.c +226 -0
  14. data/ext/ovirtsdk/ov_xml_writer.h +25 -0
  15. data/ext/ovirtsdk/ovirtsdk.c +33 -0
  16. data/lib/ovirt/sdk/v4.rb +36 -0
  17. data/lib/ovirt/sdk/v4/connection.rb +210 -0
  18. data/lib/ovirt/sdk/v4/readers.rb +738 -0
  19. data/lib/ovirt/sdk/v4/readers/affinity_group_reader.rb +107 -0
  20. data/lib/ovirt/sdk/v4/readers/agent_configuration_reader.rb +106 -0
  21. data/lib/ovirt/sdk/v4/readers/agent_reader.rb +137 -0
  22. data/lib/ovirt/sdk/v4/readers/application_reader.rb +99 -0
  23. data/lib/ovirt/sdk/v4/readers/authorized_key_reader.rb +104 -0
  24. data/lib/ovirt/sdk/v4/readers/balance_reader.rb +101 -0
  25. data/lib/ovirt/sdk/v4/readers/bios_reader.rb +79 -0
  26. data/lib/ovirt/sdk/v4/readers/block_statistic_reader.rb +79 -0
  27. data/lib/ovirt/sdk/v4/readers/bonding_reader.rb +81 -0
  28. data/lib/ovirt/sdk/v4/readers/bookmark_reader.rb +102 -0
  29. data/lib/ovirt/sdk/v4/readers/boot_menu_reader.rb +81 -0
  30. data/lib/ovirt/sdk/v4/readers/boot_reader.rb +79 -0
  31. data/lib/ovirt/sdk/v4/readers/brick_profile_detail_reader.rb +81 -0
  32. data/lib/ovirt/sdk/v4/readers/cdrom_reader.rb +107 -0
  33. data/lib/ovirt/sdk/v4/readers/certificate_reader.rb +112 -0
  34. data/lib/ovirt/sdk/v4/readers/cloud_init_reader.rb +96 -0
  35. data/lib/ovirt/sdk/v4/readers/cluster_reader.rb +161 -0
  36. data/lib/ovirt/sdk/v4/readers/configuration_reader.rb +87 -0
  37. data/lib/ovirt/sdk/v4/readers/console_reader.rb +81 -0
  38. data/lib/ovirt/sdk/v4/readers/core_reader.rb +85 -0
  39. data/lib/ovirt/sdk/v4/readers/cpu_profile_reader.rb +101 -0
  40. data/lib/ovirt/sdk/v4/readers/cpu_reader.rb +111 -0
  41. data/lib/ovirt/sdk/v4/readers/cpu_topology_reader.rb +89 -0
  42. data/lib/ovirt/sdk/v4/readers/cpu_tune_reader.rb +79 -0
  43. data/lib/ovirt/sdk/v4/readers/custom_property_reader.rb +92 -0
  44. data/lib/ovirt/sdk/v4/readers/data_center_reader.rb +119 -0
  45. data/lib/ovirt/sdk/v4/readers/device_reader.rb +105 -0
  46. data/lib/ovirt/sdk/v4/readers/disk_profile_reader.rb +101 -0
  47. data/lib/ovirt/sdk/v4/readers/disk_reader.rb +198 -0
  48. data/lib/ovirt/sdk/v4/readers/disk_snapshot_reader.rb +200 -0
  49. data/lib/ovirt/sdk/v4/readers/display_reader.rb +136 -0
  50. data/lib/ovirt/sdk/v4/readers/dns_reader.rb +81 -0
  51. data/lib/ovirt/sdk/v4/readers/domain_reader.rb +99 -0
  52. data/lib/ovirt/sdk/v4/readers/entity_profile_detail_reader.rb +79 -0
  53. data/lib/ovirt/sdk/v4/readers/error_handling_reader.rb +82 -0
  54. data/lib/ovirt/sdk/v4/readers/event_reader.rb +147 -0
  55. data/lib/ovirt/sdk/v4/readers/external_compute_resource_reader.rb +114 -0
  56. data/lib/ovirt/sdk/v4/readers/external_discovered_host_reader.rb +119 -0
  57. data/lib/ovirt/sdk/v4/readers/external_host_group_reader.rb +119 -0
  58. data/lib/ovirt/sdk/v4/readers/external_host_provider_reader.rb +123 -0
  59. data/lib/ovirt/sdk/v4/readers/external_host_reader.rb +104 -0
  60. data/lib/ovirt/sdk/v4/readers/external_provider_reader.rb +123 -0
  61. data/lib/ovirt/sdk/v4/readers/fencing_policy_reader.rb +85 -0
  62. data/lib/ovirt/sdk/v4/readers/file_reader.rb +109 -0
  63. data/lib/ovirt/sdk/v4/readers/filter_reader.rb +103 -0
  64. data/lib/ovirt/sdk/v4/readers/floppy_reader.rb +107 -0
  65. data/lib/ovirt/sdk/v4/readers/fop_statistic_reader.rb +84 -0
  66. data/lib/ovirt/sdk/v4/readers/gluster_brick_advanced_details_reader.rb +132 -0
  67. data/lib/ovirt/sdk/v4/readers/gluster_brick_memory_info_reader.rb +79 -0
  68. data/lib/ovirt/sdk/v4/readers/gluster_brick_reader.rb +146 -0
  69. data/lib/ovirt/sdk/v4/readers/gluster_client_reader.rb +94 -0
  70. data/lib/ovirt/sdk/v4/readers/gluster_hook_reader.rb +137 -0
  71. data/lib/ovirt/sdk/v4/readers/gluster_memory_pool_reader.rb +130 -0
  72. data/lib/ovirt/sdk/v4/readers/gluster_server_hook_reader.rb +111 -0
  73. data/lib/ovirt/sdk/v4/readers/gluster_volume_profile_details_reader.rb +101 -0
  74. data/lib/ovirt/sdk/v4/readers/gluster_volume_reader.rb +128 -0
  75. data/lib/ovirt/sdk/v4/readers/graphics_console_reader.rb +121 -0
  76. data/lib/ovirt/sdk/v4/readers/group_reader.rb +111 -0
  77. data/lib/ovirt/sdk/v4/readers/guest_operating_system_reader.rb +101 -0
  78. data/lib/ovirt/sdk/v4/readers/hardware_information_reader.rb +109 -0
  79. data/lib/ovirt/sdk/v4/readers/high_availability_reader.rb +85 -0
  80. data/lib/ovirt/sdk/v4/readers/hook_reader.rb +109 -0
  81. data/lib/ovirt/sdk/v4/readers/host_device_passthrough_reader.rb +81 -0
  82. data/lib/ovirt/sdk/v4/readers/host_device_reader.rb +126 -0
  83. data/lib/ovirt/sdk/v4/readers/host_nic_reader.rb +157 -0
  84. data/lib/ovirt/sdk/v4/readers/host_nic_virtual_functions_configuration_reader.rb +89 -0
  85. data/lib/ovirt/sdk/v4/readers/host_reader.rb +205 -0
  86. data/lib/ovirt/sdk/v4/readers/host_storage_reader.rb +169 -0
  87. data/lib/ovirt/sdk/v4/readers/hosted_engine_reader.rb +97 -0
  88. data/lib/ovirt/sdk/v4/readers/icon_reader.rb +107 -0
  89. data/lib/ovirt/sdk/v4/readers/identified_reader.rb +97 -0
  90. data/lib/ovirt/sdk/v4/readers/image_reader.rb +99 -0
  91. data/lib/ovirt/sdk/v4/readers/initialization_reader.rb +171 -0
  92. data/lib/ovirt/sdk/v4/readers/instance_type_reader.rb +205 -0
  93. data/lib/ovirt/sdk/v4/readers/io_reader.rb +81 -0
  94. data/lib/ovirt/sdk/v4/readers/ip_address_assignment_reader.rb +84 -0
  95. data/lib/ovirt/sdk/v4/readers/ip_reader.rb +97 -0
  96. data/lib/ovirt/sdk/v4/readers/iscsi_bond_reader.rb +103 -0
  97. data/lib/ovirt/sdk/v4/readers/iscsi_details_reader.rb +158 -0
  98. data/lib/ovirt/sdk/v4/readers/job_reader.rb +121 -0
  99. data/lib/ovirt/sdk/v4/readers/katello_erratum_reader.rb +132 -0
  100. data/lib/ovirt/sdk/v4/readers/kernel_reader.rb +79 -0
  101. data/lib/ovirt/sdk/v4/readers/ksm_reader.rb +85 -0
  102. data/lib/ovirt/sdk/v4/readers/label_reader.rb +101 -0
  103. data/lib/ovirt/sdk/v4/readers/logical_unit_reader.rb +158 -0
  104. data/lib/ovirt/sdk/v4/readers/mac_pool_reader.rb +107 -0
  105. data/lib/ovirt/sdk/v4/readers/mac_reader.rb +82 -0
  106. data/lib/ovirt/sdk/v4/readers/memory_over_commit_reader.rb +81 -0
  107. data/lib/ovirt/sdk/v4/readers/memory_policy_reader.rb +89 -0
  108. data/lib/ovirt/sdk/v4/readers/method_reader.rb +82 -0
  109. data/lib/ovirt/sdk/v4/readers/migration_options_reader.rb +87 -0
  110. data/lib/ovirt/sdk/v4/readers/network_attachment_reader.rb +115 -0
  111. data/lib/ovirt/sdk/v4/readers/network_configuration_reader.rb +81 -0
  112. data/lib/ovirt/sdk/v4/readers/network_reader.rb +133 -0
  113. data/lib/ovirt/sdk/v4/readers/nfs_profile_detail_reader.rb +84 -0
  114. data/lib/ovirt/sdk/v4/readers/nic_configuration_reader.rb +93 -0
  115. data/lib/ovirt/sdk/v4/readers/nic_reader.rb +137 -0
  116. data/lib/ovirt/sdk/v4/readers/numa_node_pin_reader.rb +87 -0
  117. data/lib/ovirt/sdk/v4/readers/numa_node_reader.rb +116 -0
  118. data/lib/ovirt/sdk/v4/readers/open_stack_image_provider_reader.rb +128 -0
  119. data/lib/ovirt/sdk/v4/readers/open_stack_image_reader.rb +99 -0
  120. data/lib/ovirt/sdk/v4/readers/open_stack_network_provider_reader.rb +135 -0
  121. data/lib/ovirt/sdk/v4/readers/open_stack_network_reader.rb +99 -0
  122. data/lib/ovirt/sdk/v4/readers/open_stack_provider_reader.rb +128 -0
  123. data/lib/ovirt/sdk/v4/readers/open_stack_subnet_reader.rb +116 -0
  124. data/lib/ovirt/sdk/v4/readers/open_stack_volume_provider_reader.rb +130 -0
  125. data/lib/ovirt/sdk/v4/readers/open_stack_volume_type_reader.rb +101 -0
  126. data/lib/ovirt/sdk/v4/readers/openstack_volume_authentication_key_reader.rb +118 -0
  127. data/lib/ovirt/sdk/v4/readers/operating_system_info_reader.rb +101 -0
  128. data/lib/ovirt/sdk/v4/readers/operating_system_reader.rb +101 -0
  129. data/lib/ovirt/sdk/v4/readers/option_reader.rb +92 -0
  130. data/lib/ovirt/sdk/v4/readers/package_reader.rb +82 -0
  131. data/lib/ovirt/sdk/v4/readers/payload_reader.rb +89 -0
  132. data/lib/ovirt/sdk/v4/readers/permission_reader.rb +119 -0
  133. data/lib/ovirt/sdk/v4/readers/permit_reader.rb +103 -0
  134. data/lib/ovirt/sdk/v4/readers/pm_proxy_reader.rb +82 -0
  135. data/lib/ovirt/sdk/v4/readers/port_mirroring_reader.rb +72 -0
  136. data/lib/ovirt/sdk/v4/readers/power_management_reader.rb +117 -0
  137. data/lib/ovirt/sdk/v4/readers/product_reader.rb +97 -0
  138. data/lib/ovirt/sdk/v4/readers/profile_detail_reader.rb +92 -0
  139. data/lib/ovirt/sdk/v4/readers/property_reader.rb +87 -0
  140. data/lib/ovirt/sdk/v4/readers/proxy_ticket_reader.rb +82 -0
  141. data/lib/ovirt/sdk/v4/readers/qos_reader.rb +168 -0
  142. data/lib/ovirt/sdk/v4/readers/quota_cluster_limit_reader.rb +117 -0
  143. data/lib/ovirt/sdk/v4/readers/quota_reader.rb +121 -0
  144. data/lib/ovirt/sdk/v4/readers/quota_storage_limit_reader.rb +109 -0
  145. data/lib/ovirt/sdk/v4/readers/range_reader.rb +87 -0
  146. data/lib/ovirt/sdk/v4/readers/rate_reader.rb +85 -0
  147. data/lib/ovirt/sdk/v4/readers/reader.rb +29 -0
  148. data/lib/ovirt/sdk/v4/readers/reported_configuration_reader.rb +96 -0
  149. data/lib/ovirt/sdk/v4/readers/reported_device_reader.rb +108 -0
  150. data/lib/ovirt/sdk/v4/readers/rng_device_reader.rb +84 -0
  151. data/lib/ovirt/sdk/v4/readers/role_reader.rb +109 -0
  152. data/lib/ovirt/sdk/v4/readers/scheduling_policy_reader.rb +107 -0
  153. data/lib/ovirt/sdk/v4/readers/scheduling_policy_unit_reader.rb +112 -0
  154. data/lib/ovirt/sdk/v4/readers/se_linux_reader.rb +82 -0
  155. data/lib/ovirt/sdk/v4/readers/serial_number_reader.rb +87 -0
  156. data/lib/ovirt/sdk/v4/readers/session_reader.rb +112 -0
  157. data/lib/ovirt/sdk/v4/readers/skip_if_connectivity_broken_reader.rb +85 -0
  158. data/lib/ovirt/sdk/v4/readers/skip_if_sd_active_reader.rb +81 -0
  159. data/lib/ovirt/sdk/v4/readers/snapshot_reader.rb +298 -0
  160. data/lib/ovirt/sdk/v4/readers/spm_reader.rb +83 -0
  161. data/lib/ovirt/sdk/v4/readers/ssh_public_key_reader.rb +104 -0
  162. data/lib/ovirt/sdk/v4/readers/ssh_reader.rb +113 -0
  163. data/lib/ovirt/sdk/v4/readers/sso_reader.rb +79 -0
  164. data/lib/ovirt/sdk/v4/readers/statistic_reader.rb +132 -0
  165. data/lib/ovirt/sdk/v4/readers/status_reader.rb +87 -0
  166. data/lib/ovirt/sdk/v4/readers/step_reader.rb +129 -0
  167. data/lib/ovirt/sdk/v4/readers/storage_connection_extension_reader.rb +114 -0
  168. data/lib/ovirt/sdk/v4/readers/storage_connection_reader.rb +161 -0
  169. data/lib/ovirt/sdk/v4/readers/storage_domain_reader.rb +151 -0
  170. data/lib/ovirt/sdk/v4/readers/tag_reader.rb +109 -0
  171. data/lib/ovirt/sdk/v4/readers/template_reader.rb +205 -0
  172. data/lib/ovirt/sdk/v4/readers/template_version_reader.rb +88 -0
  173. data/lib/ovirt/sdk/v4/readers/ticket_reader.rb +86 -0
  174. data/lib/ovirt/sdk/v4/readers/time_zone_reader.rb +87 -0
  175. data/lib/ovirt/sdk/v4/readers/transparent_huge_pages_reader.rb +81 -0
  176. data/lib/ovirt/sdk/v4/readers/unmanaged_network_reader.rb +101 -0
  177. data/lib/ovirt/sdk/v4/readers/usb_reader.rb +86 -0
  178. data/lib/ovirt/sdk/v4/readers/user_reader.rb +147 -0
  179. data/lib/ovirt/sdk/v4/readers/value_reader.rb +86 -0
  180. data/lib/ovirt/sdk/v4/readers/vcpu_pin_reader.rb +86 -0
  181. data/lib/ovirt/sdk/v4/readers/vendor_reader.rb +97 -0
  182. data/lib/ovirt/sdk/v4/readers/version_reader.rb +118 -0
  183. data/lib/ovirt/sdk/v4/readers/virtio_scsi_reader.rb +81 -0
  184. data/lib/ovirt/sdk/v4/readers/virtual_numa_node_reader.rb +120 -0
  185. data/lib/ovirt/sdk/v4/readers/vlan_reader.rb +81 -0
  186. data/lib/ovirt/sdk/v4/readers/vm_base_reader.rb +201 -0
  187. data/lib/ovirt/sdk/v4/readers/vm_placement_policy_reader.rb +84 -0
  188. data/lib/ovirt/sdk/v4/readers/vm_pool_reader.rb +132 -0
  189. data/lib/ovirt/sdk/v4/readers/vm_reader.rb +278 -0
  190. data/lib/ovirt/sdk/v4/readers/vm_summary_reader.rb +89 -0
  191. data/lib/ovirt/sdk/v4/readers/vnic_pass_through_reader.rb +82 -0
  192. data/lib/ovirt/sdk/v4/readers/vnic_profile_reader.rb +109 -0
  193. data/lib/ovirt/sdk/v4/readers/volume_group_reader.rb +89 -0
  194. data/lib/ovirt/sdk/v4/readers/watchdog_reader.rb +115 -0
  195. data/lib/ovirt/sdk/v4/readers/weight_reader.rb +105 -0
  196. data/lib/ovirt/sdk/v4/services.rb +918 -0
  197. data/lib/ovirt/sdk/v4/services/affinity_group_service.rb +74 -0
  198. data/lib/ovirt/sdk/v4/services/affinity_group_vm_service.rb +36 -0
  199. data/lib/ovirt/sdk/v4/services/affinity_group_vms_service.rb +54 -0
  200. data/lib/ovirt/sdk/v4/services/affinity_groups_service.rb +54 -0
  201. data/lib/ovirt/sdk/v4/services/assigned_cpu_profile_service.rb +50 -0
  202. data/lib/ovirt/sdk/v4/services/assigned_cpu_profiles_service.rb +54 -0
  203. data/lib/ovirt/sdk/v4/services/assigned_disk_profile_service.rb +50 -0
  204. data/lib/ovirt/sdk/v4/services/assigned_disk_profiles_service.rb +54 -0
  205. data/lib/ovirt/sdk/v4/services/assigned_network_service.rb +70 -0
  206. data/lib/ovirt/sdk/v4/services/assigned_networks_service.rb +54 -0
  207. data/lib/ovirt/sdk/v4/services/assigned_permissions_service.rb +54 -0
  208. data/lib/ovirt/sdk/v4/services/assigned_roles_service.rb +54 -0
  209. data/lib/ovirt/sdk/v4/services/assigned_tag_service.rb +50 -0
  210. data/lib/ovirt/sdk/v4/services/assigned_tags_service.rb +54 -0
  211. data/lib/ovirt/sdk/v4/services/assigned_vnic_profile_service.rb +54 -0
  212. data/lib/ovirt/sdk/v4/services/assigned_vnic_profiles_service.rb +54 -0
  213. data/lib/ovirt/sdk/v4/services/attached_storage_domain_service.rb +54 -0
  214. data/lib/ovirt/sdk/v4/services/attached_storage_domains_service.rb +54 -0
  215. data/lib/ovirt/sdk/v4/services/balance_service.rb +50 -0
  216. data/lib/ovirt/sdk/v4/services/balances_service.rb +54 -0
  217. data/lib/ovirt/sdk/v4/services/bookmark_service.rb +70 -0
  218. data/lib/ovirt/sdk/v4/services/bookmarks_service.rb +54 -0
  219. data/lib/ovirt/sdk/v4/services/cluster_service.rb +94 -0
  220. data/lib/ovirt/sdk/v4/services/clusters_service.rb +54 -0
  221. data/lib/ovirt/sdk/v4/services/copyable_service.rb +36 -0
  222. data/lib/ovirt/sdk/v4/services/cpu_profile_service.rb +74 -0
  223. data/lib/ovirt/sdk/v4/services/cpu_profiles_service.rb +54 -0
  224. data/lib/ovirt/sdk/v4/services/data_center_service.rb +98 -0
  225. data/lib/ovirt/sdk/v4/services/data_centers_service.rb +54 -0
  226. data/lib/ovirt/sdk/v4/services/disk_profile_service.rb +74 -0
  227. data/lib/ovirt/sdk/v4/services/disk_profiles_service.rb +54 -0
  228. data/lib/ovirt/sdk/v4/services/disk_service.rb +58 -0
  229. data/lib/ovirt/sdk/v4/services/disk_snapshot_service.rb +50 -0
  230. data/lib/ovirt/sdk/v4/services/disk_snapshots_service.rb +54 -0
  231. data/lib/ovirt/sdk/v4/services/disks_service.rb +54 -0
  232. data/lib/ovirt/sdk/v4/services/domain_group_service.rb +50 -0
  233. data/lib/ovirt/sdk/v4/services/domain_groups_service.rb +54 -0
  234. data/lib/ovirt/sdk/v4/services/domain_service.rb +58 -0
  235. data/lib/ovirt/sdk/v4/services/domain_user_service.rb +50 -0
  236. data/lib/ovirt/sdk/v4/services/domain_users_service.rb +54 -0
  237. data/lib/ovirt/sdk/v4/services/domains_service.rb +54 -0
  238. data/lib/ovirt/sdk/v4/services/event_service.rb +50 -0
  239. data/lib/ovirt/sdk/v4/services/events_service.rb +54 -0
  240. data/lib/ovirt/sdk/v4/services/external_compute_resource_service.rb +50 -0
  241. data/lib/ovirt/sdk/v4/services/external_compute_resources_service.rb +54 -0
  242. data/lib/ovirt/sdk/v4/services/external_discovered_host_service.rb +50 -0
  243. data/lib/ovirt/sdk/v4/services/external_discovered_hosts_service.rb +54 -0
  244. data/lib/ovirt/sdk/v4/services/external_host_group_service.rb +50 -0
  245. data/lib/ovirt/sdk/v4/services/external_host_groups_service.rb +54 -0
  246. data/lib/ovirt/sdk/v4/services/external_host_provider_service.rb +90 -0
  247. data/lib/ovirt/sdk/v4/services/external_host_providers_service.rb +54 -0
  248. data/lib/ovirt/sdk/v4/services/external_host_service.rb +50 -0
  249. data/lib/ovirt/sdk/v4/services/external_hosts_service.rb +54 -0
  250. data/lib/ovirt/sdk/v4/services/external_provider_certificate_service.rb +50 -0
  251. data/lib/ovirt/sdk/v4/services/external_provider_certificates_service.rb +54 -0
  252. data/lib/ovirt/sdk/v4/services/external_provider_service.rb +40 -0
  253. data/lib/ovirt/sdk/v4/services/fence_agent_service.rb +70 -0
  254. data/lib/ovirt/sdk/v4/services/fence_agents_service.rb +54 -0
  255. data/lib/ovirt/sdk/v4/services/file_service.rb +50 -0
  256. data/lib/ovirt/sdk/v4/services/files_service.rb +54 -0
  257. data/lib/ovirt/sdk/v4/services/filter_service.rb +50 -0
  258. data/lib/ovirt/sdk/v4/services/filters_service.rb +54 -0
  259. data/lib/ovirt/sdk/v4/services/gluster_brick_service.rb +54 -0
  260. data/lib/ovirt/sdk/v4/services/gluster_bricks_service.rb +54 -0
  261. data/lib/ovirt/sdk/v4/services/gluster_hook_service.rb +50 -0
  262. data/lib/ovirt/sdk/v4/services/gluster_hooks_service.rb +54 -0
  263. data/lib/ovirt/sdk/v4/services/gluster_volume_service.rb +58 -0
  264. data/lib/ovirt/sdk/v4/services/gluster_volumes_service.rb +54 -0
  265. data/lib/ovirt/sdk/v4/services/graphics_console_service.rb +50 -0
  266. data/lib/ovirt/sdk/v4/services/graphics_consoles_service.rb +54 -0
  267. data/lib/ovirt/sdk/v4/services/group_service.rb +62 -0
  268. data/lib/ovirt/sdk/v4/services/groups_service.rb +54 -0
  269. data/lib/ovirt/sdk/v4/services/host_device_service.rb +50 -0
  270. data/lib/ovirt/sdk/v4/services/host_devices_service.rb +54 -0
  271. data/lib/ovirt/sdk/v4/services/host_hook_service.rb +50 -0
  272. data/lib/ovirt/sdk/v4/services/host_hooks_service.rb +54 -0
  273. data/lib/ovirt/sdk/v4/services/host_nic_service.rb +90 -0
  274. data/lib/ovirt/sdk/v4/services/host_nics_service.rb +54 -0
  275. data/lib/ovirt/sdk/v4/services/host_numa_node_service.rb +54 -0
  276. data/lib/ovirt/sdk/v4/services/host_numa_nodes_service.rb +54 -0
  277. data/lib/ovirt/sdk/v4/services/host_service.rb +122 -0
  278. data/lib/ovirt/sdk/v4/services/host_storage_service.rb +54 -0
  279. data/lib/ovirt/sdk/v4/services/hosts_service.rb +54 -0
  280. data/lib/ovirt/sdk/v4/services/icon_service.rb +50 -0
  281. data/lib/ovirt/sdk/v4/services/icons_service.rb +54 -0
  282. data/lib/ovirt/sdk/v4/services/image_service.rb +50 -0
  283. data/lib/ovirt/sdk/v4/services/images_service.rb +54 -0
  284. data/lib/ovirt/sdk/v4/services/instance_type_nic_service.rb +70 -0
  285. data/lib/ovirt/sdk/v4/services/instance_type_nics_service.rb +54 -0
  286. data/lib/ovirt/sdk/v4/services/instance_type_service.rb +82 -0
  287. data/lib/ovirt/sdk/v4/services/instance_type_watchdog_service.rb +70 -0
  288. data/lib/ovirt/sdk/v4/services/instance_type_watchdogs_service.rb +54 -0
  289. data/lib/ovirt/sdk/v4/services/instance_types_service.rb +54 -0
  290. data/lib/ovirt/sdk/v4/services/iscsi_bond_service.rb +78 -0
  291. data/lib/ovirt/sdk/v4/services/iscsi_bonds_service.rb +54 -0
  292. data/lib/ovirt/sdk/v4/services/job_service.rb +54 -0
  293. data/lib/ovirt/sdk/v4/services/jobs_service.rb +54 -0
  294. data/lib/ovirt/sdk/v4/services/katello_errata_service.rb +54 -0
  295. data/lib/ovirt/sdk/v4/services/katello_erratum_service.rb +50 -0
  296. data/lib/ovirt/sdk/v4/services/label_service.rb +50 -0
  297. data/lib/ovirt/sdk/v4/services/labels_service.rb +54 -0
  298. data/lib/ovirt/sdk/v4/services/mac_pool_service.rb +70 -0
  299. data/lib/ovirt/sdk/v4/services/mac_pools_service.rb +54 -0
  300. data/lib/ovirt/sdk/v4/services/measurable_service.rb +40 -0
  301. data/lib/ovirt/sdk/v4/services/moveable_service.rb +36 -0
  302. data/lib/ovirt/sdk/v4/services/network_attachment_service.rb +70 -0
  303. data/lib/ovirt/sdk/v4/services/network_attachments_service.rb +54 -0
  304. data/lib/ovirt/sdk/v4/services/network_service.rb +82 -0
  305. data/lib/ovirt/sdk/v4/services/networks_service.rb +54 -0
  306. data/lib/ovirt/sdk/v4/services/openstack_image_provider_service.rb +78 -0
  307. data/lib/ovirt/sdk/v4/services/openstack_image_providers_service.rb +54 -0
  308. data/lib/ovirt/sdk/v4/services/openstack_image_service.rb +50 -0
  309. data/lib/ovirt/sdk/v4/services/openstack_images_service.rb +54 -0
  310. data/lib/ovirt/sdk/v4/services/openstack_network_provider_service.rb +78 -0
  311. data/lib/ovirt/sdk/v4/services/openstack_network_providers_service.rb +54 -0
  312. data/lib/ovirt/sdk/v4/services/openstack_network_service.rb +54 -0
  313. data/lib/ovirt/sdk/v4/services/openstack_networks_service.rb +54 -0
  314. data/lib/ovirt/sdk/v4/services/openstack_subnet_service.rb +50 -0
  315. data/lib/ovirt/sdk/v4/services/openstack_subnets_service.rb +54 -0
  316. data/lib/ovirt/sdk/v4/services/openstack_volume_authentication_key_service.rb +70 -0
  317. data/lib/ovirt/sdk/v4/services/openstack_volume_authentication_keys_service.rb +54 -0
  318. data/lib/ovirt/sdk/v4/services/openstack_volume_provider_service.rb +82 -0
  319. data/lib/ovirt/sdk/v4/services/openstack_volume_providers_service.rb +54 -0
  320. data/lib/ovirt/sdk/v4/services/openstack_volume_type_service.rb +50 -0
  321. data/lib/ovirt/sdk/v4/services/openstack_volume_types_service.rb +54 -0
  322. data/lib/ovirt/sdk/v4/services/operating_system_service.rb +50 -0
  323. data/lib/ovirt/sdk/v4/services/operating_systems_service.rb +54 -0
  324. data/lib/ovirt/sdk/v4/services/permission_service.rb +50 -0
  325. data/lib/ovirt/sdk/v4/services/permit_service.rb +50 -0
  326. data/lib/ovirt/sdk/v4/services/permits_service.rb +54 -0
  327. data/lib/ovirt/sdk/v4/services/qos_service.rb +70 -0
  328. data/lib/ovirt/sdk/v4/services/qoss_service.rb +54 -0
  329. data/lib/ovirt/sdk/v4/services/quota_cluster_limit_service.rb +50 -0
  330. data/lib/ovirt/sdk/v4/services/quota_cluster_limits_service.rb +54 -0
  331. data/lib/ovirt/sdk/v4/services/quota_service.rb +82 -0
  332. data/lib/ovirt/sdk/v4/services/quota_storage_limit_service.rb +50 -0
  333. data/lib/ovirt/sdk/v4/services/quota_storage_limits_service.rb +54 -0
  334. data/lib/ovirt/sdk/v4/services/quotas_service.rb +54 -0
  335. data/lib/ovirt/sdk/v4/services/role_service.rb +74 -0
  336. data/lib/ovirt/sdk/v4/services/roles_service.rb +54 -0
  337. data/lib/ovirt/sdk/v4/services/scheduling_policies_service.rb +54 -0
  338. data/lib/ovirt/sdk/v4/services/scheduling_policy_service.rb +82 -0
  339. data/lib/ovirt/sdk/v4/services/scheduling_policy_unit_service.rb +50 -0
  340. data/lib/ovirt/sdk/v4/services/scheduling_policy_units_service.rb +54 -0
  341. data/lib/ovirt/sdk/v4/services/service.rb +28 -0
  342. data/lib/ovirt/sdk/v4/services/snapshot_cdrom_service.rb +50 -0
  343. data/lib/ovirt/sdk/v4/services/snapshot_cdroms_service.rb +54 -0
  344. data/lib/ovirt/sdk/v4/services/snapshot_disk_service.rb +50 -0
  345. data/lib/ovirt/sdk/v4/services/snapshot_disks_service.rb +54 -0
  346. data/lib/ovirt/sdk/v4/services/snapshot_nic_service.rb +50 -0
  347. data/lib/ovirt/sdk/v4/services/snapshot_nics_service.rb +54 -0
  348. data/lib/ovirt/sdk/v4/services/snapshot_service.rb +62 -0
  349. data/lib/ovirt/sdk/v4/services/snapshots_service.rb +54 -0
  350. data/lib/ovirt/sdk/v4/services/ssh_public_key_service.rb +70 -0
  351. data/lib/ovirt/sdk/v4/services/ssh_public_keys_service.rb +54 -0
  352. data/lib/ovirt/sdk/v4/services/statistic_service.rb +50 -0
  353. data/lib/ovirt/sdk/v4/services/statistics_service.rb +54 -0
  354. data/lib/ovirt/sdk/v4/services/step_service.rb +54 -0
  355. data/lib/ovirt/sdk/v4/services/steps_service.rb +54 -0
  356. data/lib/ovirt/sdk/v4/services/storage_domain_content_disk_service.rb +50 -0
  357. data/lib/ovirt/sdk/v4/services/storage_domain_content_disks_service.rb +54 -0
  358. data/lib/ovirt/sdk/v4/services/storage_domain_server_connection_service.rb +50 -0
  359. data/lib/ovirt/sdk/v4/services/storage_domain_server_connections_service.rb +54 -0
  360. data/lib/ovirt/sdk/v4/services/storage_domain_service.rb +106 -0
  361. data/lib/ovirt/sdk/v4/services/storage_domain_template_service.rb +54 -0
  362. data/lib/ovirt/sdk/v4/services/storage_domain_templates_service.rb +54 -0
  363. data/lib/ovirt/sdk/v4/services/storage_domain_vm_service.rb +54 -0
  364. data/lib/ovirt/sdk/v4/services/storage_domain_vms_service.rb +54 -0
  365. data/lib/ovirt/sdk/v4/services/storage_domains_service.rb +54 -0
  366. data/lib/ovirt/sdk/v4/services/storage_server_connection_extension_service.rb +70 -0
  367. data/lib/ovirt/sdk/v4/services/storage_server_connection_extensions_service.rb +54 -0
  368. data/lib/ovirt/sdk/v4/services/storage_server_connection_service.rb +70 -0
  369. data/lib/ovirt/sdk/v4/services/storage_server_connections_service.rb +54 -0
  370. data/lib/ovirt/sdk/v4/services/storage_service.rb +50 -0
  371. data/lib/ovirt/sdk/v4/services/system_katello_errata_service.rb +54 -0
  372. data/lib/ovirt/sdk/v4/services/system_permissions_service.rb +54 -0
  373. data/lib/ovirt/sdk/v4/services/system_service.rb +168 -0
  374. data/lib/ovirt/sdk/v4/services/tag_service.rb +70 -0
  375. data/lib/ovirt/sdk/v4/services/tags_service.rb +54 -0
  376. data/lib/ovirt/sdk/v4/services/template_cdrom_service.rb +50 -0
  377. data/lib/ovirt/sdk/v4/services/template_cdroms_service.rb +54 -0
  378. data/lib/ovirt/sdk/v4/services/template_disk_service.rb +50 -0
  379. data/lib/ovirt/sdk/v4/services/template_disks_service.rb +54 -0
  380. data/lib/ovirt/sdk/v4/services/template_nic_service.rb +70 -0
  381. data/lib/ovirt/sdk/v4/services/template_nics_service.rb +54 -0
  382. data/lib/ovirt/sdk/v4/services/template_service.rb +98 -0
  383. data/lib/ovirt/sdk/v4/services/template_watchdog_service.rb +70 -0
  384. data/lib/ovirt/sdk/v4/services/template_watchdogs_service.rb +54 -0
  385. data/lib/ovirt/sdk/v4/services/templates_service.rb +54 -0
  386. data/lib/ovirt/sdk/v4/services/unmanaged_network_service.rb +50 -0
  387. data/lib/ovirt/sdk/v4/services/unmanaged_networks_service.rb +54 -0
  388. data/lib/ovirt/sdk/v4/services/user_service.rb +66 -0
  389. data/lib/ovirt/sdk/v4/services/users_service.rb +54 -0
  390. data/lib/ovirt/sdk/v4/services/virtual_function_allowed_network_service.rb +50 -0
  391. data/lib/ovirt/sdk/v4/services/virtual_function_allowed_networks_service.rb +54 -0
  392. data/lib/ovirt/sdk/v4/services/vm_application_service.rb +50 -0
  393. data/lib/ovirt/sdk/v4/services/vm_applications_service.rb +54 -0
  394. data/lib/ovirt/sdk/v4/services/vm_cdrom_service.rb +70 -0
  395. data/lib/ovirt/sdk/v4/services/vm_cdroms_service.rb +54 -0
  396. data/lib/ovirt/sdk/v4/services/vm_disk_service.rb +78 -0
  397. data/lib/ovirt/sdk/v4/services/vm_disks_service.rb +54 -0
  398. data/lib/ovirt/sdk/v4/services/vm_graphics_console_service.rb +50 -0
  399. data/lib/ovirt/sdk/v4/services/vm_host_device_service.rb +50 -0
  400. data/lib/ovirt/sdk/v4/services/vm_host_devices_service.rb +54 -0
  401. data/lib/ovirt/sdk/v4/services/vm_nic_service.rb +78 -0
  402. data/lib/ovirt/sdk/v4/services/vm_nics_service.rb +54 -0
  403. data/lib/ovirt/sdk/v4/services/vm_numa_node_service.rb +70 -0
  404. data/lib/ovirt/sdk/v4/services/vm_numa_nodes_service.rb +54 -0
  405. data/lib/ovirt/sdk/v4/services/vm_pool_service.rb +74 -0
  406. data/lib/ovirt/sdk/v4/services/vm_pools_service.rb +54 -0
  407. data/lib/ovirt/sdk/v4/services/vm_reported_device_service.rb +50 -0
  408. data/lib/ovirt/sdk/v4/services/vm_reported_devices_service.rb +54 -0
  409. data/lib/ovirt/sdk/v4/services/vm_service.rb +130 -0
  410. data/lib/ovirt/sdk/v4/services/vm_session_service.rb +50 -0
  411. data/lib/ovirt/sdk/v4/services/vm_sessions_service.rb +54 -0
  412. data/lib/ovirt/sdk/v4/services/vm_watchdog_service.rb +70 -0
  413. data/lib/ovirt/sdk/v4/services/vm_watchdogs_service.rb +54 -0
  414. data/lib/ovirt/sdk/v4/services/vms_service.rb +54 -0
  415. data/lib/ovirt/sdk/v4/services/vnic_profile_service.rb +74 -0
  416. data/lib/ovirt/sdk/v4/services/vnic_profiles_service.rb +54 -0
  417. data/lib/ovirt/sdk/v4/services/weight_service.rb +50 -0
  418. data/lib/ovirt/sdk/v4/services/weights_service.rb +54 -0
  419. data/lib/ovirt/sdk/v4/types.rb +813 -0
  420. data/lib/ovirt/sdk/v4/types/access_protocol.rb +28 -0
  421. data/lib/ovirt/sdk/v4/types/affinity_group.rb +83 -0
  422. data/lib/ovirt/sdk/v4/types/agent.rb +198 -0
  423. data/lib/ovirt/sdk/v4/types/agent_configuration.rb +121 -0
  424. data/lib/ovirt/sdk/v4/types/application.rb +53 -0
  425. data/lib/ovirt/sdk/v4/types/architecture.rb +28 -0
  426. data/lib/ovirt/sdk/v4/types/authorized_key.rb +68 -0
  427. data/lib/ovirt/sdk/v4/types/auto_numa_status.rb +28 -0
  428. data/lib/ovirt/sdk/v4/types/balance.rb +75 -0
  429. data/lib/ovirt/sdk/v4/types/bios.rb +53 -0
  430. data/lib/ovirt/sdk/v4/types/block_statistic.rb +56 -0
  431. data/lib/ovirt/sdk/v4/types/bonding.rb +81 -0
  432. data/lib/ovirt/sdk/v4/types/bookmark.rb +46 -0
  433. data/lib/ovirt/sdk/v4/types/boot.rb +46 -0
  434. data/lib/ovirt/sdk/v4/types/boot_device.rb +28 -0
  435. data/lib/ovirt/sdk/v4/types/boot_menu.rb +46 -0
  436. data/lib/ovirt/sdk/v4/types/boot_protocol.rb +28 -0
  437. data/lib/ovirt/sdk/v4/types/brick_profile_detail.rb +53 -0
  438. data/lib/ovirt/sdk/v4/types/cdrom.rb +53 -0
  439. data/lib/ovirt/sdk/v4/types/certificate.rb +76 -0
  440. data/lib/ovirt/sdk/v4/types/cloud_init.rb +180 -0
  441. data/lib/ovirt/sdk/v4/types/cluster.rb +470 -0
  442. data/lib/ovirt/sdk/v4/types/configuration.rb +61 -0
  443. data/lib/ovirt/sdk/v4/types/configuration_type.rb +26 -0
  444. data/lib/ovirt/sdk/v4/types/console.rb +46 -0
  445. data/lib/ovirt/sdk/v4/types/core.rb +61 -0
  446. data/lib/ovirt/sdk/v4/types/cpu.rb +190 -0
  447. data/lib/ovirt/sdk/v4/types/cpu_mode.rb +28 -0
  448. data/lib/ovirt/sdk/v4/types/cpu_profile.rb +75 -0
  449. data/lib/ovirt/sdk/v4/types/cpu_topology.rb +76 -0
  450. data/lib/ovirt/sdk/v4/types/cpu_tune.rb +56 -0
  451. data/lib/ovirt/sdk/v4/types/creation_status.rb +29 -0
  452. data/lib/ovirt/sdk/v4/types/custom_property.rb +76 -0
  453. data/lib/ovirt/sdk/v4/types/data_center.rb +167 -0
  454. data/lib/ovirt/sdk/v4/types/data_center_status.rb +31 -0
  455. data/lib/ovirt/sdk/v4/types/device.rb +122 -0
  456. data/lib/ovirt/sdk/v4/types/disk.rb +490 -0
  457. data/lib/ovirt/sdk/v4/types/disk_format.rb +27 -0
  458. data/lib/ovirt/sdk/v4/types/disk_interface.rb +29 -0
  459. data/lib/ovirt/sdk/v4/types/disk_profile.rb +75 -0
  460. data/lib/ovirt/sdk/v4/types/disk_snapshot.rb +53 -0
  461. data/lib/ovirt/sdk/v4/types/disk_status.rb +28 -0
  462. data/lib/ovirt/sdk/v4/types/disk_storage_type.rb +28 -0
  463. data/lib/ovirt/sdk/v4/types/display.rb +248 -0
  464. data/lib/ovirt/sdk/v4/types/display_type.rb +27 -0
  465. data/lib/ovirt/sdk/v4/types/dns.rb +81 -0
  466. data/lib/ovirt/sdk/v4/types/domain.rb +53 -0
  467. data/lib/ovirt/sdk/v4/types/entity_external_status.rb +30 -0
  468. data/lib/ovirt/sdk/v4/types/entity_profile_detail.rb +56 -0
  469. data/lib/ovirt/sdk/v4/types/error_handling.rb +46 -0
  470. data/lib/ovirt/sdk/v4/types/event.rb +305 -0
  471. data/lib/ovirt/sdk/v4/types/external_compute_resource.rb +98 -0
  472. data/lib/ovirt/sdk/v4/types/external_discovered_host.rb +113 -0
  473. data/lib/ovirt/sdk/v4/types/external_host.rb +68 -0
  474. data/lib/ovirt/sdk/v4/types/external_host_group.rb +113 -0
  475. data/lib/ovirt/sdk/v4/types/external_host_provider.rb +31 -0
  476. data/lib/ovirt/sdk/v4/types/external_provider.rb +131 -0
  477. data/lib/ovirt/sdk/v4/types/external_system_type.rb +27 -0
  478. data/lib/ovirt/sdk/v4/types/fence_type.rb +30 -0
  479. data/lib/ovirt/sdk/v4/types/fencing_policy.rb +90 -0
  480. data/lib/ovirt/sdk/v4/types/file.rb +83 -0
  481. data/lib/ovirt/sdk/v4/types/filter.rb +68 -0
  482. data/lib/ovirt/sdk/v4/types/floppy.rb +53 -0
  483. data/lib/ovirt/sdk/v4/types/fop_statistic.rb +71 -0
  484. data/lib/ovirt/sdk/v4/types/gluster_brick.rb +105 -0
  485. data/lib/ovirt/sdk/v4/types/gluster_brick_advanced_details.rb +156 -0
  486. data/lib/ovirt/sdk/v4/types/gluster_brick_memory_info.rb +56 -0
  487. data/lib/ovirt/sdk/v4/types/gluster_client.rb +91 -0
  488. data/lib/ovirt/sdk/v4/types/gluster_hook.rb +205 -0
  489. data/lib/ovirt/sdk/v4/types/gluster_memory_pool.rb +151 -0
  490. data/lib/ovirt/sdk/v4/types/gluster_server_hook.rb +105 -0
  491. data/lib/ovirt/sdk/v4/types/gluster_state.rb +28 -0
  492. data/lib/ovirt/sdk/v4/types/gluster_volume.rb +215 -0
  493. data/lib/ovirt/sdk/v4/types/gluster_volume_profile_details.rb +81 -0
  494. data/lib/ovirt/sdk/v4/types/gluster_volume_type.rb +34 -0
  495. data/lib/ovirt/sdk/v4/types/graphics_console.rb +157 -0
  496. data/lib/ovirt/sdk/v4/types/graphics_type.rb +27 -0
  497. data/lib/ovirt/sdk/v4/types/group.rb +105 -0
  498. data/lib/ovirt/sdk/v4/types/guest_operating_system.rb +135 -0
  499. data/lib/ovirt/sdk/v4/types/hardware_information.rb +136 -0
  500. data/lib/ovirt/sdk/v4/types/high_availability.rb +61 -0
  501. data/lib/ovirt/sdk/v4/types/hook.rb +83 -0
  502. data/lib/ovirt/sdk/v4/types/hook_content_type.rb +27 -0
  503. data/lib/ovirt/sdk/v4/types/hook_stage.rb +27 -0
  504. data/lib/ovirt/sdk/v4/types/hook_status.rb +28 -0
  505. data/lib/ovirt/sdk/v4/types/host.rb +785 -0
  506. data/lib/ovirt/sdk/v4/types/host_device.rb +223 -0
  507. data/lib/ovirt/sdk/v4/types/host_device_passthrough.rb +46 -0
  508. data/lib/ovirt/sdk/v4/types/host_nic.rb +446 -0
  509. data/lib/ovirt/sdk/v4/types/host_nic_virtual_functions_configuration.rb +76 -0
  510. data/lib/ovirt/sdk/v4/types/host_protocol.rb +27 -0
  511. data/lib/ovirt/sdk/v4/types/host_status.rb +41 -0
  512. data/lib/ovirt/sdk/v4/types/host_storage.rb +310 -0
  513. data/lib/ovirt/sdk/v4/types/hosted_engine.rb +106 -0
  514. data/lib/ovirt/sdk/v4/types/icon.rb +61 -0
  515. data/lib/ovirt/sdk/v4/types/identified.rb +91 -0
  516. data/lib/ovirt/sdk/v4/types/image.rb +53 -0
  517. data/lib/ovirt/sdk/v4/types/inheritable_boolean.rb +28 -0
  518. data/lib/ovirt/sdk/v4/types/initialization.rb +370 -0
  519. data/lib/ovirt/sdk/v4/types/instance_type.rb +31 -0
  520. data/lib/ovirt/sdk/v4/types/io.rb +46 -0
  521. data/lib/ovirt/sdk/v4/types/ip.rb +91 -0
  522. data/lib/ovirt/sdk/v4/types/ip_address_assignment.rb +68 -0
  523. data/lib/ovirt/sdk/v4/types/iscsi_bond.rb +103 -0
  524. data/lib/ovirt/sdk/v4/types/iscsi_details.rb +286 -0
  525. data/lib/ovirt/sdk/v4/types/job.rb +150 -0
  526. data/lib/ovirt/sdk/v4/types/katello_erratum.rb +190 -0
  527. data/lib/ovirt/sdk/v4/types/kdump_status.rb +28 -0
  528. data/lib/ovirt/sdk/v4/types/kernel.rb +53 -0
  529. data/lib/ovirt/sdk/v4/types/ksm.rb +61 -0
  530. data/lib/ovirt/sdk/v4/types/label.rb +75 -0
  531. data/lib/ovirt/sdk/v4/types/log_severity.rb +29 -0
  532. data/lib/ovirt/sdk/v4/types/logical_unit.rb +286 -0
  533. data/lib/ovirt/sdk/v4/types/lun_status.rb +28 -0
  534. data/lib/ovirt/sdk/v4/types/mac.rb +46 -0
  535. data/lib/ovirt/sdk/v4/types/mac_pool.rb +86 -0
  536. data/lib/ovirt/sdk/v4/types/memory_over_commit.rb +46 -0
  537. data/lib/ovirt/sdk/v4/types/memory_policy.rb +105 -0
  538. data/lib/ovirt/sdk/v4/types/message_broker_type.rb +27 -0
  539. data/lib/ovirt/sdk/v4/types/method.rb +46 -0
  540. data/lib/ovirt/sdk/v4/types/migrate_on_error.rb +28 -0
  541. data/lib/ovirt/sdk/v4/types/migration_options.rb +61 -0
  542. data/lib/ovirt/sdk/v4/types/network.rb +278 -0
  543. data/lib/ovirt/sdk/v4/types/network_attachment.rb +209 -0
  544. data/lib/ovirt/sdk/v4/types/network_configuration.rb +78 -0
  545. data/lib/ovirt/sdk/v4/types/network_plugin_type.rb +26 -0
  546. data/lib/ovirt/sdk/v4/types/network_status.rb +27 -0
  547. data/lib/ovirt/sdk/v4/types/nfs_profile_detail.rb +46 -0
  548. data/lib/ovirt/sdk/v4/types/nfs_version.rb +29 -0
  549. data/lib/ovirt/sdk/v4/types/nic.rb +222 -0
  550. data/lib/ovirt/sdk/v4/types/nic_configuration.rb +98 -0
  551. data/lib/ovirt/sdk/v4/types/nic_interface.rb +31 -0
  552. data/lib/ovirt/sdk/v4/types/nic_status.rb +27 -0
  553. data/lib/ovirt/sdk/v4/types/numa_node.rb +145 -0
  554. data/lib/ovirt/sdk/v4/types/numa_node_pin.rb +83 -0
  555. data/lib/ovirt/sdk/v4/types/numa_tune_mode.rb +28 -0
  556. data/lib/ovirt/sdk/v4/types/open_stack_image.rb +53 -0
  557. data/lib/ovirt/sdk/v4/types/open_stack_image_provider.rb +31 -0
  558. data/lib/ovirt/sdk/v4/types/open_stack_network.rb +53 -0
  559. data/lib/ovirt/sdk/v4/types/open_stack_network_provider.rb +68 -0
  560. data/lib/ovirt/sdk/v4/types/open_stack_provider.rb +46 -0
  561. data/lib/ovirt/sdk/v4/types/open_stack_subnet.rb +113 -0
  562. data/lib/ovirt/sdk/v4/types/open_stack_volume_provider.rb +53 -0
  563. data/lib/ovirt/sdk/v4/types/open_stack_volume_type.rb +78 -0
  564. data/lib/ovirt/sdk/v4/types/openstack_volume_authentication_key.rb +113 -0
  565. data/lib/ovirt/sdk/v4/types/openstack_volume_authentication_key_usage_type.rb +26 -0
  566. data/lib/ovirt/sdk/v4/types/operating_system.rb +135 -0
  567. data/lib/ovirt/sdk/v4/types/operating_system_info.rb +75 -0
  568. data/lib/ovirt/sdk/v4/types/option.rb +76 -0
  569. data/lib/ovirt/sdk/v4/types/os_type.rb +47 -0
  570. data/lib/ovirt/sdk/v4/types/package.rb +46 -0
  571. data/lib/ovirt/sdk/v4/types/payload.rb +86 -0
  572. data/lib/ovirt/sdk/v4/types/payload_encoding.rb +27 -0
  573. data/lib/ovirt/sdk/v4/types/permission.rb +273 -0
  574. data/lib/ovirt/sdk/v4/types/permit.rb +68 -0
  575. data/lib/ovirt/sdk/v4/types/pm_proxy.rb +46 -0
  576. data/lib/ovirt/sdk/v4/types/pm_proxy_type.rb +28 -0
  577. data/lib/ovirt/sdk/v4/types/policy_unit_type.rb +28 -0
  578. data/lib/ovirt/sdk/v4/types/port_mirroring.rb +31 -0
  579. data/lib/ovirt/sdk/v4/types/power_management.rb +233 -0
  580. data/lib/ovirt/sdk/v4/types/power_management_status.rb +28 -0
  581. data/lib/ovirt/sdk/v4/types/product.rb +31 -0
  582. data/lib/ovirt/sdk/v4/types/profile_detail.rb +136 -0
  583. data/lib/ovirt/sdk/v4/types/property.rb +61 -0
  584. data/lib/ovirt/sdk/v4/types/proxy_ticket.rb +46 -0
  585. data/lib/ovirt/sdk/v4/types/qos.rb +308 -0
  586. data/lib/ovirt/sdk/v4/types/qos_type.rb +29 -0
  587. data/lib/ovirt/sdk/v4/types/quota.rb +188 -0
  588. data/lib/ovirt/sdk/v4/types/quota_cluster_limit.rb +135 -0
  589. data/lib/ovirt/sdk/v4/types/quota_mode_type.rb +28 -0
  590. data/lib/ovirt/sdk/v4/types/quota_storage_limit.rb +105 -0
  591. data/lib/ovirt/sdk/v4/types/range.rb +61 -0
  592. data/lib/ovirt/sdk/v4/types/rate.rb +61 -0
  593. data/lib/ovirt/sdk/v4/types/reported_configuration.rb +91 -0
  594. data/lib/ovirt/sdk/v4/types/reported_device.rb +115 -0
  595. data/lib/ovirt/sdk/v4/types/reported_device_type.rb +26 -0
  596. data/lib/ovirt/sdk/v4/types/resolution_type.rb +27 -0
  597. data/lib/ovirt/sdk/v4/types/rng_device.rb +68 -0
  598. data/lib/ovirt/sdk/v4/types/rng_source.rb +27 -0
  599. data/lib/ovirt/sdk/v4/types/role.rb +108 -0
  600. data/lib/ovirt/sdk/v4/types/role_type.rb +27 -0
  601. data/lib/ovirt/sdk/v4/types/s_e_linux_mode.rb +28 -0
  602. data/lib/ovirt/sdk/v4/types/scheduling_policy.rb +86 -0
  603. data/lib/ovirt/sdk/v4/types/scheduling_policy_unit.rb +101 -0
  604. data/lib/ovirt/sdk/v4/types/scsi_generic_i_o.rb +27 -0
  605. data/lib/ovirt/sdk/v4/types/se_linux.rb +46 -0
  606. data/lib/ovirt/sdk/v4/types/serial_number.rb +61 -0
  607. data/lib/ovirt/sdk/v4/types/serial_number_policy.rb +28 -0
  608. data/lib/ovirt/sdk/v4/types/session.rb +127 -0
  609. data/lib/ovirt/sdk/v4/types/skip_if_connectivity_broken.rb +61 -0
  610. data/lib/ovirt/sdk/v4/types/skip_if_sd_active.rb +46 -0
  611. data/lib/ovirt/sdk/v4/types/snapshot.rb +113 -0
  612. data/lib/ovirt/sdk/v4/types/snapshot_status.rb +28 -0
  613. data/lib/ovirt/sdk/v4/types/snapshot_type.rb +29 -0
  614. data/lib/ovirt/sdk/v4/types/spm.rb +68 -0
  615. data/lib/ovirt/sdk/v4/types/spm_state.rb +28 -0
  616. data/lib/ovirt/sdk/v4/types/ssh.rb +98 -0
  617. data/lib/ovirt/sdk/v4/types/ssh_public_key.rb +68 -0
  618. data/lib/ovirt/sdk/v4/types/sso.rb +56 -0
  619. data/lib/ovirt/sdk/v4/types/sso_method.rb +26 -0
  620. data/lib/ovirt/sdk/v4/types/statistic.rb +299 -0
  621. data/lib/ovirt/sdk/v4/types/statistic_kind.rb +27 -0
  622. data/lib/ovirt/sdk/v4/types/statistic_unit.rb +32 -0
  623. data/lib/ovirt/sdk/v4/types/status.rb +61 -0
  624. data/lib/ovirt/sdk/v4/types/step.rb +187 -0
  625. data/lib/ovirt/sdk/v4/types/step_enum.rb +31 -0
  626. data/lib/ovirt/sdk/v4/types/storage_connection.rb +248 -0
  627. data/lib/ovirt/sdk/v4/types/storage_connection_extension.rb +98 -0
  628. data/lib/ovirt/sdk/v4/types/storage_domain.rb +316 -0
  629. data/lib/ovirt/sdk/v4/types/storage_domain_status.rb +35 -0
  630. data/lib/ovirt/sdk/v4/types/storage_domain_type.rb +30 -0
  631. data/lib/ovirt/sdk/v4/types/storage_format.rb +28 -0
  632. data/lib/ovirt/sdk/v4/types/storage_type.rb +33 -0
  633. data/lib/ovirt/sdk/v4/types/tag.rb +163 -0
  634. data/lib/ovirt/sdk/v4/types/template.rb +75 -0
  635. data/lib/ovirt/sdk/v4/types/template_status.rb +28 -0
  636. data/lib/ovirt/sdk/v4/types/template_version.rb +83 -0
  637. data/lib/ovirt/sdk/v4/types/ticket.rb +61 -0
  638. data/lib/ovirt/sdk/v4/types/time_zone.rb +61 -0
  639. data/lib/ovirt/sdk/v4/types/transparent_huge_pages.rb +46 -0
  640. data/lib/ovirt/sdk/v4/types/transport_type.rb +27 -0
  641. data/lib/ovirt/sdk/v4/types/type.rb +35 -0
  642. data/lib/ovirt/sdk/v4/types/unmanaged_network.rb +75 -0
  643. data/lib/ovirt/sdk/v4/types/usb.rb +61 -0
  644. data/lib/ovirt/sdk/v4/types/usb_type.rb +27 -0
  645. data/lib/ovirt/sdk/v4/types/user.rb +238 -0
  646. data/lib/ovirt/sdk/v4/types/value.rb +61 -0
  647. data/lib/ovirt/sdk/v4/types/value_type.rb +28 -0
  648. data/lib/ovirt/sdk/v4/types/vcpu_pin.rb +61 -0
  649. data/lib/ovirt/sdk/v4/types/vendor.rb +31 -0
  650. data/lib/ovirt/sdk/v4/types/version.rb +106 -0
  651. data/lib/ovirt/sdk/v4/types/virtio_scsi.rb +46 -0
  652. data/lib/ovirt/sdk/v4/types/virtual_numa_node.rb +78 -0
  653. data/lib/ovirt/sdk/v4/types/vlan.rb +46 -0
  654. data/lib/ovirt/sdk/v4/types/vm.rb +649 -0
  655. data/lib/ovirt/sdk/v4/types/vm_affinity.rb +28 -0
  656. data/lib/ovirt/sdk/v4/types/vm_base.rb +757 -0
  657. data/lib/ovirt/sdk/v4/types/vm_device_type.rb +27 -0
  658. data/lib/ovirt/sdk/v4/types/vm_placement_policy.rb +71 -0
  659. data/lib/ovirt/sdk/v4/types/vm_pool.rb +231 -0
  660. data/lib/ovirt/sdk/v4/types/vm_pool_type.rb +27 -0
  661. data/lib/ovirt/sdk/v4/types/vm_status.rb +40 -0
  662. data/lib/ovirt/sdk/v4/types/vm_summary.rb +76 -0
  663. data/lib/ovirt/sdk/v4/types/vm_type.rb +27 -0
  664. data/lib/ovirt/sdk/v4/types/vnic_pass_through.rb +46 -0
  665. data/lib/ovirt/sdk/v4/types/vnic_pass_through_mode.rb +27 -0
  666. data/lib/ovirt/sdk/v4/types/vnic_profile.rb +137 -0
  667. data/lib/ovirt/sdk/v4/types/volume_group.rb +86 -0
  668. data/lib/ovirt/sdk/v4/types/watchdog.rb +61 -0
  669. data/lib/ovirt/sdk/v4/types/watchdog_action.rb +30 -0
  670. data/lib/ovirt/sdk/v4/types/watchdog_model.rb +26 -0
  671. data/lib/ovirt/sdk/v4/types/weight.rb +90 -0
  672. data/lib/ovirt/sdk/v4/version.rb +23 -0
  673. data/lib/ovirt/sdk/v4/writers.rb +738 -0
  674. data/lib/ovirt/sdk/v4/writers/affinity_group_writer.rb +50 -0
  675. data/lib/ovirt/sdk/v4/writers/agent_configuration_writer.rb +49 -0
  676. data/lib/ovirt/sdk/v4/writers/agent_writer.rb +57 -0
  677. data/lib/ovirt/sdk/v4/writers/application_writer.rb +48 -0
  678. data/lib/ovirt/sdk/v4/writers/authorized_key_writer.rb +49 -0
  679. data/lib/ovirt/sdk/v4/writers/balance_writer.rb +49 -0
  680. data/lib/ovirt/sdk/v4/writers/bios_writer.rb +44 -0
  681. data/lib/ovirt/sdk/v4/writers/block_statistic_writer.rb +44 -0
  682. data/lib/ovirt/sdk/v4/writers/bonding_writer.rb +45 -0
  683. data/lib/ovirt/sdk/v4/writers/bookmark_writer.rb +48 -0
  684. data/lib/ovirt/sdk/v4/writers/boot_menu_writer.rb +44 -0
  685. data/lib/ovirt/sdk/v4/writers/boot_writer.rb +50 -0
  686. data/lib/ovirt/sdk/v4/writers/brick_profile_detail_writer.rb +45 -0
  687. data/lib/ovirt/sdk/v4/writers/cdrom_writer.rb +52 -0
  688. data/lib/ovirt/sdk/v4/writers/certificate_writer.rb +50 -0
  689. data/lib/ovirt/sdk/v4/writers/cloud_init_writer.rb +50 -0
  690. data/lib/ovirt/sdk/v4/writers/cluster_writer.rb +76 -0
  691. data/lib/ovirt/sdk/v4/writers/configuration_writer.rb +45 -0
  692. data/lib/ovirt/sdk/v4/writers/console_writer.rb +44 -0
  693. data/lib/ovirt/sdk/v4/writers/core_writer.rb +45 -0
  694. data/lib/ovirt/sdk/v4/writers/cpu_profile_writer.rb +49 -0
  695. data/lib/ovirt/sdk/v4/writers/cpu_topology_writer.rb +46 -0
  696. data/lib/ovirt/sdk/v4/writers/cpu_tune_writer.rb +44 -0
  697. data/lib/ovirt/sdk/v4/writers/cpu_writer.rb +52 -0
  698. data/lib/ovirt/sdk/v4/writers/custom_property_writer.rb +46 -0
  699. data/lib/ovirt/sdk/v4/writers/data_center_writer.rb +54 -0
  700. data/lib/ovirt/sdk/v4/writers/device_writer.rb +51 -0
  701. data/lib/ovirt/sdk/v4/writers/disk_profile_writer.rb +49 -0
  702. data/lib/ovirt/sdk/v4/writers/disk_snapshot_writer.rb +78 -0
  703. data/lib/ovirt/sdk/v4/writers/disk_writer.rb +77 -0
  704. data/lib/ovirt/sdk/v4/writers/display_writer.rb +57 -0
  705. data/lib/ovirt/sdk/v4/writers/dns_writer.rb +45 -0
  706. data/lib/ovirt/sdk/v4/writers/domain_writer.rb +48 -0
  707. data/lib/ovirt/sdk/v4/writers/entity_profile_detail_writer.rb +44 -0
  708. data/lib/ovirt/sdk/v4/writers/error_handling_writer.rb +44 -0
  709. data/lib/ovirt/sdk/v4/writers/event_writer.rb +62 -0
  710. data/lib/ovirt/sdk/v4/writers/external_compute_resource_writer.rb +51 -0
  711. data/lib/ovirt/sdk/v4/writers/external_discovered_host_writer.rb +52 -0
  712. data/lib/ovirt/sdk/v4/writers/external_host_group_writer.rb +52 -0
  713. data/lib/ovirt/sdk/v4/writers/external_host_provider_writer.rb +53 -0
  714. data/lib/ovirt/sdk/v4/writers/external_host_writer.rb +49 -0
  715. data/lib/ovirt/sdk/v4/writers/external_provider_writer.rb +53 -0
  716. data/lib/ovirt/sdk/v4/writers/fencing_policy_writer.rb +46 -0
  717. data/lib/ovirt/sdk/v4/writers/file_writer.rb +50 -0
  718. data/lib/ovirt/sdk/v4/writers/filter_writer.rb +49 -0
  719. data/lib/ovirt/sdk/v4/writers/floppy_writer.rb +52 -0
  720. data/lib/ovirt/sdk/v4/writers/fop_statistic_writer.rb +45 -0
  721. data/lib/ovirt/sdk/v4/writers/gluster_brick_advanced_details_writer.rb +58 -0
  722. data/lib/ovirt/sdk/v4/writers/gluster_brick_memory_info_writer.rb +44 -0
  723. data/lib/ovirt/sdk/v4/writers/gluster_brick_writer.rb +62 -0
  724. data/lib/ovirt/sdk/v4/writers/gluster_client_writer.rb +47 -0
  725. data/lib/ovirt/sdk/v4/writers/gluster_hook_writer.rb +57 -0
  726. data/lib/ovirt/sdk/v4/writers/gluster_memory_pool_writer.rb +55 -0
  727. data/lib/ovirt/sdk/v4/writers/gluster_server_hook_writer.rb +51 -0
  728. data/lib/ovirt/sdk/v4/writers/gluster_volume_profile_details_writer.rb +49 -0
  729. data/lib/ovirt/sdk/v4/writers/gluster_volume_writer.rb +63 -0
  730. data/lib/ovirt/sdk/v4/writers/graphics_console_writer.rb +54 -0
  731. data/lib/ovirt/sdk/v4/writers/group_writer.rb +51 -0
  732. data/lib/ovirt/sdk/v4/writers/guest_operating_system_writer.rb +49 -0
  733. data/lib/ovirt/sdk/v4/writers/hardware_information_writer.rb +56 -0
  734. data/lib/ovirt/sdk/v4/writers/high_availability_writer.rb +45 -0
  735. data/lib/ovirt/sdk/v4/writers/hook_writer.rb +50 -0
  736. data/lib/ovirt/sdk/v4/writers/host_device_passthrough_writer.rb +44 -0
  737. data/lib/ovirt/sdk/v4/writers/host_device_writer.rb +57 -0
  738. data/lib/ovirt/sdk/v4/writers/host_nic_virtual_functions_configuration_writer.rb +46 -0
  739. data/lib/ovirt/sdk/v4/writers/host_nic_writer.rb +68 -0
  740. data/lib/ovirt/sdk/v4/writers/host_storage_writer.rb +64 -0
  741. data/lib/ovirt/sdk/v4/writers/host_writer.rb +85 -0
  742. data/lib/ovirt/sdk/v4/writers/hosted_engine_writer.rb +48 -0
  743. data/lib/ovirt/sdk/v4/writers/icon_writer.rb +49 -0
  744. data/lib/ovirt/sdk/v4/writers/identified_writer.rb +47 -0
  745. data/lib/ovirt/sdk/v4/writers/image_writer.rb +48 -0
  746. data/lib/ovirt/sdk/v4/writers/initialization_writer.rb +64 -0
  747. data/lib/ovirt/sdk/v4/writers/instance_type_writer.rb +86 -0
  748. data/lib/ovirt/sdk/v4/writers/io_writer.rb +44 -0
  749. data/lib/ovirt/sdk/v4/writers/ip_address_assignment_writer.rb +45 -0
  750. data/lib/ovirt/sdk/v4/writers/ip_writer.rb +47 -0
  751. data/lib/ovirt/sdk/v4/writers/iscsi_bond_writer.rb +50 -0
  752. data/lib/ovirt/sdk/v4/writers/iscsi_details_writer.rb +60 -0
  753. data/lib/ovirt/sdk/v4/writers/job_writer.rb +54 -0
  754. data/lib/ovirt/sdk/v4/writers/katello_erratum_writer.rb +56 -0
  755. data/lib/ovirt/sdk/v4/writers/kernel_writer.rb +44 -0
  756. data/lib/ovirt/sdk/v4/writers/ksm_writer.rb +45 -0
  757. data/lib/ovirt/sdk/v4/writers/label_writer.rb +49 -0
  758. data/lib/ovirt/sdk/v4/writers/logical_unit_writer.rb +60 -0
  759. data/lib/ovirt/sdk/v4/writers/mac_pool_writer.rb +50 -0
  760. data/lib/ovirt/sdk/v4/writers/mac_writer.rb +44 -0
  761. data/lib/ovirt/sdk/v4/writers/memory_over_commit_writer.rb +44 -0
  762. data/lib/ovirt/sdk/v4/writers/memory_policy_writer.rb +47 -0
  763. data/lib/ovirt/sdk/v4/writers/method_writer.rb +44 -0
  764. data/lib/ovirt/sdk/v4/writers/migration_options_writer.rb +45 -0
  765. data/lib/ovirt/sdk/v4/writers/network_attachment_writer.rb +55 -0
  766. data/lib/ovirt/sdk/v4/writers/network_configuration_writer.rb +45 -0
  767. data/lib/ovirt/sdk/v4/writers/network_writer.rb +66 -0
  768. data/lib/ovirt/sdk/v4/writers/nfs_profile_detail_writer.rb +45 -0
  769. data/lib/ovirt/sdk/v4/writers/nic_configuration_writer.rb +47 -0
  770. data/lib/ovirt/sdk/v4/writers/nic_writer.rb +61 -0
  771. data/lib/ovirt/sdk/v4/writers/numa_node_pin_writer.rb +46 -0
  772. data/lib/ovirt/sdk/v4/writers/numa_node_writer.rb +53 -0
  773. data/lib/ovirt/sdk/v4/writers/open_stack_image_provider_writer.rb +54 -0
  774. data/lib/ovirt/sdk/v4/writers/open_stack_image_writer.rb +48 -0
  775. data/lib/ovirt/sdk/v4/writers/open_stack_network_provider_writer.rb +56 -0
  776. data/lib/ovirt/sdk/v4/writers/open_stack_network_writer.rb +48 -0
  777. data/lib/ovirt/sdk/v4/writers/open_stack_provider_writer.rb +54 -0
  778. data/lib/ovirt/sdk/v4/writers/open_stack_subnet_writer.rb +58 -0
  779. data/lib/ovirt/sdk/v4/writers/open_stack_volume_provider_writer.rb +55 -0
  780. data/lib/ovirt/sdk/v4/writers/open_stack_volume_type_writer.rb +49 -0
  781. data/lib/ovirt/sdk/v4/writers/openstack_volume_authentication_key_writer.rb +52 -0
  782. data/lib/ovirt/sdk/v4/writers/operating_system_info_writer.rb +49 -0
  783. data/lib/ovirt/sdk/v4/writers/operating_system_writer.rb +49 -0
  784. data/lib/ovirt/sdk/v4/writers/option_writer.rb +46 -0
  785. data/lib/ovirt/sdk/v4/writers/package_writer.rb +44 -0
  786. data/lib/ovirt/sdk/v4/writers/payload_writer.rb +46 -0
  787. data/lib/ovirt/sdk/v4/writers/permission_writer.rb +58 -0
  788. data/lib/ovirt/sdk/v4/writers/permit_writer.rb +49 -0
  789. data/lib/ovirt/sdk/v4/writers/pm_proxy_writer.rb +44 -0
  790. data/lib/ovirt/sdk/v4/writers/port_mirroring_writer.rb +43 -0
  791. data/lib/ovirt/sdk/v4/writers/power_management_writer.rb +54 -0
  792. data/lib/ovirt/sdk/v4/writers/product_writer.rb +47 -0
  793. data/lib/ovirt/sdk/v4/writers/profile_detail_writer.rb +48 -0
  794. data/lib/ovirt/sdk/v4/writers/property_writer.rb +45 -0
  795. data/lib/ovirt/sdk/v4/writers/proxy_ticket_writer.rb +44 -0
  796. data/lib/ovirt/sdk/v4/writers/qos_writer.rb +65 -0
  797. data/lib/ovirt/sdk/v4/writers/quota_cluster_limit_writer.rb +53 -0
  798. data/lib/ovirt/sdk/v4/writers/quota_storage_limit_writer.rb +51 -0
  799. data/lib/ovirt/sdk/v4/writers/quota_writer.rb +55 -0
  800. data/lib/ovirt/sdk/v4/writers/range_writer.rb +45 -0
  801. data/lib/ovirt/sdk/v4/writers/rate_writer.rb +45 -0
  802. data/lib/ovirt/sdk/v4/writers/reported_configuration_writer.rb +47 -0
  803. data/lib/ovirt/sdk/v4/writers/reported_device_writer.rb +51 -0
  804. data/lib/ovirt/sdk/v4/writers/rng_device_writer.rb +45 -0
  805. data/lib/ovirt/sdk/v4/writers/role_writer.rb +51 -0
  806. data/lib/ovirt/sdk/v4/writers/scheduling_policy_unit_writer.rb +51 -0
  807. data/lib/ovirt/sdk/v4/writers/scheduling_policy_writer.rb +50 -0
  808. data/lib/ovirt/sdk/v4/writers/se_linux_writer.rb +44 -0
  809. data/lib/ovirt/sdk/v4/writers/serial_number_writer.rb +45 -0
  810. data/lib/ovirt/sdk/v4/writers/session_writer.rb +52 -0
  811. data/lib/ovirt/sdk/v4/writers/skip_if_connectivity_broken_writer.rb +45 -0
  812. data/lib/ovirt/sdk/v4/writers/skip_if_sd_active_writer.rb +44 -0
  813. data/lib/ovirt/sdk/v4/writers/snapshot_writer.rb +118 -0
  814. data/lib/ovirt/sdk/v4/writers/spm_writer.rb +45 -0
  815. data/lib/ovirt/sdk/v4/writers/ssh_public_key_writer.rb +49 -0
  816. data/lib/ovirt/sdk/v4/writers/ssh_writer.rb +51 -0
  817. data/lib/ovirt/sdk/v4/writers/sso_writer.rb +44 -0
  818. data/lib/ovirt/sdk/v4/writers/statistic_writer.rb +60 -0
  819. data/lib/ovirt/sdk/v4/writers/status_writer.rb +45 -0
  820. data/lib/ovirt/sdk/v4/writers/step_writer.rb +56 -0
  821. data/lib/ovirt/sdk/v4/writers/storage_connection_extension_writer.rb +51 -0
  822. data/lib/ovirt/sdk/v4/writers/storage_connection_writer.rb +61 -0
  823. data/lib/ovirt/sdk/v4/writers/storage_domain_writer.rb +63 -0
  824. data/lib/ovirt/sdk/v4/writers/tag_writer.rb +53 -0
  825. data/lib/ovirt/sdk/v4/writers/template_version_writer.rb +46 -0
  826. data/lib/ovirt/sdk/v4/writers/template_writer.rb +86 -0
  827. data/lib/ovirt/sdk/v4/writers/ticket_writer.rb +45 -0
  828. data/lib/ovirt/sdk/v4/writers/time_zone_writer.rb +45 -0
  829. data/lib/ovirt/sdk/v4/writers/transparent_huge_pages_writer.rb +44 -0
  830. data/lib/ovirt/sdk/v4/writers/unmanaged_network_writer.rb +49 -0
  831. data/lib/ovirt/sdk/v4/writers/usb_writer.rb +45 -0
  832. data/lib/ovirt/sdk/v4/writers/user_writer.rb +59 -0
  833. data/lib/ovirt/sdk/v4/writers/value_writer.rb +45 -0
  834. data/lib/ovirt/sdk/v4/writers/vcpu_pin_writer.rb +45 -0
  835. data/lib/ovirt/sdk/v4/writers/vendor_writer.rb +47 -0
  836. data/lib/ovirt/sdk/v4/writers/version_writer.rb +52 -0
  837. data/lib/ovirt/sdk/v4/writers/virtio_scsi_writer.rb +44 -0
  838. data/lib/ovirt/sdk/v4/writers/virtual_numa_node_writer.rb +55 -0
  839. data/lib/ovirt/sdk/v4/writers/vlan_writer.rb +44 -0
  840. data/lib/ovirt/sdk/v4/writers/vm_base_writer.rb +84 -0
  841. data/lib/ovirt/sdk/v4/writers/vm_placement_policy_writer.rb +45 -0
  842. data/lib/ovirt/sdk/v4/writers/vm_pool_writer.rb +58 -0
  843. data/lib/ovirt/sdk/v4/writers/vm_summary_writer.rb +46 -0
  844. data/lib/ovirt/sdk/v4/writers/vm_writer.rb +113 -0
  845. data/lib/ovirt/sdk/v4/writers/vnic_pass_through_writer.rb +44 -0
  846. data/lib/ovirt/sdk/v4/writers/vnic_profile_writer.rb +52 -0
  847. data/lib/ovirt/sdk/v4/writers/volume_group_writer.rb +46 -0
  848. data/lib/ovirt/sdk/v4/writers/watchdog_writer.rb +53 -0
  849. data/lib/ovirt/sdk/v4/writers/weight_writer.rb +50 -0
  850. data/lib/ovirt/sdk/v4/writers/writer.rb +29 -0
  851. data/lib/ovirt/sdk/v4/xml_reader.rb +187 -0
  852. data/lib/ovirt/sdk/v4/xml_writer.rb +50 -0
  853. metadata +927 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 591122a879ffd4ea3327f5643cb1ae978e3e3c99
4
+ data.tar.gz: 1668fa07c7899275224dc8e8f2350c46764176ed
5
+ SHA512:
6
+ metadata.gz: 9d1f6154f5045bfc631524ec12704845d83946e1a25ef309b02645e0e46fb9d24fb5466f68c9ca4cce76bf320d5a270d87ef67720d0d28050799b51728825a6a
7
+ data.tar.gz: f0f9a813ef9e75dd3e1be40667280bdfbe60f8e589a6cbd5abdabc139c83a02baf051ef231ac6f66278240fc0df3fe3ae6824de4a06626ebd052ec6bd3641361
data/LICENSE.txt ADDED
@@ -0,0 +1,177 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
data/README.md ADDED
@@ -0,0 +1,68 @@
1
+ # oVirt Engine API Ruby SDK
2
+
3
+ ## Introduction
4
+
5
+ This project contains the Ruby SDK for the oVirt Engine API.
6
+
7
+ ## Important
8
+
9
+ Note that most of the code of this SDK is automatically generated. If you
10
+ just installed the gem then you will have everything already, but if you
11
+ downloaded the source then you will need to generate it, follow the
12
+ instructions in the `README.md` file of the parent directory.
13
+
14
+ ## Usage
15
+
16
+ To use the SDK require the `ovirt/sdk/v4` file. That will give you
17
+ access to all the classes of th SDK, and in particular to the
18
+ Ovirt::SDK::V4::Connection class. This is the entry point of the SDK,
19
+ and gives you access to the root of the tree of services of the API:
20
+
21
+ ```ruby
22
+ require 'ovirt/sdk/v4'
23
+
24
+ # Create a connection to the server:
25
+ connection = Ovirt::SDK::V4::Connection({
26
+ :url => 'https://engine.example.com/ovirt-engine/api',
27
+ :username => 'admin@internal',
28
+ :password => '...',
29
+ :ca_file => 'ca.pem',
30
+ })
31
+
32
+ # Get the reference to the system service:
33
+ system_service = connection.system
34
+
35
+ # Always remember to close the connection when finished:
36
+ connection.close
37
+ ```
38
+
39
+ The `ca.pem` file is required when connecting to a server protected
40
+ with TLS. In an usual oVirt installation it will be in
41
+ `/etc/pki/ovirt-engine/ca.pem`.
42
+
43
+ Once you have the reference to the system service you can use it to
44
+ get references to other services, and call their methods. For example,
45
+ to retrieve the list of virtual machines of the system you can use the
46
+ `vms` method, which returns a reference to the service that manages
47
+ the virtual machines:
48
+
49
+ ```ruby
50
+ # Get the reference to the "vms" service:
51
+ vms_service = system_service.vms
52
+ ```
53
+
54
+ This service is an instance of Ovirt::SDK::V4::VmsService, and it has
55
+ a `list` method that returns an array of virtual machines, which are
56
+ instances of the Ovirt::SDK::V4::Vm class:
57
+
58
+ ```ruby
59
+ # Retrieve the virtual machines:
60
+ vms = vms_service.list
61
+
62
+ # Print the names and identifiers of the virtual machines:
63
+ vms.each do |vm|
64
+ puts "#{vm.name}: #{vm.id}"
65
+ end
66
+ ```
67
+
68
+ In the future you will find more usuage examples in the `examples` directory.
@@ -0,0 +1,25 @@
1
+ #!/usr/bin/ruby
2
+
3
+ #
4
+ # Copyright (c) 2015 Red Hat, Inc.
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
17
+
18
+ require 'mkmf'
19
+
20
+ # Check that "libxml2" is available:
21
+ unless pkg_config('libxml-2.0')
22
+ raise 'The "libxml2" package isn\'t available.'
23
+ end
24
+
25
+ create_makefile 'ovirtsdk'
@@ -0,0 +1,23 @@
1
+ /*
2
+ Copyright (c) 2015 Red Hat, Inc.
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
14
+ */
15
+
16
+ #include <ruby.h>
17
+
18
+ #include "ov_module.h"
19
+ #include "ov_error.h"
20
+
21
+ void ov_error_define(void) {
22
+ ov_error_class = rb_define_class_under(ov_module, "Error", rb_eStandardError);
23
+ }
@@ -0,0 +1,25 @@
1
+ /*
2
+ Copyright (c) 2015 Red Hat, Inc.
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
14
+ */
15
+
16
+ #ifndef __OV_ERROR_H__
17
+ #define __OV_ERROR_H__
18
+
19
+ // Classes:
20
+ VALUE ov_error_class;
21
+
22
+ // Initialization function:
23
+ extern void ov_error_define(void);
24
+
25
+ #endif
@@ -0,0 +1,25 @@
1
+ /*
2
+ Copyright (c) 2015 Red Hat, Inc.
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
14
+ */
15
+
16
+ #include <ruby.h>
17
+
18
+ #include "ov_module.h"
19
+
20
+ // Initialization function:
21
+ void ov_module_define(void) {
22
+ ov_module = rb_define_module("Ovirt");
23
+ ov_module = rb_define_module_under(ov_module, "SDK");
24
+ ov_module = rb_define_module_under(ov_module, "V4");
25
+ }
@@ -0,0 +1,25 @@
1
+ /*
2
+ Copyright (c) 2015 Red Hat, Inc.
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
14
+ */
15
+
16
+ #ifndef __OV_MODULE_H__
17
+ #define __OV_MODULE_H__
18
+
19
+ // Module:
20
+ VALUE ov_module;
21
+
22
+ // Initialization function:
23
+ extern void ov_module_define(void);
24
+
25
+ #endif
@@ -0,0 +1,35 @@
1
+ /*
2
+ Copyright (c) 2015 Red Hat, Inc.
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
14
+ */
15
+
16
+ #include <ruby.h>
17
+
18
+ #include <libxml/xmlreader.h>
19
+
20
+ #include "ov_module.h"
21
+ #include "ov_xml_constants.h"
22
+
23
+ static void ov_xml_constants_define_integer(char *name, int value) {
24
+ rb_define_const(ov_xml_constants_module, name, INT2NUM(value));
25
+ }
26
+
27
+ void ov_xml_constants_define(void) {
28
+ // Define the module:
29
+ ov_xml_constants_module = rb_define_module_under(ov_module, "XmlConstants");
30
+
31
+ // Define the constants:
32
+ ov_xml_constants_define_integer("TYPE_NONE", XML_READER_TYPE_NONE);
33
+ ov_xml_constants_define_integer("TYPE_ELEMENT", XML_READER_TYPE_ELEMENT);
34
+ ov_xml_constants_define_integer("TYPE_END_ELEMENT", XML_READER_TYPE_END_ELEMENT);
35
+ }
@@ -0,0 +1,25 @@
1
+ /*
2
+ Copyright (c) 2015 Red Hat, Inc.
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
14
+ */
15
+
16
+ #ifndef __OV_XML_CONSTANTS_H__
17
+ #define __OV_XML_CONSTANTS_H__
18
+
19
+ // Classes:
20
+ VALUE ov_xml_constants_module;
21
+
22
+ // Initialization function:
23
+ extern void ov_xml_constants_define(void);
24
+
25
+ #endif