fog 1.22.1 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (659) hide show
  1. checksums.yaml +13 -5
  2. data/CHANGELOG.md +351 -0
  3. data/CONTRIBUTORS.md +43 -0
  4. data/Rakefile +2 -2
  5. data/fog.gemspec +6 -4
  6. data/gemfiles/Gemfile-edge +0 -3
  7. data/gemfiles/Gemfile-ruby-1.8.7 +1 -0
  8. data/lib/fog.rb +2 -0
  9. data/lib/fog/aws/beanstalk.rb +0 -1
  10. data/lib/fog/aws/compute.rb +46 -2
  11. data/lib/fog/aws/dns.rb +1 -1
  12. data/lib/fog/aws/elb.rb +2 -1
  13. data/lib/fog/aws/models/compute/flavors.rb +80 -0
  14. data/lib/fog/aws/models/compute/image.rb +1 -0
  15. data/lib/fog/aws/models/compute/network_acl.rb +12 -1
  16. data/lib/fog/aws/models/compute/network_interface.rb +1 -0
  17. data/lib/fog/aws/models/compute/server.rb +6 -13
  18. data/lib/fog/aws/models/compute/servers.rb +82 -31
  19. data/lib/fog/aws/models/compute/subnet.rb +1 -0
  20. data/lib/fog/aws/models/compute/vpc.rb +11 -0
  21. data/lib/fog/aws/models/data_pipeline/pipeline.rb +2 -1
  22. data/lib/fog/aws/models/elasticache/cluster.rb +8 -16
  23. data/lib/fog/aws/parsers/compute/describe_instances.rb +1 -1
  24. data/lib/fog/aws/parsers/compute/describe_internet_gateways.rb +1 -2
  25. data/lib/fog/aws/parsers/compute/describe_subnets.rb +2 -0
  26. data/lib/fog/aws/parsers/compute/modify_subnet_attribute.rb +24 -0
  27. data/lib/fog/aws/parsers/compute/network_interface_parser.rb +6 -1
  28. data/lib/fog/aws/parsers/rds/db_parser.rb +3 -15
  29. data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +8 -3
  30. data/lib/fog/aws/requests/compute/create_network_acl.rb +1 -1
  31. data/lib/fog/aws/requests/compute/create_tags.rb +1 -20
  32. data/lib/fog/aws/requests/compute/create_vpc.rb +2 -1
  33. data/lib/fog/aws/requests/compute/delete_tags.rb +1 -17
  34. data/lib/fog/aws/requests/compute/describe_instances.rb +1 -1
  35. data/lib/fog/aws/requests/compute/describe_network_acls.rb +6 -0
  36. data/lib/fog/aws/requests/compute/describe_vpcs.rb +6 -0
  37. data/lib/fog/aws/requests/compute/modify_subnet_attribute.rb +58 -0
  38. data/lib/fog/aws/requests/compute/register_image.rb +2 -2
  39. data/lib/fog/aws/requests/compute/run_instances.rb +2 -1
  40. data/lib/fog/aws/requests/data_pipeline/create_pipeline.rb +4 -2
  41. data/lib/fog/aws/requests/dns/change_resource_record_sets.rb +4 -1
  42. data/lib/fog/aws/requests/elb/create_load_balancer.rb +3 -2
  43. data/lib/fog/bin.rb +2 -0
  44. data/lib/fog/bin/opennebula.rb +60 -0
  45. data/lib/fog/bin/softlayer.rb +53 -0
  46. data/lib/fog/cloudsigma/models/lib_volume.rb +1 -1
  47. data/lib/fog/cloudstack/compute.rb +375 -14
  48. data/lib/fog/cloudstack/requests/compute/activate_project.rb +21 -0
  49. data/lib/fog/cloudstack/requests/compute/add_account_to_project.rb +21 -0
  50. data/lib/fog/cloudstack/requests/compute/add_baremetal_dhcp.rb +25 -0
  51. data/lib/fog/cloudstack/requests/compute/add_baremetal_host.rb +26 -0
  52. data/lib/fog/cloudstack/requests/compute/add_baremetal_pxe_kick_start_server.rb +26 -0
  53. data/lib/fog/cloudstack/requests/compute/add_baremetal_pxe_ping_server.rb +28 -0
  54. data/lib/fog/cloudstack/requests/compute/add_cisco_asa1000v_resource.rb +24 -0
  55. data/lib/fog/cloudstack/requests/compute/add_cisco_vnmc_resource.rb +24 -0
  56. data/lib/fog/cloudstack/requests/compute/add_cluster.rb +25 -0
  57. data/lib/fog/cloudstack/requests/compute/add_external_firewall.rb +24 -0
  58. data/lib/fog/cloudstack/requests/compute/add_external_load_balancer.rb +24 -0
  59. data/lib/fog/cloudstack/requests/compute/add_f5_load_balancer.rb +25 -0
  60. data/lib/fog/cloudstack/requests/compute/add_host.rb +26 -0
  61. data/lib/fog/cloudstack/requests/compute/add_image_store.rb +21 -0
  62. data/lib/fog/cloudstack/requests/compute/add_ip_to_nic.rb +21 -0
  63. data/lib/fog/cloudstack/requests/compute/add_netscaler_load_balancer.rb +25 -0
  64. data/lib/fog/cloudstack/requests/compute/add_network_device.rb +20 -0
  65. data/lib/fog/cloudstack/requests/compute/add_network_service_provider.rb +22 -0
  66. data/lib/fog/cloudstack/requests/compute/add_nic_to_virtual_machine.rb +22 -0
  67. data/lib/fog/cloudstack/requests/compute/add_nicira_nvp_device.rb +25 -0
  68. data/lib/fog/cloudstack/requests/compute/add_region.rb +23 -0
  69. data/lib/fog/cloudstack/requests/compute/add_resource_detail.rb +23 -0
  70. data/lib/fog/cloudstack/requests/compute/add_s3.rb +23 -0
  71. data/lib/fog/cloudstack/requests/compute/add_secondary_storage.rb +21 -0
  72. data/lib/fog/cloudstack/requests/compute/add_srx_firewall.rb +25 -0
  73. data/lib/fog/cloudstack/requests/compute/add_swift.rb +21 -0
  74. data/lib/fog/cloudstack/requests/compute/add_traffic_monitor.rb +22 -0
  75. data/lib/fog/cloudstack/requests/compute/add_traffic_type.rb +22 -0
  76. data/lib/fog/cloudstack/requests/compute/add_ucs_manager.rb +24 -0
  77. data/lib/fog/cloudstack/requests/compute/add_vmware_dc.rb +23 -0
  78. data/lib/fog/cloudstack/requests/compute/add_vpn_user.rb +22 -0
  79. data/lib/fog/cloudstack/requests/compute/archive_alerts.rb +20 -0
  80. data/lib/fog/cloudstack/requests/compute/archive_events.rb +20 -0
  81. data/lib/fog/cloudstack/requests/compute/assign_to_global_load_balancer_rule.rb +22 -0
  82. data/lib/fog/cloudstack/requests/compute/assign_to_load_balancer_rule.rb +10 -10
  83. data/lib/fog/cloudstack/requests/compute/assign_virtual_machine.rb +13 -8
  84. data/lib/fog/cloudstack/requests/compute/associate_ip_address.rb +20 -0
  85. data/lib/fog/cloudstack/requests/compute/associate_lun.rb +22 -0
  86. data/lib/fog/cloudstack/requests/compute/associate_ucs_profile_to_blade.rb +23 -0
  87. data/lib/fog/cloudstack/requests/compute/attach_iso.rb +22 -0
  88. data/lib/fog/cloudstack/requests/compute/attach_volume.rb +15 -10
  89. data/lib/fog/cloudstack/requests/compute/authorize_security_group_egress.rb +10 -4
  90. data/lib/fog/cloudstack/requests/compute/authorize_security_group_ingress.rb +10 -5
  91. data/lib/fog/cloudstack/requests/compute/cancel_host_maintenance.rb +21 -0
  92. data/lib/fog/cloudstack/requests/compute/cancel_storage_maintenance.rb +21 -0
  93. data/lib/fog/cloudstack/requests/compute/change_service_for_router.rb +22 -0
  94. data/lib/fog/cloudstack/requests/compute/change_service_for_system_vm.rb +22 -0
  95. data/lib/fog/cloudstack/requests/compute/change_service_for_virtual_machine.rb +8 -4
  96. data/lib/fog/cloudstack/requests/compute/clean_vmreservations.rb +20 -0
  97. data/lib/fog/cloudstack/requests/compute/configure_f5_load_balancer.rb +21 -0
  98. data/lib/fog/cloudstack/requests/compute/configure_internal_load_balancer_element.rb +22 -0
  99. data/lib/fog/cloudstack/requests/compute/configure_netscaler_load_balancer.rb +21 -0
  100. data/lib/fog/cloudstack/requests/compute/configure_srx_firewall.rb +21 -0
  101. data/lib/fog/cloudstack/requests/compute/configure_virtual_router_element.rb +22 -0
  102. data/lib/fog/cloudstack/requests/compute/copy_iso.rb +23 -0
  103. data/lib/fog/cloudstack/requests/compute/copy_template.rb +23 -0
  104. data/lib/fog/cloudstack/requests/compute/create_account.rb +13 -5
  105. data/lib/fog/cloudstack/requests/compute/create_affinity_group.rb +22 -0
  106. data/lib/fog/cloudstack/requests/compute/create_auto_scale_policy.rb +23 -0
  107. data/lib/fog/cloudstack/requests/compute/create_auto_scale_vm_group.rb +26 -0
  108. data/lib/fog/cloudstack/requests/compute/create_auto_scale_vm_profile.rb +23 -0
  109. data/lib/fog/cloudstack/requests/compute/create_condition.rb +23 -0
  110. data/lib/fog/cloudstack/requests/compute/create_counter.rb +23 -0
  111. data/lib/fog/cloudstack/requests/compute/create_disk_offering.rb +14 -9
  112. data/lib/fog/cloudstack/requests/compute/create_domain.rb +8 -5
  113. data/lib/fog/cloudstack/requests/compute/create_egress_firewall_rule.rb +22 -0
  114. data/lib/fog/cloudstack/requests/compute/create_firewall_rule.rb +22 -0
  115. data/lib/fog/cloudstack/requests/compute/create_global_load_balancer_rule.rb +24 -0
  116. data/lib/fog/cloudstack/requests/compute/create_instance_group.rb +21 -0
  117. data/lib/fog/cloudstack/requests/compute/create_internal_load_balancer_element.rb +21 -0
  118. data/lib/fog/cloudstack/requests/compute/create_ip_forwarding_rule.rb +23 -0
  119. data/lib/fog/cloudstack/requests/compute/create_lb_health_check_policy.rb +21 -0
  120. data/lib/fog/cloudstack/requests/compute/create_lb_stickiness_policy.rb +23 -0
  121. data/lib/fog/cloudstack/requests/compute/create_load_balancer.rb +27 -0
  122. data/lib/fog/cloudstack/requests/compute/create_load_balancer_rule.rb +10 -4
  123. data/lib/fog/cloudstack/requests/compute/create_lun_on_filer.rb +22 -0
  124. data/lib/fog/cloudstack/requests/compute/create_network.rb +11 -5
  125. data/lib/fog/cloudstack/requests/compute/create_network_acl.rb +21 -0
  126. data/lib/fog/cloudstack/requests/compute/create_network_acl_list.rb +22 -0
  127. data/lib/fog/cloudstack/requests/compute/create_network_offering.rb +25 -0
  128. data/lib/fog/cloudstack/requests/compute/create_physical_network.rb +22 -0
  129. data/lib/fog/cloudstack/requests/compute/create_pod.rb +25 -0
  130. data/lib/fog/cloudstack/requests/compute/create_pool.rb +22 -0
  131. data/lib/fog/cloudstack/requests/compute/create_port_forwarding_rule.rb +12 -5
  132. data/lib/fog/cloudstack/requests/compute/create_portable_ip_range.rb +25 -0
  133. data/lib/fog/cloudstack/requests/compute/create_private_gateway.rb +25 -0
  134. data/lib/fog/cloudstack/requests/compute/create_project.rb +22 -0
  135. data/lib/fog/cloudstack/requests/compute/create_remote_access_vpn.rb +21 -0
  136. data/lib/fog/cloudstack/requests/compute/create_secondary_staging_store.rb +21 -0
  137. data/lib/fog/cloudstack/requests/compute/create_security_group.rb +11 -6
  138. data/lib/fog/cloudstack/requests/compute/create_service_offering.rb +25 -0
  139. data/lib/fog/cloudstack/requests/compute/create_snapshot.rb +9 -7
  140. data/lib/fog/cloudstack/requests/compute/create_snapshot_policy.rb +12 -5
  141. data/lib/fog/cloudstack/requests/compute/create_ssh_key_pair.rb +8 -6
  142. data/lib/fog/cloudstack/requests/compute/create_static_route.rb +22 -0
  143. data/lib/fog/cloudstack/requests/compute/create_storage_network_ip_range.rb +24 -0
  144. data/lib/fog/cloudstack/requests/compute/create_storage_pool.rb +23 -0
  145. data/lib/fog/cloudstack/requests/compute/create_tags.rb +23 -0
  146. data/lib/fog/cloudstack/requests/compute/create_template.rb +23 -0
  147. data/lib/fog/cloudstack/requests/compute/create_user.rb +13 -5
  148. data/lib/fog/cloudstack/requests/compute/create_virtual_router_element.rb +21 -0
  149. data/lib/fog/cloudstack/requests/compute/create_vlan_ip_range.rb +20 -0
  150. data/lib/fog/cloudstack/requests/compute/create_vm_snapshot.rb +21 -0
  151. data/lib/fog/cloudstack/requests/compute/create_volume.rb +10 -8
  152. data/lib/fog/cloudstack/requests/compute/create_volume_on_filer.rb +27 -0
  153. data/lib/fog/cloudstack/requests/compute/create_vpc.rb +25 -0
  154. data/lib/fog/cloudstack/requests/compute/create_vpcoffering.rb +23 -0
  155. data/lib/fog/cloudstack/requests/compute/create_vpn_connection.rb +22 -0
  156. data/lib/fog/cloudstack/requests/compute/create_vpn_customer_gateway.rb +25 -0
  157. data/lib/fog/cloudstack/requests/compute/create_vpn_gateway.rb +21 -0
  158. data/lib/fog/cloudstack/requests/compute/create_zone.rb +15 -9
  159. data/lib/fog/cloudstack/requests/compute/dedicate_cluster.rb +22 -0
  160. data/lib/fog/cloudstack/requests/compute/dedicate_guest_vlan_range.rb +24 -0
  161. data/lib/fog/cloudstack/requests/compute/dedicate_host.rb +22 -0
  162. data/lib/fog/cloudstack/requests/compute/dedicate_pod.rb +22 -0
  163. data/lib/fog/cloudstack/requests/compute/dedicate_public_ip_range.rb +23 -0
  164. data/lib/fog/cloudstack/requests/compute/dedicate_zone.rb +22 -0
  165. data/lib/fog/cloudstack/requests/compute/delete_account.rb +8 -5
  166. data/lib/fog/cloudstack/requests/compute/delete_account_from_project.rb +22 -0
  167. data/lib/fog/cloudstack/requests/compute/delete_affinity_group.rb +20 -0
  168. data/lib/fog/cloudstack/requests/compute/delete_alerts.rb +20 -0
  169. data/lib/fog/cloudstack/requests/compute/delete_auto_scale_policy.rb +21 -0
  170. data/lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_group.rb +21 -0
  171. data/lib/fog/cloudstack/requests/compute/delete_auto_scale_vm_profile.rb +21 -0
  172. data/lib/fog/cloudstack/requests/compute/delete_cisco_asa1000v_resource.rb +21 -0
  173. data/lib/fog/cloudstack/requests/compute/delete_cisco_nexus_vsm.rb +21 -0
  174. data/lib/fog/cloudstack/requests/compute/delete_cisco_vnmc_resource.rb +21 -0
  175. data/lib/fog/cloudstack/requests/compute/delete_cluster.rb +21 -0
  176. data/lib/fog/cloudstack/requests/compute/delete_condition.rb +21 -0
  177. data/lib/fog/cloudstack/requests/compute/delete_counter.rb +21 -0
  178. data/lib/fog/cloudstack/requests/compute/delete_disk_offering.rb +12 -9
  179. data/lib/fog/cloudstack/requests/compute/delete_domain.rb +8 -5
  180. data/lib/fog/cloudstack/requests/compute/delete_egress_firewall_rule.rb +21 -0
  181. data/lib/fog/cloudstack/requests/compute/delete_events.rb +20 -0
  182. data/lib/fog/cloudstack/requests/compute/delete_external_firewall.rb +21 -0
  183. data/lib/fog/cloudstack/requests/compute/delete_external_load_balancer.rb +21 -0
  184. data/lib/fog/cloudstack/requests/compute/delete_f5_load_balancer.rb +21 -0
  185. data/lib/fog/cloudstack/requests/compute/delete_firewall_rule.rb +21 -0
  186. data/lib/fog/cloudstack/requests/compute/delete_global_load_balancer_rule.rb +21 -0
  187. data/lib/fog/cloudstack/requests/compute/delete_host.rb +21 -0
  188. data/lib/fog/cloudstack/requests/compute/delete_image_store.rb +21 -0
  189. data/lib/fog/cloudstack/requests/compute/delete_instance_group.rb +21 -0
  190. data/lib/fog/cloudstack/requests/compute/delete_ip_forwarding_rule.rb +21 -0
  191. data/lib/fog/cloudstack/requests/compute/delete_iso.rb +21 -0
  192. data/lib/fog/cloudstack/requests/compute/delete_lb_health_check_policy.rb +21 -0
  193. data/lib/fog/cloudstack/requests/compute/delete_lb_stickiness_policy.rb +21 -0
  194. data/lib/fog/cloudstack/requests/compute/delete_load_balancer.rb +21 -0
  195. data/lib/fog/cloudstack/requests/compute/delete_load_balancer_rule.rb +8 -5
  196. data/lib/fog/cloudstack/requests/compute/delete_netscaler_load_balancer.rb +21 -0
  197. data/lib/fog/cloudstack/requests/compute/delete_network.rb +21 -0
  198. data/lib/fog/cloudstack/requests/compute/delete_network_acl.rb +21 -0
  199. data/lib/fog/cloudstack/requests/compute/delete_network_acl_list.rb +21 -0
  200. data/lib/fog/cloudstack/requests/compute/delete_network_device.rb +21 -0
  201. data/lib/fog/cloudstack/requests/compute/delete_network_offering.rb +21 -0
  202. data/lib/fog/cloudstack/requests/compute/delete_network_service_provider.rb +21 -0
  203. data/lib/fog/cloudstack/requests/compute/delete_nicira_nvp_device.rb +21 -0
  204. data/lib/fog/cloudstack/requests/compute/delete_physical_network.rb +21 -0
  205. data/lib/fog/cloudstack/requests/compute/delete_pod.rb +21 -0
  206. data/lib/fog/cloudstack/requests/compute/delete_pool.rb +21 -0
  207. data/lib/fog/cloudstack/requests/compute/delete_port_forwarding_rule.rb +8 -5
  208. data/lib/fog/cloudstack/requests/compute/delete_portable_ip_range.rb +21 -0
  209. data/lib/fog/cloudstack/requests/compute/delete_private_gateway.rb +21 -0
  210. data/lib/fog/cloudstack/requests/compute/delete_project.rb +21 -0
  211. data/lib/fog/cloudstack/requests/compute/delete_project_invitation.rb +21 -0
  212. data/lib/fog/cloudstack/requests/compute/delete_remote_access_vpn.rb +21 -0
  213. data/lib/fog/cloudstack/requests/compute/delete_secondary_staging_store.rb +21 -0
  214. data/lib/fog/cloudstack/requests/compute/delete_security_group.rb +8 -7
  215. data/lib/fog/cloudstack/requests/compute/delete_service_offering.rb +21 -0
  216. data/lib/fog/cloudstack/requests/compute/delete_snapshot.rb +11 -11
  217. data/lib/fog/cloudstack/requests/compute/delete_snapshot_policies.rb +7 -5
  218. data/lib/fog/cloudstack/requests/compute/delete_srx_firewall.rb +21 -0
  219. data/lib/fog/cloudstack/requests/compute/delete_ssh_key_pair.rb +7 -5
  220. data/lib/fog/cloudstack/requests/compute/delete_static_route.rb +21 -0
  221. data/lib/fog/cloudstack/requests/compute/delete_storage_network_ip_range.rb +21 -0
  222. data/lib/fog/cloudstack/requests/compute/delete_storage_pool.rb +21 -0
  223. data/lib/fog/cloudstack/requests/compute/delete_tags.rb +22 -0
  224. data/lib/fog/cloudstack/requests/compute/delete_template.rb +8 -5
  225. data/lib/fog/cloudstack/requests/compute/delete_traffic_monitor.rb +21 -0
  226. data/lib/fog/cloudstack/requests/compute/delete_traffic_type.rb +21 -0
  227. data/lib/fog/cloudstack/requests/compute/delete_ucs_manager.rb +21 -0
  228. data/lib/fog/cloudstack/requests/compute/delete_user.rb +8 -5
  229. data/lib/fog/cloudstack/requests/compute/delete_vlan_ip_range.rb +21 -0
  230. data/lib/fog/cloudstack/requests/compute/delete_vm_snapshot.rb +21 -0
  231. data/lib/fog/cloudstack/requests/compute/delete_volume.rb +13 -10
  232. data/lib/fog/cloudstack/requests/compute/delete_vpc.rb +21 -0
  233. data/lib/fog/cloudstack/requests/compute/delete_vpcoffering.rb +21 -0
  234. data/lib/fog/cloudstack/requests/compute/delete_vpn_connection.rb +21 -0
  235. data/lib/fog/cloudstack/requests/compute/delete_vpn_customer_gateway.rb +21 -0
  236. data/lib/fog/cloudstack/requests/compute/delete_vpn_gateway.rb +21 -0
  237. data/lib/fog/cloudstack/requests/compute/delete_zone.rb +21 -0
  238. data/lib/fog/cloudstack/requests/compute/deploy_virtual_machine.rb +14 -22
  239. data/lib/fog/cloudstack/requests/compute/destroy_lun_on_filer.rb +21 -0
  240. data/lib/fog/cloudstack/requests/compute/destroy_router.rb +21 -0
  241. data/lib/fog/cloudstack/requests/compute/destroy_system_vm.rb +21 -0
  242. data/lib/fog/cloudstack/requests/compute/destroy_virtual_machine.rb +13 -11
  243. data/lib/fog/cloudstack/requests/compute/destroy_volume_on_filer.rb +23 -0
  244. data/lib/fog/cloudstack/requests/compute/detach_iso.rb +21 -0
  245. data/lib/fog/cloudstack/requests/compute/detach_volume.rb +8 -7
  246. data/lib/fog/cloudstack/requests/compute/disable_account.rb +8 -5
  247. data/lib/fog/cloudstack/requests/compute/disable_auto_scale_vm_group.rb +21 -0
  248. data/lib/fog/cloudstack/requests/compute/disable_cisco_nexus_vsm.rb +21 -0
  249. data/lib/fog/cloudstack/requests/compute/disable_static_nat.rb +21 -0
  250. data/lib/fog/cloudstack/requests/compute/disable_user.rb +8 -5
  251. data/lib/fog/cloudstack/requests/compute/disassociate_ip_address.rb +21 -0
  252. data/lib/fog/cloudstack/requests/compute/disassociate_ucs_profile_from_blade.rb +21 -0
  253. data/lib/fog/cloudstack/requests/compute/dissociate_lun.rb +22 -0
  254. data/lib/fog/cloudstack/requests/compute/enable_account.rb +6 -4
  255. data/lib/fog/cloudstack/requests/compute/enable_auto_scale_vm_group.rb +21 -0
  256. data/lib/fog/cloudstack/requests/compute/enable_cisco_nexus_vsm.rb +21 -0
  257. data/lib/fog/cloudstack/requests/compute/enable_static_nat.rb +22 -0
  258. data/lib/fog/cloudstack/requests/compute/enable_storage_maintenance.rb +21 -0
  259. data/lib/fog/cloudstack/requests/compute/enable_user.rb +8 -5
  260. data/lib/fog/cloudstack/requests/compute/extract_iso.rb +22 -0
  261. data/lib/fog/cloudstack/requests/compute/extract_template.rb +22 -0
  262. data/lib/fog/cloudstack/requests/compute/extract_volume.rb +23 -0
  263. data/lib/fog/cloudstack/requests/compute/find_hosts_for_migration.rb +21 -0
  264. data/lib/fog/cloudstack/requests/compute/find_storage_pools_for_migration.rb +21 -0
  265. data/lib/fog/cloudstack/requests/compute/generate_usage_records.rb +9 -13
  266. data/lib/fog/cloudstack/requests/compute/get_api_limit.rb +20 -0
  267. data/lib/fog/cloudstack/requests/compute/get_cloud_identifier.rb +21 -0
  268. data/lib/fog/cloudstack/requests/compute/get_user.rb +21 -0
  269. data/lib/fog/cloudstack/requests/compute/get_vm_password.rb +9 -7
  270. data/lib/fog/cloudstack/requests/compute/instantiate_ucs_template_and_assocaciate_to_blade.rb +23 -0
  271. data/lib/fog/cloudstack/requests/compute/ldap_config.rb +20 -0
  272. data/lib/fog/cloudstack/requests/compute/ldap_remove.rb +20 -0
  273. data/lib/fog/cloudstack/requests/compute/list_accounts.rb +6 -4
  274. data/lib/fog/cloudstack/requests/compute/list_affinity_group_types.rb +20 -0
  275. data/lib/fog/cloudstack/requests/compute/list_affinity_groups.rb +20 -0
  276. data/lib/fog/cloudstack/requests/compute/list_alerts.rb +5 -3
  277. data/lib/fog/cloudstack/requests/compute/list_apis.rb +20 -0
  278. data/lib/fog/cloudstack/requests/compute/list_async_jobs.rb +10 -8
  279. data/lib/fog/cloudstack/requests/compute/list_auto_scale_policies.rb +20 -0
  280. data/lib/fog/cloudstack/requests/compute/list_auto_scale_vm_groups.rb +20 -0
  281. data/lib/fog/cloudstack/requests/compute/list_auto_scale_vm_profiles.rb +20 -0
  282. data/lib/fog/cloudstack/requests/compute/list_baremetal_dhcp.rb +20 -0
  283. data/lib/fog/cloudstack/requests/compute/list_baremetal_pxe_servers.rb +20 -0
  284. data/lib/fog/cloudstack/requests/compute/list_capabilities.rb +6 -4
  285. data/lib/fog/cloudstack/requests/compute/list_capacity.rb +6 -4
  286. data/lib/fog/cloudstack/requests/compute/list_cisco_asa1000v_resources.rb +20 -0
  287. data/lib/fog/cloudstack/requests/compute/list_cisco_nexus_vsms.rb +20 -0
  288. data/lib/fog/cloudstack/requests/compute/list_cisco_vnmc_resources.rb +20 -0
  289. data/lib/fog/cloudstack/requests/compute/list_clusters.rb +6 -4
  290. data/lib/fog/cloudstack/requests/compute/list_conditions.rb +20 -0
  291. data/lib/fog/cloudstack/requests/compute/list_configurations.rb +6 -4
  292. data/lib/fog/cloudstack/requests/compute/list_counters.rb +20 -0
  293. data/lib/fog/cloudstack/requests/compute/list_dedicated_clusters.rb +20 -0
  294. data/lib/fog/cloudstack/requests/compute/list_dedicated_guest_vlan_ranges.rb +20 -0
  295. data/lib/fog/cloudstack/requests/compute/list_dedicated_hosts.rb +20 -0
  296. data/lib/fog/cloudstack/requests/compute/list_dedicated_pods.rb +20 -0
  297. data/lib/fog/cloudstack/requests/compute/list_dedicated_zones.rb +20 -0
  298. data/lib/fog/cloudstack/requests/compute/list_deployment_planners.rb +20 -0
  299. data/lib/fog/cloudstack/requests/compute/list_disk_offerings.rb +7 -5
  300. data/lib/fog/cloudstack/requests/compute/list_domain_children.rb +6 -4
  301. data/lib/fog/cloudstack/requests/compute/list_domains.rb +6 -4
  302. data/lib/fog/cloudstack/requests/compute/list_egress_firewall_rules.rb +20 -0
  303. data/lib/fog/cloudstack/requests/compute/list_event_types.rb +20 -0
  304. data/lib/fog/cloudstack/requests/compute/list_events.rb +5 -3
  305. data/lib/fog/cloudstack/requests/compute/list_external_firewalls.rb +7 -4
  306. data/lib/fog/cloudstack/requests/compute/list_external_load_balancers.rb +6 -4
  307. data/lib/fog/cloudstack/requests/compute/list_f5_load_balancer_networks.rb +21 -0
  308. data/lib/fog/cloudstack/requests/compute/list_f5_load_balancers.rb +20 -0
  309. data/lib/fog/cloudstack/requests/compute/list_firewall_rules.rb +7 -1
  310. data/lib/fog/cloudstack/requests/compute/list_global_load_balancer_rules.rb +20 -0
  311. data/lib/fog/cloudstack/requests/compute/list_hosts.rb +5 -3
  312. data/lib/fog/cloudstack/requests/compute/list_hypervisor_capabilities.rb +20 -0
  313. data/lib/fog/cloudstack/requests/compute/list_hypervisors.rb +6 -4
  314. data/lib/fog/cloudstack/requests/compute/list_image_stores.rb +20 -0
  315. data/lib/fog/cloudstack/requests/compute/list_instance_groups.rb +6 -4
  316. data/lib/fog/cloudstack/requests/compute/list_internal_load_balancer_elements.rb +20 -0
  317. data/lib/fog/cloudstack/requests/compute/list_internal_load_balancer_vms.rb +20 -0
  318. data/lib/fog/cloudstack/requests/compute/list_ip_forwarding_rules.rb +20 -0
  319. data/lib/fog/cloudstack/requests/compute/list_iso_permissions.rb +21 -0
  320. data/lib/fog/cloudstack/requests/compute/list_isos.rb +5 -3
  321. data/lib/fog/cloudstack/requests/compute/list_lb_health_check_policies.rb +21 -0
  322. data/lib/fog/cloudstack/requests/compute/list_lb_stickiness_policies.rb +21 -0
  323. data/lib/fog/cloudstack/requests/compute/list_load_balancer_rule_instances.rb +8 -6
  324. data/lib/fog/cloudstack/requests/compute/list_load_balancer_rules.rb +6 -4
  325. data/lib/fog/cloudstack/requests/compute/list_load_balancers.rb +20 -0
  326. data/lib/fog/cloudstack/requests/compute/list_luns_on_filer.rb +21 -0
  327. data/lib/fog/cloudstack/requests/compute/list_netscaler_load_balancer_networks.rb +21 -0
  328. data/lib/fog/cloudstack/requests/compute/list_netscaler_load_balancers.rb +20 -0
  329. data/lib/fog/cloudstack/requests/compute/list_network_acl_lists.rb +20 -0
  330. data/lib/fog/cloudstack/requests/compute/list_network_acls.rb +20 -0
  331. data/lib/fog/cloudstack/requests/compute/list_network_device.rb +20 -0
  332. data/lib/fog/cloudstack/requests/compute/list_network_isolation_methods.rb +20 -0
  333. data/lib/fog/cloudstack/requests/compute/list_network_offerings.rb +5 -3
  334. data/lib/fog/cloudstack/requests/compute/list_network_service_providers.rb +20 -0
  335. data/lib/fog/cloudstack/requests/compute/list_networks.rb +5 -3
  336. data/lib/fog/cloudstack/requests/compute/list_nicira_nvp_device_networks.rb +21 -0
  337. data/lib/fog/cloudstack/requests/compute/list_nicira_nvp_devices.rb +20 -0
  338. data/lib/fog/cloudstack/requests/compute/list_nics.rb +21 -0
  339. data/lib/fog/cloudstack/requests/compute/list_os_categories.rb +5 -3
  340. data/lib/fog/cloudstack/requests/compute/list_os_types.rb +7 -5
  341. data/lib/fog/cloudstack/requests/compute/list_physical_networks.rb +20 -0
  342. data/lib/fog/cloudstack/requests/compute/list_pods.rb +5 -3
  343. data/lib/fog/cloudstack/requests/compute/list_pools.rb +20 -0
  344. data/lib/fog/cloudstack/requests/compute/list_port_forwarding_rules.rb +6 -4
  345. data/lib/fog/cloudstack/requests/compute/list_portable_ip_ranges.rb +20 -0
  346. data/lib/fog/cloudstack/requests/compute/list_private_gateways.rb +20 -0
  347. data/lib/fog/cloudstack/requests/compute/list_project_accounts.rb +21 -0
  348. data/lib/fog/cloudstack/requests/compute/list_project_invitations.rb +20 -0
  349. data/lib/fog/cloudstack/requests/compute/list_projects.rb +20 -0
  350. data/lib/fog/cloudstack/requests/compute/list_public_ip_addresses.rb +6 -4
  351. data/lib/fog/cloudstack/requests/compute/list_regions.rb +20 -0
  352. data/lib/fog/cloudstack/requests/compute/list_remote_access_vpns.rb +21 -0
  353. data/lib/fog/cloudstack/requests/compute/list_resource_details.rb +20 -0
  354. data/lib/fog/cloudstack/requests/compute/list_resource_limits.rb +5 -3
  355. data/lib/fog/cloudstack/requests/compute/list_routers.rb +20 -0
  356. data/lib/fog/cloudstack/requests/compute/list_s3s.rb +20 -0
  357. data/lib/fog/cloudstack/requests/compute/list_secondary_staging_stores.rb +20 -0
  358. data/lib/fog/cloudstack/requests/compute/list_security_groups.rb +9 -5
  359. data/lib/fog/cloudstack/requests/compute/list_service_offerings.rb +11 -9
  360. data/lib/fog/cloudstack/requests/compute/list_snapshot_policies.rb +8 -5
  361. data/lib/fog/cloudstack/requests/compute/list_snapshots.rb +6 -5
  362. data/lib/fog/cloudstack/requests/compute/list_srx_firewall_networks.rb +21 -0
  363. data/lib/fog/cloudstack/requests/compute/list_srx_firewalls.rb +20 -0
  364. data/lib/fog/cloudstack/requests/compute/list_ssh_key_pairs.rb +6 -4
  365. data/lib/fog/cloudstack/requests/compute/list_static_routes.rb +20 -0
  366. data/lib/fog/cloudstack/requests/compute/list_storage_network_ip_range.rb +20 -0
  367. data/lib/fog/cloudstack/requests/compute/list_storage_pools.rb +5 -3
  368. data/lib/fog/cloudstack/requests/compute/list_storage_providers.rb +21 -0
  369. data/lib/fog/cloudstack/requests/compute/list_supported_network_services.rb +20 -0
  370. data/lib/fog/cloudstack/requests/compute/list_swifts.rb +20 -0
  371. data/lib/fog/cloudstack/requests/compute/list_system_vms.rb +20 -0
  372. data/lib/fog/cloudstack/requests/compute/list_tags.rb +20 -0
  373. data/lib/fog/cloudstack/requests/compute/list_template_permissions.rb +21 -0
  374. data/lib/fog/cloudstack/requests/compute/list_templates.rb +12 -10
  375. data/lib/fog/cloudstack/requests/compute/list_traffic_monitors.rb +21 -0
  376. data/lib/fog/cloudstack/requests/compute/list_traffic_type_implementors.rb +20 -0
  377. data/lib/fog/cloudstack/requests/compute/list_traffic_types.rb +21 -0
  378. data/lib/fog/cloudstack/requests/compute/list_ucs_blades.rb +21 -0
  379. data/lib/fog/cloudstack/requests/compute/list_ucs_managers.rb +20 -0
  380. data/lib/fog/cloudstack/requests/compute/list_ucs_profiles.rb +21 -0
  381. data/lib/fog/cloudstack/requests/compute/list_ucs_templates.rb +21 -0
  382. data/lib/fog/cloudstack/requests/compute/list_usage_records.rb +9 -13
  383. data/lib/fog/cloudstack/requests/compute/list_usage_types.rb +20 -0
  384. data/lib/fog/cloudstack/requests/compute/list_users.rb +6 -4
  385. data/lib/fog/cloudstack/requests/compute/list_virtual_machines.rb +10 -9
  386. data/lib/fog/cloudstack/requests/compute/list_virtual_router_elements.rb +20 -0
  387. data/lib/fog/cloudstack/requests/compute/list_vlan_ip_ranges.rb +20 -0
  388. data/lib/fog/cloudstack/requests/compute/list_vm_snapshot.rb +20 -0
  389. data/lib/fog/cloudstack/requests/compute/list_vmware_dcs.rb +21 -0
  390. data/lib/fog/cloudstack/requests/compute/list_volumes.rb +10 -9
  391. data/lib/fog/cloudstack/requests/compute/list_volumes_on_filer.rb +21 -0
  392. data/lib/fog/cloudstack/requests/compute/list_vpc_offerings.rb +20 -0
  393. data/lib/fog/cloudstack/requests/compute/list_vpcs.rb +20 -0
  394. data/lib/fog/cloudstack/requests/compute/list_vpn_connections.rb +20 -0
  395. data/lib/fog/cloudstack/requests/compute/list_vpn_customer_gateways.rb +20 -0
  396. data/lib/fog/cloudstack/requests/compute/list_vpn_gateways.rb +20 -0
  397. data/lib/fog/cloudstack/requests/compute/list_vpn_users.rb +20 -0
  398. data/lib/fog/cloudstack/requests/compute/list_zones.rb +11 -10
  399. data/lib/fog/cloudstack/requests/compute/lock_account.rb +22 -0
  400. data/lib/fog/cloudstack/requests/compute/lock_user.rb +21 -0
  401. data/lib/fog/cloudstack/requests/compute/mark_default_zone_for_account.rb +23 -0
  402. data/lib/fog/cloudstack/requests/compute/migrate_system_vm.rb +22 -0
  403. data/lib/fog/cloudstack/requests/compute/migrate_virtual_machine.rb +8 -5
  404. data/lib/fog/cloudstack/requests/compute/migrate_virtual_machine_with_volume.rb +22 -0
  405. data/lib/fog/cloudstack/requests/compute/migrate_volume.rb +22 -0
  406. data/lib/fog/cloudstack/requests/compute/modify_pool.rb +22 -0
  407. data/lib/fog/cloudstack/requests/compute/prepare_host_for_maintenance.rb +21 -0
  408. data/lib/fog/cloudstack/requests/compute/prepare_template.rb +22 -0
  409. data/lib/fog/cloudstack/requests/compute/query_async_job_result.rb +11 -6
  410. data/lib/fog/cloudstack/requests/compute/reboot_router.rb +21 -0
  411. data/lib/fog/cloudstack/requests/compute/reboot_system_vm.rb +21 -0
  412. data/lib/fog/cloudstack/requests/compute/reboot_virtual_machine.rb +9 -7
  413. data/lib/fog/cloudstack/requests/compute/reconnect_host.rb +21 -0
  414. data/lib/fog/cloudstack/requests/compute/recover_virtual_machine.rb +7 -4
  415. data/lib/fog/cloudstack/requests/compute/refresh_ucs_blades.rb +21 -0
  416. data/lib/fog/cloudstack/requests/compute/register_iso.rb +24 -0
  417. data/lib/fog/cloudstack/requests/compute/register_ssh_key_pair.rb +9 -4
  418. data/lib/fog/cloudstack/requests/compute/register_template.rb +19 -11
  419. data/lib/fog/cloudstack/requests/compute/register_user_keys.rb +8 -5
  420. data/lib/fog/cloudstack/requests/compute/release_dedicated_cluster.rb +21 -0
  421. data/lib/fog/cloudstack/requests/compute/release_dedicated_guest_vlan_range.rb +21 -0
  422. data/lib/fog/cloudstack/requests/compute/release_dedicated_host.rb +21 -0
  423. data/lib/fog/cloudstack/requests/compute/release_dedicated_pod.rb +21 -0
  424. data/lib/fog/cloudstack/requests/compute/release_dedicated_zone.rb +21 -0
  425. data/lib/fog/cloudstack/requests/compute/release_host_reservation.rb +21 -0
  426. data/lib/fog/cloudstack/requests/compute/release_public_ip_range.rb +21 -0
  427. data/lib/fog/cloudstack/requests/compute/remove_from_global_load_balancer_rule.rb +22 -0
  428. data/lib/fog/cloudstack/requests/compute/remove_from_load_balancer_rule.rb +10 -10
  429. data/lib/fog/cloudstack/requests/compute/remove_ip_from_nic.rb +21 -0
  430. data/lib/fog/cloudstack/requests/compute/remove_nic_from_virtual_machine.rb +22 -0
  431. data/lib/fog/cloudstack/requests/compute/remove_region.rb +21 -0
  432. data/lib/fog/cloudstack/requests/compute/remove_resource_detail.rb +22 -0
  433. data/lib/fog/cloudstack/requests/compute/remove_vmware_dc.rb +21 -0
  434. data/lib/fog/cloudstack/requests/compute/remove_vpn_user.rb +21 -0
  435. data/lib/fog/cloudstack/requests/compute/replace_network_acl_list.rb +21 -0
  436. data/lib/fog/cloudstack/requests/compute/reset_api_limit.rb +20 -0
  437. data/lib/fog/cloudstack/requests/compute/reset_password_for_virtual_machine.rb +10 -8
  438. data/lib/fog/cloudstack/requests/compute/reset_ssh_key_for_virtual_machine.rb +22 -0
  439. data/lib/fog/cloudstack/requests/compute/reset_vpn_connection.rb +21 -0
  440. data/lib/fog/cloudstack/requests/compute/resize_volume.rb +20 -0
  441. data/lib/fog/cloudstack/requests/compute/restart_network.rb +21 -0
  442. data/lib/fog/cloudstack/requests/compute/restart_vpc.rb +21 -0
  443. data/lib/fog/cloudstack/requests/compute/restore_virtual_machine.rb +21 -0
  444. data/lib/fog/cloudstack/requests/compute/revert_to_vm_snapshot.rb +21 -0
  445. data/lib/fog/cloudstack/requests/compute/revoke_security_group_egress.rb +11 -5
  446. data/lib/fog/cloudstack/requests/compute/revoke_security_group_ingress.rb +11 -6
  447. data/lib/fog/cloudstack/requests/compute/scale_system_vm.rb +22 -0
  448. data/lib/fog/cloudstack/requests/compute/scale_virtual_machine.rb +22 -0
  449. data/lib/fog/cloudstack/requests/compute/start_internal_load_balancer_vm.rb +21 -0
  450. data/lib/fog/cloudstack/requests/compute/start_router.rb +21 -0
  451. data/lib/fog/cloudstack/requests/compute/start_system_vm.rb +21 -0
  452. data/lib/fog/cloudstack/requests/compute/start_virtual_machine.rb +8 -5
  453. data/lib/fog/cloudstack/requests/compute/stop_internal_load_balancer_vm.rb +21 -0
  454. data/lib/fog/cloudstack/requests/compute/stop_router.rb +21 -0
  455. data/lib/fog/cloudstack/requests/compute/stop_system_vm.rb +21 -0
  456. data/lib/fog/cloudstack/requests/compute/stop_virtual_machine.rb +8 -5
  457. data/lib/fog/cloudstack/requests/compute/suspend_project.rb +21 -0
  458. data/lib/fog/cloudstack/requests/compute/update_account.rb +8 -5
  459. data/lib/fog/cloudstack/requests/compute/update_auto_scale_policy.rb +21 -0
  460. data/lib/fog/cloudstack/requests/compute/update_auto_scale_vm_group.rb +21 -0
  461. data/lib/fog/cloudstack/requests/compute/update_auto_scale_vm_profile.rb +21 -0
  462. data/lib/fog/cloudstack/requests/compute/update_cluster.rb +21 -0
  463. data/lib/fog/cloudstack/requests/compute/update_configuration.rb +21 -0
  464. data/lib/fog/cloudstack/requests/compute/update_default_nic_for_virtual_machine.rb +22 -0
  465. data/lib/fog/cloudstack/requests/compute/update_disk_offering.rb +21 -0
  466. data/lib/fog/cloudstack/requests/compute/update_domain.rb +8 -5
  467. data/lib/fog/cloudstack/requests/compute/update_global_load_balancer_rule.rb +21 -0
  468. data/lib/fog/cloudstack/requests/compute/update_host.rb +21 -0
  469. data/lib/fog/cloudstack/requests/compute/update_host_password.rb +22 -0
  470. data/lib/fog/cloudstack/requests/compute/update_hypervisor_capabilities.rb +20 -0
  471. data/lib/fog/cloudstack/requests/compute/update_instance_group.rb +21 -0
  472. data/lib/fog/cloudstack/requests/compute/update_iso.rb +21 -0
  473. data/lib/fog/cloudstack/requests/compute/update_iso_permissions.rb +21 -0
  474. data/lib/fog/cloudstack/requests/compute/update_load_balancer_rule.rb +21 -0
  475. data/lib/fog/cloudstack/requests/compute/update_network.rb +21 -0
  476. data/lib/fog/cloudstack/requests/compute/update_network_acl_item.rb +21 -0
  477. data/lib/fog/cloudstack/requests/compute/update_network_offering.rb +20 -0
  478. data/lib/fog/cloudstack/requests/compute/update_network_service_provider.rb +21 -0
  479. data/lib/fog/cloudstack/requests/compute/update_physical_network.rb +21 -0
  480. data/lib/fog/cloudstack/requests/compute/update_pod.rb +21 -0
  481. data/lib/fog/cloudstack/requests/compute/update_port_forwarding_rule.rb +24 -0
  482. data/lib/fog/cloudstack/requests/compute/update_project.rb +21 -0
  483. data/lib/fog/cloudstack/requests/compute/update_project_invitation.rb +21 -0
  484. data/lib/fog/cloudstack/requests/compute/update_region.rb +21 -0
  485. data/lib/fog/cloudstack/requests/compute/update_resource_count.rb +8 -5
  486. data/lib/fog/cloudstack/requests/compute/update_resource_limit.rb +21 -0
  487. data/lib/fog/cloudstack/requests/compute/update_service_offering.rb +21 -0
  488. data/lib/fog/cloudstack/requests/compute/update_storage_network_ip_range.rb +21 -0
  489. data/lib/fog/cloudstack/requests/compute/update_storage_pool.rb +21 -0
  490. data/lib/fog/cloudstack/requests/compute/update_template.rb +21 -0
  491. data/lib/fog/cloudstack/requests/compute/update_template_permissions.rb +21 -0
  492. data/lib/fog/cloudstack/requests/compute/update_traffic_type.rb +21 -0
  493. data/lib/fog/cloudstack/requests/compute/update_user.rb +8 -5
  494. data/lib/fog/cloudstack/requests/compute/update_virtual_machine.rb +8 -5
  495. data/lib/fog/cloudstack/requests/compute/update_vm_affinity_group.rb +21 -0
  496. data/lib/fog/cloudstack/requests/compute/update_volume.rb +22 -0
  497. data/lib/fog/cloudstack/requests/compute/update_vpc.rb +22 -0
  498. data/lib/fog/cloudstack/requests/compute/update_vpcoffering.rb +21 -0
  499. data/lib/fog/cloudstack/requests/compute/update_vpn_customer_gateway.rb +26 -0
  500. data/lib/fog/cloudstack/requests/compute/update_zone.rb +21 -0
  501. data/lib/fog/cloudstack/requests/compute/upload_custom_certificate.rb +22 -0
  502. data/lib/fog/cloudstack/requests/compute/upload_volume.rb +24 -0
  503. data/lib/fog/digitalocean/requests/compute/destroy_ssh_key.rb +1 -1
  504. data/lib/fog/digitalocean/requests/compute/get_ssh_key.rb +2 -2
  505. data/lib/fog/dynect/dns.rb +18 -13
  506. data/lib/fog/dynect/models/dns/record.rb +6 -2
  507. data/lib/fog/dynect/models/dns/records.rb +17 -29
  508. data/lib/fog/dynect/requests/dns/get_all_records.rb +2 -1
  509. data/lib/fog/glesys/models/compute/server.rb +2 -0
  510. data/lib/fog/google/compute.rb +10 -74
  511. data/lib/fog/google/models/compute/disk.rb +3 -1
  512. data/lib/fog/google/models/compute/disk_type.rb +28 -0
  513. data/lib/fog/google/models/compute/disk_types.rb +40 -0
  514. data/lib/fog/google/models/compute/forwarding_rule.rb +4 -4
  515. data/lib/fog/google/models/compute/http_health_check.rb +4 -3
  516. data/lib/fog/google/models/compute/image.rb +1 -0
  517. data/lib/fog/google/models/compute/images.rb +2 -1
  518. data/lib/fog/google/models/compute/target_pool.rb +4 -4
  519. data/lib/fog/google/requests/compute/get_disk_type.rb +43 -0
  520. data/lib/fog/google/requests/compute/get_machine_type.rb +3 -3
  521. data/lib/fog/google/requests/compute/insert_disk.rb +6 -0
  522. data/lib/fog/google/requests/compute/list_aggregated_disk_types.rb +41 -0
  523. data/lib/fog/google/requests/compute/list_disk_types.rb +47 -0
  524. data/lib/fog/google/requests/storage/get_service.rb +1 -2
  525. data/lib/fog/hp/storage.rb +9 -2
  526. data/lib/fog/linode/compute.rb +2 -0
  527. data/lib/fog/linode/models/compute/flavor.rb +9 -7
  528. data/lib/fog/linode/requests/compute/linode_config_delete.rb +32 -0
  529. data/lib/fog/linode/requests/compute/linode_config_update.rb +33 -0
  530. data/lib/fog/opennebula.rb +1 -0
  531. data/lib/fog/opennebula/README.md +113 -0
  532. data/lib/fog/opennebula/compute.rb +57 -0
  533. data/lib/fog/opennebula/core.rb +8 -0
  534. data/lib/fog/opennebula/models/compute/flavor.rb +133 -0
  535. data/lib/fog/opennebula/models/compute/flavors.rb +35 -0
  536. data/lib/fog/opennebula/models/compute/group.rb +22 -0
  537. data/lib/fog/opennebula/models/compute/groups.rb +34 -0
  538. data/lib/fog/opennebula/models/compute/interface.rb +33 -0
  539. data/lib/fog/opennebula/models/compute/interfaces.rb +12 -0
  540. data/lib/fog/opennebula/models/compute/network.rb +41 -0
  541. data/lib/fog/opennebula/models/compute/networks.rb +21 -0
  542. data/lib/fog/opennebula/models/compute/server.rb +92 -0
  543. data/lib/fog/opennebula/models/compute/servers.rb +26 -0
  544. data/lib/fog/opennebula/requests/compute/OpenNebulaVNC.rb +336 -0
  545. data/lib/fog/opennebula/requests/compute/get_vnc_console.rb +47 -0
  546. data/lib/fog/opennebula/requests/compute/list_groups.rb +79 -0
  547. data/lib/fog/opennebula/requests/compute/list_networks.rb +63 -0
  548. data/lib/fog/opennebula/requests/compute/list_vms.rb +87 -0
  549. data/lib/fog/opennebula/requests/compute/template_pool.rb +93 -0
  550. data/lib/fog/opennebula/requests/compute/vm_allocate.rb +90 -0
  551. data/lib/fog/opennebula/requests/compute/vm_destroy.rb +22 -0
  552. data/lib/fog/opennebula/requests/compute/vm_resume.rb +37 -0
  553. data/lib/fog/opennebula/requests/compute/vm_stop.rb +22 -0
  554. data/lib/fog/openstack/compute.rb +2 -0
  555. data/lib/fog/openstack/examples/compute/basics.rb +0 -21
  556. data/lib/fog/openstack/models/compute/server.rb +28 -0
  557. data/lib/fog/openstack/models/compute/tenants.rb +3 -1
  558. data/lib/fog/openstack/requests/compute/create_server.rb +2 -2
  559. data/lib/fog/openstack/requests/compute/create_volume.rb +1 -1
  560. data/lib/fog/openstack/requests/compute/start_server.rb +24 -0
  561. data/lib/fog/openstack/requests/compute/stop_server.rb +24 -0
  562. data/lib/fog/openstack/requests/volume/create_volume.rb +1 -1
  563. data/lib/fog/rackspace/docs/auto_scale.md +6 -4
  564. data/lib/fog/rackspace/models/auto_scale/group.rb +12 -3
  565. data/lib/fog/rackspace/models/load_balancers/load_balancer.rb +6 -16
  566. data/lib/fog/rackspace/requests/compute_v2/get_flavor.rb +1 -1
  567. data/lib/fog/rackspace/requests/compute_v2/get_image.rb +1 -1
  568. data/lib/fog/rackspace/requests/load_balancers/create_load_balancer.rb +6 -5
  569. data/lib/fog/storm_on_demand/models/dns/reverses.rb +1 -1
  570. data/lib/fog/vcloud/examples/README.md +1 -1
  571. data/lib/fog/vcloud_director/compute.rb +74 -5
  572. data/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb +61 -0
  573. data/lib/fog/vcloud_director/models/compute/custom_field.rb +18 -0
  574. data/lib/fog/vcloud_director/models/compute/custom_fields.rb +67 -0
  575. data/lib/fog/vcloud_director/models/compute/vapp.rb +5 -0
  576. data/lib/fog/vcloud_director/requests/compute/get_cpu_rasd_item.rb +37 -0
  577. data/lib/fog/vcloud_director/requests/compute/get_disks_rasd_items_list.rb +64 -0
  578. data/lib/fog/vcloud_director/requests/compute/get_execute_query.rb +86 -1
  579. data/lib/fog/vcloud_director/requests/compute/get_guest_customization_system_section_vapp.rb +44 -0
  580. data/lib/fog/vcloud_director/requests/compute/get_lease_settings_section_vapp.rb +34 -0
  581. data/lib/fog/vcloud_director/requests/compute/get_media_drives_rasd_items_list.rb +66 -0
  582. data/lib/fog/vcloud_director/requests/compute/get_memory_rasd_item.rb +36 -0
  583. data/lib/fog/vcloud_director/requests/compute/get_network_cards_items_list.rb +45 -0
  584. data/lib/fog/vcloud_director/requests/compute/get_network_config_section_vapp.rb +36 -0
  585. data/lib/fog/vcloud_director/requests/compute/get_network_connection_system_section_vapp.rb +43 -0
  586. data/lib/fog/vcloud_director/requests/compute/get_operating_system_section.rb +34 -0
  587. data/lib/fog/vcloud_director/requests/compute/get_runtime_info_section_type.rb +32 -0
  588. data/lib/fog/vcloud_director/requests/compute/get_snapshot_section.rb +30 -0
  589. data/lib/fog/vcloud_director/requests/compute/get_startup_section.rb +39 -0
  590. data/lib/fog/vcloud_director/requests/compute/get_vapp.rb +148 -0
  591. data/lib/fog/vcloud_director/requests/compute/get_vapp_metadata.rb +57 -0
  592. data/lib/fog/vcloud_director/requests/compute/get_vapp_owner.rb +33 -0
  593. data/lib/fog/vcloud_director/requests/compute/get_vdc.rb +17 -1
  594. data/lib/fog/vcloud_director/requests/compute/get_vm_capabilities.rb +31 -0
  595. data/lib/fog/vcloud_director/requests/compute/get_vms_in_lease_from_query.rb +55 -0
  596. data/lib/fog/vcloud_director/requests/compute/post_deploy_vapp.rb +3 -3
  597. data/lib/fog/vcloud_director/requests/compute/post_instantiate_vapp_template.rb +63 -0
  598. data/lib/fog/vcloud_director/requests/compute/post_upload_vapp_template.rb +1 -1
  599. data/lib/fog/vcloud_director/requests/compute/put_cpu.rb +42 -1
  600. data/lib/fog/vcloud_director/requests/compute/put_memory.rb +43 -1
  601. data/lib/fog/vcloud_director/requests/compute/put_network.rb +158 -0
  602. data/lib/fog/vcloud_director/requests/compute/put_product_sections.rb +43 -0
  603. data/lib/fog/vcloud_director/requests/compute/put_vapp_metadata_item_metadata.rb +35 -0
  604. data/lib/fog/vcloud_director/requests/compute/put_vm.rb +34 -0
  605. data/lib/fog/version.rb +1 -1
  606. data/lib/fog/vsphere/compute.rb +1 -1
  607. data/lib/fog/vsphere/models/compute/interfaces.rb +15 -6
  608. data/lib/fog/vsphere/models/compute/server.rb +10 -4
  609. data/lib/fog/vsphere/models/compute/volumes.rb +14 -5
  610. data/lib/fog/vsphere/requests/compute/create_vm.rb +1 -0
  611. data/lib/fog/vsphere/requests/compute/vm_clone.rb +2 -5
  612. data/lib/fog/xenserver/requests/compute/create_server.rb +1 -2
  613. data/lib/fog/xml.rb +1 -25
  614. data/lib/fog/xml/connection.rb +12 -1
  615. data/lib/fog/zerigo/requests/dns/list_hosts.rb +24 -8
  616. data/tests/aws/models/compute/network_acls_tests.rb +13 -0
  617. data/tests/aws/models/compute/security_group_tests.rb +5 -1
  618. data/tests/aws/models/compute/vpcs_tests.rb +14 -0
  619. data/tests/aws/requests/compute/instance_tests.rb +2 -1
  620. data/tests/aws/requests/compute/network_acl_tests.rb +24 -0
  621. data/tests/aws/requests/compute/subnet_tests.rb +9 -0
  622. data/tests/aws/requests/compute/tag_tests.rb +21 -0
  623. data/tests/aws/requests/compute/vpc_tests.rb +41 -3
  624. data/tests/aws/requests/data_pipeline/pipeline_tests.rb +1 -1
  625. data/tests/aws/requests/dns/dns_tests.rb +4 -3
  626. data/tests/glesys/requests/compute/helper.rb +2 -0
  627. data/tests/glesys/requests/compute/server_tests.rb +6 -4
  628. data/tests/google/helpers/google_tests_helper.rb +21 -0
  629. data/tests/google/models/compute/disk_tests.rb +5 -1
  630. data/tests/google/models/compute/disk_types_tests.rb +22 -0
  631. data/tests/google/models/compute/disks_tests.rb +5 -1
  632. data/tests/google/models/compute/server_tests.rb +8 -2
  633. data/tests/google/models/compute/servers_tests.rb +7 -1
  634. data/tests/google/requests/compute/disk_tests.rb +5 -2
  635. data/tests/google/requests/compute/disk_type_tests.rb +45 -0
  636. data/tests/google/requests/compute/firewall_tests.rb +4 -2
  637. data/tests/google/requests/compute/image_tests.rb +15 -10
  638. data/tests/google/requests/compute/zone_tests.rb +2 -6
  639. data/tests/google/requests/storage/object_tests.rb +4 -1
  640. data/tests/helpers/collection_helper.rb +1 -1
  641. data/tests/helpers/mock_helper.rb +3 -0
  642. data/tests/helpers/model_helper.rb +1 -1
  643. data/tests/opennebula/compute_tests.rb +16 -0
  644. data/tests/opennebula/models/compute/group_tests.rb +27 -0
  645. data/tests/opennebula/models/compute/groups_tests.rb +16 -0
  646. data/tests/opennebula/models/compute/network_tests.rb +27 -0
  647. data/tests/opennebula/models/compute/networks_tests.rb +13 -0
  648. data/tests/opennebula/requests/compute/vm_allocate_tests.rb +59 -0
  649. data/tests/openstack/requests/compute/server_tests.rb +21 -0
  650. data/tests/vcloud/data/api_+_vdc_+_1 +1 -0
  651. data/tests/vcloud_director/models/compute/vapp_tests.rb +8 -0
  652. data/tests/vcloud_director/requests/compute/edge_gateway_tests.rb +80 -1
  653. data/tests/vcloud_director/requests/compute/network_tests.rb +81 -13
  654. data/tests/vcloud_director/requests/compute/schema_helper.rb +4 -3
  655. data/tests/vcloud_director/requests/compute/vapp_tests.rb +39 -7
  656. data/tests/vcloud_director/requests/compute/vm_tests.rb +72 -12
  657. data/tests/zerigo/requests/dns/dns_tests.rb +25 -4
  658. metadata +493 -51
  659. data/tests/google/helpers/disk_helper.rb +0 -12
@@ -21,6 +21,7 @@ module Fog
21
21
  # * alias_target<~Hash> - Information about the domain to which you are redirecting traffic (Alias record sets only)
22
22
  # * dns_name<~String> - The Elastic Load Balancing domain to which you want to reroute traffic
23
23
  # * hosted_zone_id<~String> - The ID of the hosted zone that contains the Elastic Load Balancing domain to which you want to reroute traffic
24
+ # * evaluate_target_health<~Boolean> - Applies only to alias, weighted alias, latency alias, and failover alias resource record sets: If you set the value of EvaluateTargetHealth to true, the alias resource record sets inherit the health of the referenced resource record sets.
24
25
  # ==== Returns
25
26
  # * response<~Excon::Response>:
26
27
  # * body<~Hash>:
@@ -106,7 +107,9 @@ module Fog
106
107
  # Accept either underscore or camel case for hash keys.
107
108
  dns_name = change_item[:alias_target][:dns_name] || change_item[:alias_target][:DNSName]
108
109
  hosted_zone_id = change_item[:alias_target][:hosted_zone_id] || change_item[:alias_target][:HostedZoneId] || AWS.hosted_zone_for_alias_target(dns_name)
109
- alias_target_tag += %Q{<AliasTarget><HostedZoneId>#{hosted_zone_id}</HostedZoneId><DNSName>#{dns_name}</DNSName></AliasTarget>}
110
+ evaluate_target_health = change_item[:alias_target][:evaluate_target_health] || change_item[:alias_target][:EvaluateTargetHealth] || false
111
+ evaluate_target_health_xml = !evaluate_target_health.nil? ? %Q{<EvaluateTargetHealth>#{evaluate_target_health}</EvaluateTargetHealth>} : ''
112
+ alias_target_tag += %Q{<AliasTarget><HostedZoneId>#{hosted_zone_id}</HostedZoneId><DNSName>#{dns_name}</DNSName>#{evaluate_target_health_xml}</AliasTarget>}
110
113
  end
111
114
 
112
115
  change_tags = %Q{<Change>#{action_tag}<ResourceRecordSet>#{name_tag}#{type_tag}#{set_identifier_tag}#{weight_tag}#{region_tag}#{ttl_tag}#{resource_tag}#{alias_target_tag}</ResourceRecordSet></Change>}
@@ -99,8 +99,9 @@ module Fog
99
99
  Fog::Compute::AWS::Mock.data[region][@aws_access_key_id][:security_groups]['amazon-elb-sg']
100
100
  when 'EC2-VPC-Default'
101
101
  # find or create default vpc
102
- unless vpc = Fog::Compute[:aws].vpcs.all.first
103
- vpc = Fog::Compute[:aws].vpcs.create('cidr_block' => '10.0.0.0/24')
102
+ compute = Fog::Compute::AWS::new(:aws_access_key_id => @aws_access_key_id, :aws_secret_access_key => @aws_secret_access_key)
103
+ unless vpc = compute.vpcs.all.first
104
+ vpc = compute.vpcs.create('cidr_block' => '10.0.0.0/24')
104
105
  end
105
106
 
106
107
  default_sg = Fog::Compute::AWS::Mock.data[region][@aws_access_key_id][:security_groups].values.find { |sg|
@@ -83,6 +83,7 @@ require 'fog/bin/openstack'
83
83
  require 'fog/bin/ovirt'
84
84
  require 'fog/bin/sakuracloud'
85
85
  require 'fog/bin/serverlove'
86
+ require 'fog/bin/softlayer'
86
87
  require 'fog/bin/stormondemand'
87
88
  require 'fog/bin/terremark'
88
89
  require 'fog/bin/vcloud'
@@ -94,3 +95,4 @@ require 'fog/bin/xenserver'
94
95
  require 'fog/bin/zerigo'
95
96
  require 'fog/bin/cloudsigma'
96
97
  require 'fog/bin/openvz'
98
+ require 'fog/bin/opennebula'
@@ -0,0 +1,60 @@
1
+ module OpenNebula # deviates from other bin stuff to accomodate gem
2
+ class << self
3
+
4
+ def class_for(key)
5
+ case key
6
+ when :compute
7
+ Fog::Compute::OpenNebula
8
+ else
9
+ raise ArgumentError, "Unrecognized service: #{key}"
10
+ end
11
+ end
12
+
13
+ def [](service)
14
+ @@connections ||= Hash.new do |hash, key|
15
+ hash[key] = case key
16
+ when :compute
17
+ Fog::Logger.warning("OpenNebula[:compute] is not recommended, use Compute[:opennebula] for portability")
18
+ Fog::Compute.new(:provider => 'OpenNebula')
19
+ else
20
+ raise ArgumentError, "Unrecognized service: #{key.inspect}"
21
+ end
22
+ end
23
+ @@connections[service]
24
+ end
25
+
26
+ def available?
27
+ begin
28
+ availability=true unless Gem::Specification::find_by_name("opennebula").nil?
29
+ rescue Gem::LoadError
30
+ availability=false
31
+ rescue
32
+ availability_gem=Gem.available?("opennebula")
33
+ end
34
+
35
+ if availability
36
+ for service in services
37
+ for collection in self.class_for(service).collections
38
+ unless self.respond_to?(collection)
39
+ self.class_eval <<-EOS, __FILE__, __LINE__
40
+ def self.#{collection}
41
+ self[:#{service}].#{collection}
42
+ end
43
+ EOS
44
+ end
45
+ end
46
+ end
47
+ end
48
+ availability
49
+ end
50
+
51
+ def collections
52
+ services.map {|service| self[service].collections}.flatten.sort_by {|service| service.to_s}
53
+ end
54
+
55
+ def services
56
+ Fog::OpenNebula.services
57
+ end
58
+
59
+ end
60
+ end
@@ -0,0 +1,53 @@
1
+ #
2
+ # Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>)
3
+ # © Copyright IBM Corporation 2014.
4
+ #
5
+ # LICENSE: MIT (http://opensource.org/licenses/MIT)
6
+ #
7
+
8
+ class Softlayer < Fog::Bin
9
+ class << self
10
+ def class_for(key)
11
+ case key
12
+ when :compute
13
+ Fog::Compute::Softlayer
14
+ when :dns
15
+ Fog::DNS::Softlayer
16
+ when :network
17
+ Fog::Network::Softlayer
18
+ when :storage
19
+ Fog::Storage::Softlayer
20
+ else
21
+ # @todo Replace most instances of ArgumentError with NotImplementedError
22
+ # @todo For a list of widely supported Exceptions, see:
23
+ # => http://www.zenspider.com/Languages/Ruby/QuickRef.html#35
24
+ raise ArgumentError, "Unsupported #{self} service: #{key}"
25
+ end
26
+ end
27
+
28
+ def [](service)
29
+ @@connections ||= Hash.new do |hash, key|
30
+ hash[key] = case key
31
+ when :compute
32
+ Fog::Logger.warning("Softlayer[:compute] is not recommended, use Compute[:aws] for portability")
33
+ Fog::Compute.new(:provider => :softlayer)
34
+ when :dns
35
+ Fog::Logger.warning("Softlayer[:dns] is not recommended, use DNS[:aws] for portability")
36
+ Fog::DNS.new(:provider => :softlayer)
37
+ when :network
38
+ Fog::Network.new(:provider => :softlayer)
39
+ when :storage
40
+ Fog::Storage.new(:provider => :softlayer)
41
+ else
42
+ raise ArgumentError, "Unrecognized service: #{key.inspect}"
43
+ end
44
+ end
45
+ @@connections[service]
46
+ end
47
+
48
+ def services
49
+ Fog::Softlayer.services
50
+ end
51
+ end
52
+ end
53
+
@@ -6,7 +6,7 @@ module Fog
6
6
  class LibVolume < Fog::Model
7
7
  identity :uuid
8
8
 
9
- attribute :mounted_on, :type => :related
9
+ attribute :mounted_on
10
10
  attribute :licenses
11
11
  attribute :meta
12
12
  attribute :owner
@@ -4,6 +4,7 @@ require 'digest/md5'
4
4
  module Fog
5
5
  module Compute
6
6
  class Cloudstack < Fog::Service
7
+
7
8
  class BadRequest < Fog::Compute::Cloudstack::Error; end
8
9
  class Unauthorized < Fog::Compute::Cloudstack::Error; end
9
10
 
@@ -14,6 +15,7 @@ module Fog
14
15
 
15
16
  request_path 'fog/cloudstack/requests/compute'
16
17
 
18
+
17
19
  model_path 'fog/cloudstack/models/compute'
18
20
  model :address
19
21
  model :disk_offering
@@ -36,107 +38,465 @@ module Fog
36
38
  collection :snapshots
37
39
  model :zone
38
40
  collection :zones
39
-
40
- request :acquire_ip_address
41
+ request :activate_project
42
+ request :add_account_to_project
43
+ request :add_baremetal_dhcp
44
+ request :add_baremetal_host
45
+ request :add_baremetal_pxe_kick_start_server
46
+ request :add_baremetal_pxe_ping_server
47
+ request :add_cisco_asa1000v_resource
48
+ request :add_cisco_vnmc_resource
49
+ request :add_cluster
50
+ request :add_external_firewall
51
+ request :add_external_load_balancer
52
+ request :add_f5_load_balancer
53
+ request :add_host
54
+ request :add_image_store
55
+ request :add_ip_to_nic
56
+ request :add_netscaler_load_balancer
57
+ request :add_network_device
58
+ request :add_network_service_provider
59
+ request :add_nic_to_virtual_machine
60
+ request :add_nicira_nvp_device
61
+ request :add_region
62
+ request :add_resource_detail
63
+ request :add_s3
64
+ request :add_secondary_storage
65
+ request :add_srx_firewall
66
+ request :add_swift
67
+ request :add_traffic_monitor
68
+ request :add_traffic_type
69
+ request :add_ucs_manager
70
+ request :add_vmware_dc
71
+ request :add_vpn_user
72
+ request :archive_alerts
73
+ request :archive_events
74
+ request :assign_to_global_load_balancer_rule
41
75
  request :assign_to_load_balancer_rule
42
76
  request :assign_virtual_machine
77
+ request :associate_ip_address
78
+ request :associate_lun
79
+ request :associate_ucs_profile_to_blade
80
+ request :attach_iso
43
81
  request :attach_volume
44
82
  request :authorize_security_group_egress
45
83
  request :authorize_security_group_ingress
84
+ request :cancel_host_maintenance
85
+ request :cancel_storage_maintenance
86
+ request :change_service_for_router
87
+ request :change_service_for_system_vm
46
88
  request :change_service_for_virtual_machine
89
+ request :clean_vmreservations
90
+ request :configure_f5_load_balancer
91
+ request :configure_internal_load_balancer_element
92
+ request :configure_netscaler_load_balancer
93
+ request :configure_srx_firewall
94
+ request :configure_virtual_router_element
95
+ request :copy_iso
96
+ request :copy_template
47
97
  request :create_account
98
+ request :create_affinity_group
99
+ request :create_auto_scale_policy
100
+ request :create_auto_scale_vm_group
101
+ request :create_auto_scale_vm_profile
102
+ request :create_condition
103
+ request :create_counter
48
104
  request :create_disk_offering
49
105
  request :create_domain
106
+ request :create_egress_firewall_rule
107
+ request :create_firewall_rule
108
+ request :create_global_load_balancer_rule
109
+ request :create_instance_group
110
+ request :create_internal_load_balancer_element
111
+ request :create_ip_forwarding_rule
112
+ request :create_lb_health_check_policy
113
+ request :create_lb_stickiness_policy
114
+ request :create_load_balancer
50
115
  request :create_load_balancer_rule
116
+ request :create_lun_on_filer
51
117
  request :create_network
118
+ request :create_network_acl
119
+ request :create_network_acl_list
120
+ request :create_network_offering
121
+ request :create_physical_network
122
+ request :create_pod
123
+ request :create_pool
52
124
  request :create_port_forwarding_rule
125
+ request :create_portable_ip_range
126
+ request :create_private_gateway
127
+ request :create_project
128
+ request :create_remote_access_vpn
129
+ request :create_secondary_staging_store
53
130
  request :create_security_group
54
- request :create_ssh_key_pair
131
+ request :create_service_offering
55
132
  request :create_snapshot
56
133
  request :create_snapshot_policy
134
+ request :create_ssh_key_pair
135
+ request :create_static_route
136
+ request :create_storage_network_ip_range
137
+ request :create_storage_pool
138
+ request :create_tags
139
+ request :create_template
57
140
  request :create_user
141
+ request :create_virtual_router_element
142
+ request :create_vlan_ip_range
143
+ request :create_vm_snapshot
58
144
  request :create_volume
145
+ request :create_volume_on_filer
146
+ request :create_vpc
147
+ request :create_vpcoffering
148
+ request :create_vpn_connection
149
+ request :create_vpn_customer_gateway
150
+ request :create_vpn_gateway
59
151
  request :create_zone
152
+ request :dedicate_cluster
153
+ request :dedicate_guest_vlan_range
154
+ request :dedicate_host
155
+ request :dedicate_pod
156
+ request :dedicate_public_ip_range
157
+ request :dedicate_zone
60
158
  request :delete_account
159
+ request :delete_account_from_project
160
+ request :delete_affinity_group
161
+ request :delete_alerts
162
+ request :delete_auto_scale_policy
163
+ request :delete_auto_scale_vm_group
164
+ request :delete_auto_scale_vm_profile
165
+ request :delete_cisco_asa1000v_resource
166
+ request :delete_cisco_nexus_vsm
167
+ request :delete_cisco_vnmc_resource
168
+ request :delete_cluster
169
+ request :delete_condition
170
+ request :delete_counter
61
171
  request :delete_disk_offering
62
172
  request :delete_domain
173
+ request :delete_egress_firewall_rule
174
+ request :delete_events
175
+ request :delete_external_firewall
176
+ request :delete_external_load_balancer
177
+ request :delete_f5_load_balancer
178
+ request :delete_firewall_rule
179
+ request :delete_global_load_balancer_rule
180
+ request :delete_host
181
+ request :delete_image_store
182
+ request :delete_instance_group
183
+ request :delete_ip_forwarding_rule
184
+ request :delete_iso
185
+ request :delete_lb_health_check_policy
186
+ request :delete_lb_stickiness_policy
187
+ request :delete_load_balancer
63
188
  request :delete_load_balancer_rule
189
+ request :delete_netscaler_load_balancer
190
+ request :delete_network
191
+ request :delete_network_acl
192
+ request :delete_network_acl_list
193
+ request :delete_network_device
194
+ request :delete_network_offering
195
+ request :delete_network_service_provider
196
+ request :delete_nicira_nvp_device
197
+ request :delete_physical_network
198
+ request :delete_pod
199
+ request :delete_pool
64
200
  request :delete_port_forwarding_rule
201
+ request :delete_portable_ip_range
202
+ request :delete_private_gateway
203
+ request :delete_project
204
+ request :delete_project_invitation
205
+ request :delete_remote_access_vpn
206
+ request :delete_secondary_staging_store
65
207
  request :delete_security_group
66
- request :delete_ssh_key_pair
208
+ request :delete_service_offering
67
209
  request :delete_snapshot
68
210
  request :delete_snapshot_policies
211
+ request :delete_srx_firewall
212
+ request :delete_ssh_key_pair
213
+ request :delete_static_route
214
+ request :delete_storage_network_ip_range
215
+ request :delete_storage_pool
216
+ request :delete_tags
69
217
  request :delete_template
218
+ request :delete_traffic_monitor
219
+ request :delete_traffic_type
220
+ request :delete_ucs_manager
70
221
  request :delete_user
222
+ request :delete_vlan_ip_range
223
+ request :delete_vm_snapshot
71
224
  request :delete_volume
72
- request :detach_volume
225
+ request :delete_vpc
226
+ request :delete_vpcoffering
227
+ request :delete_vpn_connection
228
+ request :delete_vpn_customer_gateway
229
+ request :delete_vpn_gateway
230
+ request :delete_zone
73
231
  request :deploy_virtual_machine
232
+ request :destroy_lun_on_filer
233
+ request :destroy_router
234
+ request :destroy_system_vm
74
235
  request :destroy_virtual_machine
236
+ request :destroy_volume_on_filer
237
+ request :detach_iso
238
+ request :detach_volume
239
+ request :disable_account
240
+ request :disable_auto_scale_vm_group
241
+ request :disable_cisco_nexus_vsm
242
+ request :disable_static_nat
75
243
  request :disable_user
244
+ request :disassociate_ip_address
245
+ request :disassociate_ucs_profile_from_blade
246
+ request :dissociate_lun
247
+ request :enable_account
248
+ request :enable_auto_scale_vm_group
249
+ request :enable_cisco_nexus_vsm
250
+ request :enable_static_nat
251
+ request :enable_storage_maintenance
76
252
  request :enable_user
253
+ request :extract_iso
254
+ request :extract_template
255
+ request :extract_volume
256
+ request :find_hosts_for_migration
257
+ request :find_storage_pools_for_migration
77
258
  request :generate_usage_records
259
+ request :get_api_limit
260
+ request :get_cloud_identifier
261
+ request :get_user
78
262
  request :get_vm_password
263
+ request :instantiate_ucs_template_and_assocaciate_to_blade
264
+ request :ldap_config
265
+ request :ldap_remove
79
266
  request :list_accounts
267
+ request :list_affinity_group_types
268
+ request :list_affinity_groups
80
269
  request :list_alerts
270
+ request :list_apis
81
271
  request :list_async_jobs
82
- request :list_capacity
272
+ request :list_auto_scale_policies
273
+ request :list_auto_scale_vm_groups
274
+ request :list_auto_scale_vm_profiles
275
+ request :list_baremetal_dhcp
276
+ request :list_baremetal_pxe_servers
83
277
  request :list_capabilities
278
+ request :list_capacity
279
+ request :list_cisco_asa1000v_resources
280
+ request :list_cisco_nexus_vsms
281
+ request :list_cisco_vnmc_resources
84
282
  request :list_clusters
283
+ request :list_conditions
85
284
  request :list_configurations
285
+ request :list_counters
286
+ request :list_dedicated_clusters
287
+ request :list_dedicated_guest_vlan_ranges
288
+ request :list_dedicated_hosts
289
+ request :list_dedicated_pods
290
+ request :list_dedicated_zones
291
+ request :list_deployment_planners
86
292
  request :list_disk_offerings
87
- request :list_capacity
88
- request :list_domains
89
293
  request :list_domain_children
294
+ request :list_domains
295
+ request :list_egress_firewall_rules
296
+ request :list_event_types
90
297
  request :list_events
91
298
  request :list_external_firewalls
92
299
  request :list_external_load_balancers
300
+ request :list_f5_load_balancer_networks
301
+ request :list_f5_load_balancers
93
302
  request :list_firewall_rules
303
+ request :list_global_load_balancer_rules
94
304
  request :list_hosts
305
+ request :list_hypervisor_capabilities
95
306
  request :list_hypervisors
307
+ request :list_image_stores
96
308
  request :list_instance_groups
309
+ request :list_internal_load_balancer_elements
310
+ request :list_internal_load_balancer_vms
311
+ request :list_ip_forwarding_rules
312
+ request :list_iso_permissions
97
313
  request :list_isos
98
- request :list_load_balancer_rules
314
+ request :list_lb_health_check_policies
315
+ request :list_lb_stickiness_policies
99
316
  request :list_load_balancer_rule_instances
317
+ request :list_load_balancer_rules
318
+ request :list_load_balancers
319
+ request :list_luns_on_filer
320
+ request :list_netscaler_load_balancer_networks
321
+ request :list_netscaler_load_balancers
322
+ request :list_network_acl_lists
323
+ request :list_network_acls
324
+ request :list_network_device
325
+ request :list_network_isolation_methods
100
326
  request :list_network_offerings
327
+ request :list_network_service_providers
101
328
  request :list_networks
329
+ request :list_nicira_nvp_device_networks
330
+ request :list_nicira_nvp_devices
331
+ request :list_nics
102
332
  request :list_os_categories
103
333
  request :list_os_types
334
+ request :list_physical_networks
104
335
  request :list_pods
336
+ request :list_pools
105
337
  request :list_port_forwarding_rules
338
+ request :list_portable_ip_ranges
339
+ request :list_private_gateways
340
+ request :list_project_accounts
341
+ request :list_project_invitations
342
+ request :list_projects
106
343
  request :list_public_ip_addresses
344
+ request :list_regions
345
+ request :list_remote_access_vpns
346
+ request :list_resource_details
107
347
  request :list_resource_limits
348
+ request :list_routers
349
+ request :list_s3s
350
+ request :list_secondary_staging_stores
108
351
  request :list_security_groups
109
352
  request :list_service_offerings
110
- request :list_snapshots
111
353
  request :list_snapshot_policies
354
+ request :list_snapshots
355
+ request :list_srx_firewall_networks
356
+ request :list_srx_firewalls
112
357
  request :list_ssh_key_pairs
358
+ request :list_static_routes
359
+ request :list_storage_network_ip_range
113
360
  request :list_storage_pools
361
+ request :list_storage_providers
362
+ request :list_supported_network_services
363
+ request :list_swifts
364
+ request :list_system_vms
365
+ request :list_tags
366
+ request :list_template_permissions
114
367
  request :list_templates
368
+ request :list_traffic_monitors
369
+ request :list_traffic_type_implementors
370
+ request :list_traffic_types
371
+ request :list_ucs_blades
372
+ request :list_ucs_managers
373
+ request :list_ucs_profiles
374
+ request :list_ucs_templates
115
375
  request :list_usage_records
376
+ request :list_usage_types
116
377
  request :list_users
117
378
  request :list_virtual_machines
379
+ request :list_virtual_router_elements
380
+ request :list_vlan_ip_ranges
381
+ request :list_vm_snapshot
382
+ request :list_vmware_dcs
118
383
  request :list_volumes
384
+ request :list_volumes_on_filer
385
+ request :list_vpc_offerings
386
+ request :list_vpcs
387
+ request :list_vpn_connections
388
+ request :list_vpn_customer_gateways
389
+ request :list_vpn_gateways
390
+ request :list_vpn_users
119
391
  request :list_zones
392
+ request :lock_account
393
+ request :lock_user
394
+ request :mark_default_zone_for_account
395
+ request :migrate_system_vm
120
396
  request :migrate_virtual_machine
397
+ request :migrate_virtual_machine_with_volume
398
+ request :migrate_volume
399
+ request :modify_pool
400
+ request :prepare_host_for_maintenance
401
+ request :prepare_template
121
402
  request :query_async_job_result
403
+ request :reboot_router
404
+ request :reboot_system_vm
122
405
  request :reboot_virtual_machine
406
+ request :reconnect_host
123
407
  request :recover_virtual_machine
408
+ request :refresh_ucs_blades
409
+ request :register_iso
124
410
  request :register_ssh_key_pair
125
- request :register_user_keys
126
411
  request :register_template
412
+ request :register_user_keys
413
+ request :release_dedicated_cluster
414
+ request :release_dedicated_guest_vlan_range
415
+ request :release_dedicated_host
416
+ request :release_dedicated_pod
417
+ request :release_dedicated_zone
418
+ request :release_host_reservation
419
+ request :release_public_ip_range
420
+ request :remove_from_global_load_balancer_rule
127
421
  request :remove_from_load_balancer_rule
422
+ request :remove_ip_from_nic
423
+ request :remove_nic_from_virtual_machine
424
+ request :remove_region
425
+ request :remove_resource_detail
426
+ request :remove_vmware_dc
427
+ request :remove_vpn_user
428
+ request :replace_network_acl_list
429
+ request :reset_api_limit
128
430
  request :reset_password_for_virtual_machine
129
- request :revoke_security_group_ingress
431
+ request :reset_ssh_key_for_virtual_machine
432
+ request :reset_vpn_connection
433
+ request :resize_volume
434
+ request :restart_network
435
+ request :restart_vpc
436
+ request :restore_virtual_machine
437
+ request :revert_to_vm_snapshot
130
438
  request :revoke_security_group_egress
439
+ request :revoke_security_group_ingress
440
+ request :scale_system_vm
441
+ request :scale_virtual_machine
442
+ request :start_internal_load_balancer_vm
443
+ request :start_router
444
+ request :start_system_vm
131
445
  request :start_virtual_machine
446
+ request :stop_internal_load_balancer_vm
447
+ request :stop_router
448
+ request :stop_system_vm
132
449
  request :stop_virtual_machine
450
+ request :suspend_project
133
451
  request :update_account
452
+ request :update_auto_scale_policy
453
+ request :update_auto_scale_vm_group
454
+ request :update_auto_scale_vm_profile
455
+ request :update_cluster
456
+ request :update_configuration
457
+ request :update_default_nic_for_virtual_machine
458
+ request :update_disk_offering
134
459
  request :update_domain
135
- request :update_user
460
+ request :update_global_load_balancer_rule
461
+ request :update_host
462
+ request :update_host_password
463
+ request :update_hypervisor_capabilities
464
+ request :update_instance_group
465
+ request :update_iso
466
+ request :update_iso_permissions
467
+ request :update_load_balancer_rule
468
+ request :update_network
469
+ request :update_network_acl_item
470
+ request :update_network_offering
471
+ request :update_network_service_provider
472
+ request :update_physical_network
473
+ request :update_pod
474
+ request :update_port_forwarding_rule
475
+ request :update_project
476
+ request :update_project_invitation
477
+ request :update_region
136
478
  request :update_resource_count
479
+ request :update_resource_limit
480
+ request :update_service_offering
481
+ request :update_storage_network_ip_range
482
+ request :update_storage_pool
483
+ request :update_template
484
+ request :update_template_permissions
485
+ request :update_traffic_type
486
+ request :update_user
137
487
  request :update_virtual_machine
488
+ request :update_vm_affinity_group
489
+ request :update_volume
490
+ request :update_vpc
491
+ request :update_vpcoffering
492
+ request :update_vpn_customer_gateway
493
+ request :update_zone
494
+ request :upload_custom_certificate
495
+ request :upload_volume
496
+
138
497
 
139
498
  class Real
499
+
140
500
  def initialize(options={})
141
501
  @cloudstack_api_key = options[:cloudstack_api_key]
142
502
  @cloudstack_secret_access_key = options[:cloudstack_secret_access_key]
@@ -194,7 +554,7 @@ module Fog
194
554
  response
195
555
  end
196
556
 
197
- private
557
+ private
198
558
  def has_session?
199
559
  @cloudstack_session_id && @cloudstack_session_key
200
560
  end
@@ -248,6 +608,7 @@ module Fog
248
608
  raise Fog::Compute::Cloudstack::Error, error_text
249
609
  end
250
610
  end
611
+
251
612
  end
252
613
  end # Real
253
614