fog-openstack 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1544) hide show
  1. checksums.yaml +4 -4
  2. data/{lib/fog/openstack/models/metering/meter.rb → .envrc_empty} +0 -0
  3. data/Gemfile +0 -2
  4. data/examples/workflow/workflow-examples.rb +1 -1
  5. data/fog-openstack.gemspec +1 -0
  6. data/gemfiles/Gemfile-1.9 +2 -3
  7. data/lib/fog/baremetal/openstack.rb +284 -0
  8. data/lib/fog/baremetal/openstack/models/chassis.rb +49 -0
  9. data/lib/fog/baremetal/openstack/models/chassis_collection.rb +44 -0
  10. data/lib/fog/baremetal/openstack/models/driver.rb +24 -0
  11. data/lib/fog/baremetal/openstack/models/drivers.rb +21 -0
  12. data/lib/fog/baremetal/openstack/models/node.rb +96 -0
  13. data/lib/fog/baremetal/openstack/models/nodes.rb +44 -0
  14. data/lib/fog/baremetal/openstack/models/port.rb +50 -0
  15. data/lib/fog/baremetal/openstack/models/ports.rb +44 -0
  16. data/lib/fog/baremetal/openstack/requests/create_chassis.rb +44 -0
  17. data/lib/fog/baremetal/openstack/requests/create_node.rb +54 -0
  18. data/lib/fog/baremetal/openstack/requests/create_port.rb +46 -0
  19. data/lib/fog/baremetal/openstack/requests/delete_chassis.rb +25 -0
  20. data/lib/fog/baremetal/openstack/requests/delete_node.rb +25 -0
  21. data/lib/fog/baremetal/openstack/requests/delete_port.rb +25 -0
  22. data/lib/fog/baremetal/openstack/requests/get_chassis.rb +24 -0
  23. data/lib/fog/baremetal/openstack/requests/get_driver.rb +24 -0
  24. data/lib/fog/baremetal/openstack/requests/get_driver_properties.rb +40 -0
  25. data/lib/fog/baremetal/openstack/requests/get_node.rb +24 -0
  26. data/lib/fog/baremetal/openstack/requests/get_port.rb +24 -0
  27. data/lib/fog/baremetal/openstack/requests/list_chassis.rb +42 -0
  28. data/lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb +25 -0
  29. data/lib/fog/baremetal/openstack/requests/list_drivers.rb +25 -0
  30. data/lib/fog/baremetal/openstack/requests/list_nodes.rb +34 -0
  31. data/lib/fog/baremetal/openstack/requests/list_nodes_detailed.rb +25 -0
  32. data/lib/fog/baremetal/openstack/requests/list_ports.rb +42 -0
  33. data/lib/fog/baremetal/openstack/requests/list_ports_detailed.rb +25 -0
  34. data/lib/fog/baremetal/openstack/requests/patch_chassis.rb +41 -0
  35. data/lib/fog/baremetal/openstack/requests/patch_node.rb +41 -0
  36. data/lib/fog/baremetal/openstack/requests/patch_port.rb +41 -0
  37. data/lib/fog/baremetal/openstack/requests/set_node_maintenance.rb +30 -0
  38. data/lib/fog/baremetal/openstack/requests/set_node_power_state.rb +35 -0
  39. data/lib/fog/baremetal/openstack/requests/set_node_provision_state.rb +38 -0
  40. data/lib/fog/baremetal/openstack/requests/unset_node_maintenance.rb +30 -0
  41. data/lib/fog/compute/openstack.rb +379 -0
  42. data/lib/fog/compute/openstack/models/address.rb +67 -0
  43. data/lib/fog/compute/openstack/models/addresses.rb +28 -0
  44. data/lib/fog/compute/openstack/models/aggregate.rb +59 -0
  45. data/lib/fog/compute/openstack/models/aggregates.rb +26 -0
  46. data/lib/fog/{openstack/models/compute → compute/openstack/models}/availability_zone.rb +0 -0
  47. data/lib/fog/compute/openstack/models/availability_zones.rb +22 -0
  48. data/lib/fog/{openstack/models/compute → compute/openstack/models}/flavor.rb +0 -0
  49. data/lib/fog/compute/openstack/models/flavors.rb +29 -0
  50. data/lib/fog/compute/openstack/models/host.rb +28 -0
  51. data/lib/fog/compute/openstack/models/hosts.rb +26 -0
  52. data/lib/fog/compute/openstack/models/image.rb +46 -0
  53. data/lib/fog/compute/openstack/models/images.rb +38 -0
  54. data/lib/fog/compute/openstack/models/key_pair.rb +56 -0
  55. data/lib/fog/compute/openstack/models/key_pairs.rb +29 -0
  56. data/lib/fog/compute/openstack/models/metadata.rb +65 -0
  57. data/lib/fog/{openstack/models/compute → compute/openstack/models}/metadatum.rb +0 -0
  58. data/lib/fog/{openstack/models/compute → compute/openstack/models}/network.rb +0 -0
  59. data/lib/fog/compute/openstack/models/networks.rb +30 -0
  60. data/lib/fog/{openstack/models/compute → compute/openstack/models}/security_group.rb +0 -0
  61. data/lib/fog/{openstack/models/compute → compute/openstack/models}/security_group_rule.rb +0 -0
  62. data/lib/fog/compute/openstack/models/security_group_rules.rb +21 -0
  63. data/lib/fog/compute/openstack/models/security_groups.rb +24 -0
  64. data/lib/fog/compute/openstack/models/server.rb +397 -0
  65. data/lib/fog/compute/openstack/models/server_group.rb +22 -0
  66. data/lib/fog/compute/openstack/models/server_groups.rb +28 -0
  67. data/lib/fog/compute/openstack/models/servers.rb +59 -0
  68. data/lib/fog/compute/openstack/models/service.rb +42 -0
  69. data/lib/fog/compute/openstack/models/services.rb +35 -0
  70. data/lib/fog/compute/openstack/models/snapshot.rb +32 -0
  71. data/lib/fog/compute/openstack/models/snapshots.rb +37 -0
  72. data/lib/fog/compute/openstack/models/tenant.rb +24 -0
  73. data/lib/fog/compute/openstack/models/tenants.rb +24 -0
  74. data/lib/fog/compute/openstack/models/volume.rb +52 -0
  75. data/lib/fog/{openstack/models/compute → compute/openstack/models}/volume_attachment.rb +0 -0
  76. data/lib/fog/{openstack/models/compute → compute/openstack/models}/volume_attachments.rb +0 -0
  77. data/lib/fog/compute/openstack/models/volumes.rb +37 -0
  78. data/lib/fog/compute/openstack/requests/add_aggregate_host.rb +30 -0
  79. data/lib/fog/compute/openstack/requests/add_fixed_ip.rb +29 -0
  80. data/lib/fog/compute/openstack/requests/add_flavor_access.rb +29 -0
  81. data/lib/fog/compute/openstack/requests/add_security_group.rb +20 -0
  82. data/lib/fog/compute/openstack/requests/allocate_address.rb +39 -0
  83. data/lib/fog/compute/openstack/requests/associate_address.rb +30 -0
  84. data/lib/fog/compute/openstack/requests/attach_volume.rb +39 -0
  85. data/lib/fog/compute/openstack/requests/boot_from_snapshot.rb +41 -0
  86. data/lib/fog/compute/openstack/requests/change_server_password.rb +20 -0
  87. data/lib/fog/compute/openstack/requests/confirm_resize_server.rb +20 -0
  88. data/lib/fog/compute/openstack/requests/create_aggregate.rb +42 -0
  89. data/lib/fog/compute/openstack/requests/create_flavor.rb +85 -0
  90. data/lib/fog/compute/openstack/requests/create_flavor_metadata.rb +37 -0
  91. data/lib/fog/compute/openstack/requests/create_image.rb +44 -0
  92. data/lib/fog/compute/openstack/requests/create_key_pair.rb +47 -0
  93. data/lib/fog/compute/openstack/requests/create_security_group.rb +51 -0
  94. data/lib/fog/compute/openstack/requests/create_security_group_rule.rb +57 -0
  95. data/lib/fog/compute/openstack/requests/create_server.rb +189 -0
  96. data/lib/fog/compute/openstack/requests/create_server_group.rb +31 -0
  97. data/lib/fog/{openstack/requests/compute → compute/openstack/requests}/create_snapshot.rb +0 -0
  98. data/lib/fog/compute/openstack/requests/create_volume.rb +58 -0
  99. data/lib/fog/compute/openstack/requests/delete_aggregate.rb +28 -0
  100. data/lib/fog/compute/openstack/requests/delete_flavor.rb +28 -0
  101. data/lib/fog/{openstack/requests/compute → compute/openstack/requests}/delete_flavor_metadata.rb +0 -0
  102. data/lib/fog/compute/openstack/requests/delete_image.rb +36 -0
  103. data/lib/fog/compute/openstack/requests/delete_key_pair.rb +29 -0
  104. data/lib/fog/compute/openstack/requests/delete_meta.rb +35 -0
  105. data/lib/fog/compute/openstack/requests/delete_metadata.rb +23 -0
  106. data/lib/fog/compute/openstack/requests/delete_security_group.rb +31 -0
  107. data/lib/fog/compute/openstack/requests/delete_security_group_rule.rb +31 -0
  108. data/lib/fog/compute/openstack/requests/delete_server.rb +37 -0
  109. data/lib/fog/compute/openstack/requests/delete_server_group.rb +28 -0
  110. data/lib/fog/compute/openstack/requests/delete_service.rb +32 -0
  111. data/lib/fog/compute/openstack/requests/delete_snapshot.rb +28 -0
  112. data/lib/fog/compute/openstack/requests/delete_volume.rb +28 -0
  113. data/lib/fog/compute/openstack/requests/detach_volume.rb +29 -0
  114. data/lib/fog/compute/openstack/requests/disable_service.rb +37 -0
  115. data/lib/fog/compute/openstack/requests/disable_service_log_reason.rb +38 -0
  116. data/lib/fog/compute/openstack/requests/disassociate_address.rb +25 -0
  117. data/lib/fog/compute/openstack/requests/enable_service.rb +37 -0
  118. data/lib/fog/{openstack/requests/compute → compute/openstack/requests}/evacuate_server.rb +0 -0
  119. data/lib/fog/compute/openstack/requests/get_address.rb +38 -0
  120. data/lib/fog/compute/openstack/requests/get_aggregate.rb +25 -0
  121. data/lib/fog/compute/openstack/requests/get_console_output.rb +24 -0
  122. data/lib/fog/compute/openstack/requests/get_flavor_details.rb +39 -0
  123. data/lib/fog/compute/openstack/requests/get_flavor_metadata.rb +26 -0
  124. data/lib/fog/compute/openstack/requests/get_host_details.rb +60 -0
  125. data/lib/fog/compute/openstack/requests/get_hypervisor_statistics.rb +39 -0
  126. data/lib/fog/compute/openstack/requests/get_image_details.rb +29 -0
  127. data/lib/fog/compute/openstack/requests/get_key_pair.rb +50 -0
  128. data/lib/fog/compute/openstack/requests/get_limits.rb +94 -0
  129. data/lib/fog/compute/openstack/requests/get_metadata.rb +24 -0
  130. data/lib/fog/compute/openstack/requests/get_quota.rb +26 -0
  131. data/lib/fog/compute/openstack/requests/get_quota_defaults.rb +26 -0
  132. data/lib/fog/compute/openstack/requests/get_security_group.rb +37 -0
  133. data/lib/fog/compute/openstack/requests/get_security_group_rule.rb +38 -0
  134. data/lib/fog/compute/openstack/requests/get_server_details.rb +29 -0
  135. data/lib/fog/compute/openstack/requests/get_server_group.rb +38 -0
  136. data/lib/fog/compute/openstack/requests/get_server_password.rb +29 -0
  137. data/lib/fog/compute/openstack/requests/get_server_volumes.rb +27 -0
  138. data/lib/fog/compute/openstack/requests/get_snapshot_details.rb +30 -0
  139. data/lib/fog/compute/openstack/requests/get_usage.rb +48 -0
  140. data/lib/fog/compute/openstack/requests/get_vnc_console.rb +40 -0
  141. data/lib/fog/compute/openstack/requests/get_volume_details.rb +32 -0
  142. data/lib/fog/compute/openstack/requests/list_address_pools.rb +28 -0
  143. data/lib/fog/compute/openstack/requests/list_addresses.rb +29 -0
  144. data/lib/fog/compute/openstack/requests/list_aggregates.rb +37 -0
  145. data/lib/fog/compute/openstack/requests/list_all_addresses.rb +62 -0
  146. data/lib/fog/{openstack/requests/compute → compute/openstack/requests}/list_availability_zones.rb +0 -0
  147. data/lib/fog/compute/openstack/requests/list_flavors.rb +35 -0
  148. data/lib/fog/compute/openstack/requests/list_flavors_detail.rb +35 -0
  149. data/lib/fog/compute/openstack/requests/list_hosts.rb +27 -0
  150. data/lib/fog/compute/openstack/requests/list_images.rb +29 -0
  151. data/lib/fog/compute/openstack/requests/list_images_detail.rb +36 -0
  152. data/lib/fog/compute/openstack/requests/list_key_pairs.rb +39 -0
  153. data/lib/fog/compute/openstack/requests/list_metadata.rb +24 -0
  154. data/lib/fog/compute/openstack/requests/list_private_addresses.rb +29 -0
  155. data/lib/fog/compute/openstack/requests/list_public_addresses.rb +29 -0
  156. data/lib/fog/compute/openstack/requests/list_security_groups.rb +67 -0
  157. data/lib/fog/compute/openstack/requests/list_server_groups.rb +28 -0
  158. data/lib/fog/compute/openstack/requests/list_servers.rb +36 -0
  159. data/lib/fog/compute/openstack/requests/list_servers_detail.rb +43 -0
  160. data/lib/fog/compute/openstack/requests/list_services.rb +66 -0
  161. data/lib/fog/compute/openstack/requests/list_snapshots.rb +40 -0
  162. data/lib/fog/compute/openstack/requests/list_snapshots_detail.rb +26 -0
  163. data/lib/fog/compute/openstack/requests/list_tenants.rb +43 -0
  164. data/lib/fog/compute/openstack/requests/list_tenants_with_flavor_access.rb +26 -0
  165. data/lib/fog/compute/openstack/requests/list_usages.rb +38 -0
  166. data/lib/fog/compute/openstack/requests/list_volume_attachments.rb +31 -0
  167. data/lib/fog/compute/openstack/requests/list_volumes.rb +39 -0
  168. data/lib/fog/compute/openstack/requests/list_volumes_detail.rb +25 -0
  169. data/lib/fog/compute/openstack/requests/list_zones.rb +33 -0
  170. data/lib/fog/compute/openstack/requests/list_zones_detailed.rb +68 -0
  171. data/lib/fog/compute/openstack/requests/live_migrate_server.rb +26 -0
  172. data/lib/fog/compute/openstack/requests/migrate_server.rb +20 -0
  173. data/lib/fog/compute/openstack/requests/pause_server.rb +24 -0
  174. data/lib/fog/compute/openstack/requests/reboot_server.rb +20 -0
  175. data/lib/fog/compute/openstack/requests/rebuild_server.rb +34 -0
  176. data/lib/fog/compute/openstack/requests/release_address.rb +29 -0
  177. data/lib/fog/compute/openstack/requests/remove_aggregate_host.rb +30 -0
  178. data/lib/fog/compute/openstack/requests/remove_fixed_ip.rb +29 -0
  179. data/lib/fog/compute/openstack/requests/remove_flavor_access.rb +29 -0
  180. data/lib/fog/compute/openstack/requests/remove_security_group.rb +20 -0
  181. data/lib/fog/compute/openstack/requests/rescue_server.rb +24 -0
  182. data/lib/fog/compute/openstack/requests/reset_server_state.rb +20 -0
  183. data/lib/fog/compute/openstack/requests/resize_server.rb +20 -0
  184. data/lib/fog/compute/openstack/requests/resume_server.rb +24 -0
  185. data/lib/fog/compute/openstack/requests/revert_resize_server.rb +26 -0
  186. data/lib/fog/compute/openstack/requests/server_action.rb +16 -0
  187. data/lib/fog/compute/openstack/requests/server_actions.rb +38 -0
  188. data/lib/fog/compute/openstack/requests/server_diagnostics.rb +25 -0
  189. data/lib/fog/compute/openstack/requests/set_metadata.rb +37 -0
  190. data/lib/fog/compute/openstack/requests/set_tenant.rb +19 -0
  191. data/lib/fog/compute/openstack/requests/shelve_offload_server.rb +24 -0
  192. data/lib/fog/compute/openstack/requests/shelve_server.rb +24 -0
  193. data/lib/fog/compute/openstack/requests/start_server.rb +24 -0
  194. data/lib/fog/compute/openstack/requests/stop_server.rb +24 -0
  195. data/lib/fog/compute/openstack/requests/suspend_server.rb +24 -0
  196. data/lib/fog/compute/openstack/requests/unpause_server.rb +24 -0
  197. data/lib/fog/compute/openstack/requests/unshelve_server.rb +24 -0
  198. data/lib/fog/compute/openstack/requests/update_aggregate.rb +37 -0
  199. data/lib/fog/compute/openstack/requests/update_aggregate_metadata.rb +30 -0
  200. data/lib/fog/{openstack/requests/compute → compute/openstack/requests}/update_flavor_metadata.rb +0 -0
  201. data/lib/fog/compute/openstack/requests/update_meta.rb +38 -0
  202. data/lib/fog/compute/openstack/requests/update_metadata.rb +38 -0
  203. data/lib/fog/compute/openstack/requests/update_quota.rb +28 -0
  204. data/lib/fog/compute/openstack/requests/update_server.rb +32 -0
  205. data/lib/fog/dns/openstack.rb +18 -0
  206. data/lib/fog/dns/openstack/v1.rb +128 -0
  207. data/lib/fog/dns/openstack/v1/requests/get_quota.rb +26 -0
  208. data/lib/fog/dns/openstack/v1/requests/list_domains.rb +27 -0
  209. data/lib/fog/dns/openstack/v1/requests/update_quota.rb +31 -0
  210. data/lib/fog/dns/openstack/v2.rb +146 -0
  211. data/lib/fog/dns/openstack/v2/requests/get_quota.rb +27 -0
  212. data/lib/fog/dns/openstack/v2/requests/list_zones.rb +27 -0
  213. data/lib/fog/dns/openstack/v2/requests/update_quota.rb +33 -0
  214. data/lib/fog/{openstack/identity.rb → identity/openstack.rb} +0 -0
  215. data/lib/fog/identity/openstack/v2.rb +181 -0
  216. data/lib/fog/{openstack/models/identity_v2 → identity/openstack/v2/models}/ec2_credential.rb +0 -0
  217. data/lib/fog/identity/openstack/v2/models/ec2_credentials.rb +56 -0
  218. data/lib/fog/identity/openstack/v2/models/role.rb +53 -0
  219. data/lib/fog/identity/openstack/v2/models/roles.rb +22 -0
  220. data/lib/fog/identity/openstack/v2/models/tenant.rb +63 -0
  221. data/lib/fog/identity/openstack/v2/models/tenants.rb +32 -0
  222. data/lib/fog/identity/openstack/v2/models/user.rb +69 -0
  223. data/lib/fog/identity/openstack/v2/models/users.rb +45 -0
  224. data/lib/fog/identity/openstack/v2/requests/add_user_to_tenant.rb +36 -0
  225. data/lib/fog/identity/openstack/v2/requests/check_token.rb +22 -0
  226. data/lib/fog/identity/openstack/v2/requests/create_ec2_credential.rb +59 -0
  227. data/lib/fog/identity/openstack/v2/requests/create_role.rb +38 -0
  228. data/lib/fog/identity/openstack/v2/requests/create_tenant.rb +34 -0
  229. data/lib/fog/identity/openstack/v2/requests/create_user.rb +45 -0
  230. data/lib/fog/identity/openstack/v2/requests/create_user_role.rb +26 -0
  231. data/lib/fog/identity/openstack/v2/requests/delete_ec2_credential.rb +43 -0
  232. data/lib/fog/identity/openstack/v2/requests/delete_role.rb +30 -0
  233. data/lib/fog/identity/openstack/v2/requests/delete_tenant.rb +33 -0
  234. data/lib/fog/identity/openstack/v2/requests/delete_user.rb +31 -0
  235. data/lib/fog/identity/openstack/v2/requests/delete_user_role.rb +25 -0
  236. data/lib/fog/identity/openstack/v2/requests/get_ec2_credential.rb +50 -0
  237. data/lib/fog/identity/openstack/v2/requests/get_role.rb +30 -0
  238. data/lib/fog/identity/openstack/v2/requests/get_tenant.rb +33 -0
  239. data/lib/fog/identity/openstack/v2/requests/get_tenants_by_id.rb +20 -0
  240. data/lib/fog/identity/openstack/v2/requests/get_tenants_by_name.rb +20 -0
  241. data/lib/fog/identity/openstack/v2/requests/get_user_by_id.rb +34 -0
  242. data/lib/fog/identity/openstack/v2/requests/get_user_by_name.rb +29 -0
  243. data/lib/fog/identity/openstack/v2/requests/list_ec2_credentials.rb +61 -0
  244. data/lib/fog/identity/openstack/v2/requests/list_endpoints_for_token.rb +20 -0
  245. data/lib/fog/identity/openstack/v2/requests/list_roles.rb +34 -0
  246. data/lib/fog/identity/openstack/v2/requests/list_roles_for_user_on_tenant.rb +32 -0
  247. data/lib/fog/identity/openstack/v2/requests/list_tenants.rb +53 -0
  248. data/lib/fog/identity/openstack/v2/requests/list_user_global_roles.rb +20 -0
  249. data/lib/fog/identity/openstack/v2/requests/list_users.rb +47 -0
  250. data/lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb +22 -0
  251. data/lib/fog/identity/openstack/v2/requests/set_tenant.rb +21 -0
  252. data/lib/fog/identity/openstack/v2/requests/update_tenant.rb +30 -0
  253. data/lib/fog/identity/openstack/v2/requests/update_user.rb +34 -0
  254. data/lib/fog/identity/openstack/v2/requests/validate_token.rb +22 -0
  255. data/lib/fog/identity/openstack/v3.rb +162 -0
  256. data/lib/fog/identity/openstack/v3/models/domain.rb +59 -0
  257. data/lib/fog/identity/openstack/v3/models/domains.rb +51 -0
  258. data/lib/fog/identity/openstack/v3/models/endpoint.rb +47 -0
  259. data/lib/fog/identity/openstack/v3/models/endpoints.rb +27 -0
  260. data/lib/fog/identity/openstack/v3/models/group.rb +94 -0
  261. data/lib/fog/identity/openstack/v3/models/groups.rb +32 -0
  262. data/lib/fog/identity/openstack/v3/models/os_credential.rb +74 -0
  263. data/lib/fog/identity/openstack/v3/models/os_credentials.rb +32 -0
  264. data/lib/fog/identity/openstack/v3/models/policies.rb +32 -0
  265. data/lib/fog/identity/openstack/v3/models/policy.rb +43 -0
  266. data/lib/fog/identity/openstack/v3/models/project.rb +116 -0
  267. data/lib/fog/identity/openstack/v3/models/projects.rb +75 -0
  268. data/lib/fog/identity/openstack/v3/models/role.rb +41 -0
  269. data/lib/fog/identity/openstack/v3/models/role_assignment.rb +21 -0
  270. data/lib/fog/identity/openstack/v3/models/role_assignments.rb +25 -0
  271. data/lib/fog/identity/openstack/v3/models/roles.rb +40 -0
  272. data/lib/fog/identity/openstack/v3/models/service.rb +48 -0
  273. data/lib/fog/identity/openstack/v3/models/services.rb +32 -0
  274. data/lib/fog/identity/openstack/v3/models/token.rb +24 -0
  275. data/lib/fog/identity/openstack/v3/models/tokens.rb +40 -0
  276. data/lib/fog/identity/openstack/v3/models/user.rb +82 -0
  277. data/lib/fog/identity/openstack/v3/models/users.rb +36 -0
  278. data/lib/fog/identity/openstack/v3/requests/add_user_to_group.rb +20 -0
  279. data/lib/fog/identity/openstack/v3/requests/auth_domains.rb +23 -0
  280. data/lib/fog/identity/openstack/v3/requests/auth_projects.rb +23 -0
  281. data/lib/fog/identity/openstack/v3/requests/check_domain_group_role.rb +20 -0
  282. data/lib/fog/identity/openstack/v3/requests/check_domain_user_role.rb +20 -0
  283. data/lib/fog/identity/openstack/v3/requests/check_project_group_role.rb +20 -0
  284. data/lib/fog/identity/openstack/v3/requests/check_project_user_role.rb +20 -0
  285. data/lib/fog/identity/openstack/v3/requests/create_domain.rb +21 -0
  286. data/lib/fog/identity/openstack/v3/requests/create_endpoint.rb +21 -0
  287. data/lib/fog/identity/openstack/v3/requests/create_group.rb +21 -0
  288. data/lib/fog/identity/openstack/v3/requests/create_os_credential.rb +21 -0
  289. data/lib/fog/identity/openstack/v3/requests/create_policy.rb +21 -0
  290. data/lib/fog/identity/openstack/v3/requests/create_project.rb +21 -0
  291. data/lib/fog/identity/openstack/v3/requests/create_role.rb +21 -0
  292. data/lib/fog/identity/openstack/v3/requests/create_service.rb +21 -0
  293. data/lib/fog/identity/openstack/v3/requests/create_user.rb +21 -0
  294. data/lib/fog/identity/openstack/v3/requests/delete_domain.rb +20 -0
  295. data/lib/fog/identity/openstack/v3/requests/delete_endpoint.rb +20 -0
  296. data/lib/fog/identity/openstack/v3/requests/delete_group.rb +20 -0
  297. data/lib/fog/identity/openstack/v3/requests/delete_os_credential.rb +20 -0
  298. data/lib/fog/identity/openstack/v3/requests/delete_policy.rb +20 -0
  299. data/lib/fog/identity/openstack/v3/requests/delete_project.rb +20 -0
  300. data/lib/fog/identity/openstack/v3/requests/delete_role.rb +20 -0
  301. data/lib/fog/identity/openstack/v3/requests/delete_service.rb +20 -0
  302. data/lib/fog/identity/openstack/v3/requests/delete_user.rb +20 -0
  303. data/lib/fog/identity/openstack/v3/requests/get_domain.rb +22 -0
  304. data/lib/fog/identity/openstack/v3/requests/get_endpoint.rb +22 -0
  305. data/lib/fog/identity/openstack/v3/requests/get_group.rb +22 -0
  306. data/lib/fog/identity/openstack/v3/requests/get_os_credential.rb +22 -0
  307. data/lib/fog/identity/openstack/v3/requests/get_policy.rb +22 -0
  308. data/lib/fog/identity/openstack/v3/requests/get_project.rb +22 -0
  309. data/lib/fog/identity/openstack/v3/requests/get_role.rb +22 -0
  310. data/lib/fog/identity/openstack/v3/requests/get_service.rb +22 -0
  311. data/lib/fog/identity/openstack/v3/requests/get_user.rb +22 -0
  312. data/lib/fog/identity/openstack/v3/requests/grant_domain_group_role.rb +20 -0
  313. data/lib/fog/identity/openstack/v3/requests/grant_domain_user_role.rb +20 -0
  314. data/lib/fog/identity/openstack/v3/requests/grant_project_group_role.rb +20 -0
  315. data/lib/fog/identity/openstack/v3/requests/grant_project_user_role.rb +20 -0
  316. data/lib/fog/identity/openstack/v3/requests/group_user_check.rb +20 -0
  317. data/lib/fog/identity/openstack/v3/requests/list_domain_group_roles.rb +22 -0
  318. data/lib/fog/identity/openstack/v3/requests/list_domain_user_roles.rb +22 -0
  319. data/lib/fog/identity/openstack/v3/requests/list_domains.rb +23 -0
  320. data/lib/fog/identity/openstack/v3/requests/list_endpoints.rb +23 -0
  321. data/lib/fog/identity/openstack/v3/requests/list_group_users.rb +23 -0
  322. data/lib/fog/identity/openstack/v3/requests/list_groups.rb +31 -0
  323. data/lib/fog/identity/openstack/v3/requests/list_os_credentials.rb +23 -0
  324. data/lib/fog/identity/openstack/v3/requests/list_policies.rb +23 -0
  325. data/lib/fog/identity/openstack/v3/requests/list_project_group_roles.rb +22 -0
  326. data/lib/fog/identity/openstack/v3/requests/list_project_user_roles.rb +22 -0
  327. data/lib/fog/identity/openstack/v3/requests/list_projects.rb +30 -0
  328. data/lib/fog/identity/openstack/v3/requests/list_role_assignments.rb +38 -0
  329. data/lib/fog/identity/openstack/v3/requests/list_roles.rb +23 -0
  330. data/lib/fog/identity/openstack/v3/requests/list_services.rb +23 -0
  331. data/lib/fog/identity/openstack/v3/requests/list_user_groups.rb +22 -0
  332. data/lib/fog/identity/openstack/v3/requests/list_user_projects.rb +22 -0
  333. data/lib/fog/identity/openstack/v3/requests/list_users.rb +23 -0
  334. data/lib/fog/identity/openstack/v3/requests/remove_user_from_group.rb +20 -0
  335. data/lib/fog/identity/openstack/v3/requests/revoke_domain_group_role.rb +20 -0
  336. data/lib/fog/identity/openstack/v3/requests/revoke_domain_user_role.rb +20 -0
  337. data/lib/fog/identity/openstack/v3/requests/revoke_project_group_role.rb +20 -0
  338. data/lib/fog/identity/openstack/v3/requests/revoke_project_user_role.rb +20 -0
  339. data/lib/fog/identity/openstack/v3/requests/token_authenticate.rb +21 -0
  340. data/lib/fog/identity/openstack/v3/requests/token_check.rb +21 -0
  341. data/lib/fog/identity/openstack/v3/requests/token_revoke.rb +21 -0
  342. data/lib/fog/identity/openstack/v3/requests/token_validate.rb +21 -0
  343. data/lib/fog/identity/openstack/v3/requests/update_domain.rb +21 -0
  344. data/lib/fog/identity/openstack/v3/requests/update_endpoint.rb +21 -0
  345. data/lib/fog/identity/openstack/v3/requests/update_group.rb +21 -0
  346. data/lib/fog/identity/openstack/v3/requests/update_os_credential.rb +21 -0
  347. data/lib/fog/identity/openstack/v3/requests/update_policy.rb +21 -0
  348. data/lib/fog/identity/openstack/v3/requests/update_project.rb +21 -0
  349. data/lib/fog/identity/openstack/v3/requests/update_role.rb +21 -0
  350. data/lib/fog/identity/openstack/v3/requests/update_service.rb +21 -0
  351. data/lib/fog/identity/openstack/v3/requests/update_user.rb +21 -0
  352. data/lib/fog/image/openstack.rb +20 -0
  353. data/lib/fog/image/openstack/v1.rb +133 -0
  354. data/lib/fog/image/openstack/v1/models/image.rb +78 -0
  355. data/lib/fog/image/openstack/v1/models/images.rb +69 -0
  356. data/lib/fog/image/openstack/v1/requests/add_member_to_image.rb +25 -0
  357. data/lib/fog/image/openstack/v1/requests/create_image.rb +78 -0
  358. data/lib/fog/image/openstack/v1/requests/delete_image.rb +25 -0
  359. data/lib/fog/image/openstack/v1/requests/get_image.rb +47 -0
  360. data/lib/fog/image/openstack/v1/requests/get_image_by_id.rb +35 -0
  361. data/lib/fog/image/openstack/v1/requests/get_image_members.rb +31 -0
  362. data/lib/fog/image/openstack/v1/requests/get_shared_images.rb +31 -0
  363. data/lib/fog/image/openstack/v1/requests/list_public_images.rb +36 -0
  364. data/lib/fog/image/openstack/v1/requests/list_public_images_detailed.rb +37 -0
  365. data/lib/fog/image/openstack/v1/requests/remove_member_from_image.rb +25 -0
  366. data/lib/fog/image/openstack/v1/requests/set_tenant.rb +21 -0
  367. data/lib/fog/image/openstack/v1/requests/update_image.rb +66 -0
  368. data/lib/fog/image/openstack/v1/requests/update_image_members.rb +39 -0
  369. data/lib/fog/image/openstack/v2.rb +141 -0
  370. data/lib/fog/image/openstack/v2/models/image.rb +169 -0
  371. data/lib/fog/image/openstack/v2/models/images.rb +67 -0
  372. data/lib/fog/image/openstack/v2/requests/add_member_to_image.rb +26 -0
  373. data/lib/fog/image/openstack/v2/requests/add_tag_to_image.rb +25 -0
  374. data/lib/fog/image/openstack/v2/requests/create_image.rb +51 -0
  375. data/lib/fog/image/openstack/v2/requests/deactivate_image.rb +25 -0
  376. data/lib/fog/image/openstack/v2/requests/delete_image.rb +25 -0
  377. data/lib/fog/image/openstack/v2/requests/download_image.rb +29 -0
  378. data/lib/fog/image/openstack/v2/requests/get_image.rb +47 -0
  379. data/lib/fog/image/openstack/v2/requests/get_image_by_id.rb +35 -0
  380. data/lib/fog/image/openstack/v2/requests/get_image_members.rb +31 -0
  381. data/lib/fog/image/openstack/v2/requests/get_member_details.rb +33 -0
  382. data/lib/fog/image/openstack/v2/requests/get_shared_images.rb +31 -0
  383. data/lib/fog/image/openstack/v2/requests/list_images.rb +36 -0
  384. data/lib/fog/image/openstack/v2/requests/reactivate_image.rb +25 -0
  385. data/lib/fog/image/openstack/v2/requests/remove_member_from_image.rb +25 -0
  386. data/lib/fog/image/openstack/v2/requests/remove_tag_from_image.rb +25 -0
  387. data/lib/fog/image/openstack/v2/requests/set_tenant.rb +21 -0
  388. data/lib/fog/image/openstack/v2/requests/update_image.rb +49 -0
  389. data/lib/fog/image/openstack/v2/requests/update_image_member.rb +34 -0
  390. data/lib/fog/image/openstack/v2/requests/upload_image.rb +30 -0
  391. data/lib/fog/introspection/openstack.rb +108 -0
  392. data/lib/fog/{openstack/models/introspection → introspection/openstack/models}/rules.rb +0 -0
  393. data/lib/fog/introspection/openstack/models/rules_collection.rb +32 -0
  394. data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/abort_introspection.rb +0 -0
  395. data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/create_introspection.rb +0 -0
  396. data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/create_rules.rb +0 -0
  397. data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/delete_rules.rb +0 -0
  398. data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/delete_rules_all.rb +0 -0
  399. data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/get_introspection.rb +0 -0
  400. data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/get_introspection_details.rb +0 -0
  401. data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/get_rules.rb +0 -0
  402. data/lib/fog/{openstack/requests/introspection → introspection/openstack/requests}/list_rules.rb +0 -0
  403. data/lib/fog/metering/openstack.rb +131 -0
  404. data/lib/fog/{openstack/models/metering → metering/openstack/models}/event.rb +0 -0
  405. data/lib/fog/metering/openstack/models/events.rb +23 -0
  406. data/lib/fog/{openstack/models/metering/meters.rb → metering/openstack/models/meter.rb} +0 -0
  407. data/lib/fog/metering/openstack/models/meters.rb +0 -0
  408. data/lib/fog/{openstack/models/metering → metering/openstack/models}/resource.rb +0 -0
  409. data/lib/fog/metering/openstack/models/resources.rb +23 -0
  410. data/lib/fog/metering/openstack/requests/get_event.rb +27 -0
  411. data/lib/fog/metering/openstack/requests/get_resource.rb +29 -0
  412. data/lib/fog/metering/openstack/requests/get_samples.rb +51 -0
  413. data/lib/fog/metering/openstack/requests/get_statistics.rb +52 -0
  414. data/lib/fog/metering/openstack/requests/list_events.rb +42 -0
  415. data/lib/fog/metering/openstack/requests/list_meters.rb +46 -0
  416. data/lib/fog/metering/openstack/requests/list_resources.rb +29 -0
  417. data/lib/fog/monitoring/openstack.rb +90 -0
  418. data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/alarm.rb +0 -0
  419. data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/alarm_count.rb +0 -0
  420. data/lib/fog/monitoring/openstack/models/alarm_counts.rb +16 -0
  421. data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/alarm_definition.rb +0 -0
  422. data/lib/fog/monitoring/openstack/models/alarm_definitions.rb +42 -0
  423. data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/alarm_state.rb +0 -0
  424. data/lib/fog/monitoring/openstack/models/alarm_states.rb +20 -0
  425. data/lib/fog/monitoring/openstack/models/alarms.rb +30 -0
  426. data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/measurement.rb +0 -0
  427. data/lib/fog/monitoring/openstack/models/measurements.rb +16 -0
  428. data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/metric.rb +0 -0
  429. data/lib/fog/monitoring/openstack/models/metrics.rb +28 -0
  430. data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/notification_method.rb +0 -0
  431. data/lib/fog/monitoring/openstack/models/notification_methods.rb +38 -0
  432. data/lib/fog/{openstack/models/monitoring → monitoring/openstack/models}/statistic.rb +0 -0
  433. data/lib/fog/monitoring/openstack/models/statistics.rb +16 -0
  434. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/create_alarm_definition.rb +0 -0
  435. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/create_metric.rb +0 -0
  436. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/create_metric_array.rb +0 -0
  437. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/create_notification_method.rb +0 -0
  438. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/delete_alarm.rb +0 -0
  439. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/delete_alarm_definition.rb +0 -0
  440. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/delete_notification_method.rb +0 -0
  441. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/find_measurements.rb +0 -0
  442. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/get_alarm.rb +0 -0
  443. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/get_alarm_counts.rb +0 -0
  444. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/get_alarm_definition.rb +0 -0
  445. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/get_notification_method.rb +0 -0
  446. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_alarm_definitions.rb +0 -0
  447. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_alarm_state_history_for_all_alarms.rb +0 -0
  448. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_alarm_state_history_for_specific_alarm.rb +0 -0
  449. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_alarms.rb +0 -0
  450. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_metric_names.rb +0 -0
  451. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_metrics.rb +0 -0
  452. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_notification_methods.rb +0 -0
  453. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/list_statistics.rb +0 -0
  454. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/patch_alarm.rb +0 -0
  455. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/patch_alarm_definition.rb +0 -0
  456. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/update_alarm.rb +0 -0
  457. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/update_alarm_definition.rb +0 -0
  458. data/lib/fog/{openstack/requests/monitoring → monitoring/openstack/requests}/update_notification_method.rb +0 -0
  459. data/lib/fog/network/openstack.rb +321 -0
  460. data/lib/fog/network/openstack/models/floating_ip.rb +64 -0
  461. data/lib/fog/network/openstack/models/floating_ips.rb +32 -0
  462. data/lib/fog/network/openstack/models/ike_policies.rb +32 -0
  463. data/lib/fog/{openstack/models/network → network/openstack/models}/ike_policy.rb +0 -0
  464. data/lib/fog/network/openstack/models/ipsec_policies.rb +32 -0
  465. data/lib/fog/{openstack/models/network → network/openstack/models}/ipsec_policy.rb +0 -0
  466. data/lib/fog/{openstack/models/network → network/openstack/models}/ipsec_site_connection.rb +0 -0
  467. data/lib/fog/network/openstack/models/ipsec_site_connections.rb +33 -0
  468. data/lib/fog/network/openstack/models/lb_health_monitor.rb +57 -0
  469. data/lib/fog/network/openstack/models/lb_health_monitors.rb +32 -0
  470. data/lib/fog/network/openstack/models/lb_member.rb +42 -0
  471. data/lib/fog/network/openstack/models/lb_members.rb +32 -0
  472. data/lib/fog/network/openstack/models/lb_pool.rb +67 -0
  473. data/lib/fog/network/openstack/models/lb_pools.rb +32 -0
  474. data/lib/fog/network/openstack/models/lb_vip.rb +48 -0
  475. data/lib/fog/network/openstack/models/lb_vips.rb +32 -0
  476. data/lib/fog/network/openstack/models/network.rb +43 -0
  477. data/lib/fog/network/openstack/models/networks.rb +32 -0
  478. data/lib/fog/network/openstack/models/port.rb +42 -0
  479. data/lib/fog/network/openstack/models/ports.rb +32 -0
  480. data/lib/fog/network/openstack/models/rbac_policies.rb +33 -0
  481. data/lib/fog/{openstack/models/network → network/openstack/models}/rbac_policy.rb +0 -0
  482. data/lib/fog/network/openstack/models/router.rb +61 -0
  483. data/lib/fog/network/openstack/models/routers.rb +32 -0
  484. data/lib/fog/network/openstack/models/security_group.rb +32 -0
  485. data/lib/fog/network/openstack/models/security_group_rule.rb +33 -0
  486. data/lib/fog/network/openstack/models/security_group_rules.rb +32 -0
  487. data/lib/fog/network/openstack/models/security_groups.rb +32 -0
  488. data/lib/fog/network/openstack/models/subnet.rb +44 -0
  489. data/lib/fog/network/openstack/models/subnets.rb +32 -0
  490. data/lib/fog/{openstack/models/network → network/openstack/models}/vpn_service.rb +0 -0
  491. data/lib/fog/network/openstack/models/vpn_services.rb +32 -0
  492. data/lib/fog/network/openstack/requests/add_router_interface.rb +52 -0
  493. data/lib/fog/network/openstack/requests/associate_floating_ip.rb +47 -0
  494. data/lib/fog/network/openstack/requests/associate_lb_health_monitor.rb +37 -0
  495. data/lib/fog/network/openstack/requests/create_floating_ip.rb +45 -0
  496. data/lib/fog/network/openstack/requests/create_ike_policy.rb +52 -0
  497. data/lib/fog/network/openstack/requests/create_ipsec_policy.rb +52 -0
  498. data/lib/fog/network/openstack/requests/create_ipsec_site_connection.rb +65 -0
  499. data/lib/fog/network/openstack/requests/create_lb_health_monitor.rb +54 -0
  500. data/lib/fog/network/openstack/requests/create_lb_member.rb +51 -0
  501. data/lib/fog/network/openstack/requests/create_lb_pool.rb +58 -0
  502. data/lib/fog/network/openstack/requests/create_lb_vip.rb +58 -0
  503. data/lib/fog/network/openstack/requests/create_network.rb +97 -0
  504. data/lib/fog/network/openstack/requests/create_port.rb +53 -0
  505. data/lib/fog/{openstack/requests/network → network/openstack/requests}/create_rbac_policy.rb +0 -0
  506. data/lib/fog/network/openstack/requests/create_router.rb +76 -0
  507. data/lib/fog/network/openstack/requests/create_security_group.rb +92 -0
  508. data/lib/fog/network/openstack/requests/create_security_group_rule.rb +79 -0
  509. data/lib/fog/network/openstack/requests/create_subnet.rb +54 -0
  510. data/lib/fog/{openstack/requests/network → network/openstack/requests}/create_vpn_service.rb +0 -0
  511. data/lib/fog/network/openstack/requests/delete_floating_ip.rb +28 -0
  512. data/lib/fog/{openstack/requests/network → network/openstack/requests}/delete_ike_policy.rb +0 -0
  513. data/lib/fog/{openstack/requests/network → network/openstack/requests}/delete_ipsec_policy.rb +0 -0
  514. data/lib/fog/{openstack/requests/network → network/openstack/requests}/delete_ipsec_site_connection.rb +0 -0
  515. data/lib/fog/network/openstack/requests/delete_lb_health_monitor.rb +28 -0
  516. data/lib/fog/network/openstack/requests/delete_lb_member.rb +28 -0
  517. data/lib/fog/network/openstack/requests/delete_lb_pool.rb +28 -0
  518. data/lib/fog/network/openstack/requests/delete_lb_vip.rb +28 -0
  519. data/lib/fog/network/openstack/requests/delete_network.rb +28 -0
  520. data/lib/fog/network/openstack/requests/delete_port.rb +28 -0
  521. data/lib/fog/network/openstack/requests/delete_quota.rb +23 -0
  522. data/lib/fog/{openstack/requests/network → network/openstack/requests}/delete_rbac_policy.rb +0 -0
  523. data/lib/fog/network/openstack/requests/delete_router.rb +28 -0
  524. data/lib/fog/network/openstack/requests/delete_security_group.rb +32 -0
  525. data/lib/fog/network/openstack/requests/delete_security_group_rule.rb +32 -0
  526. data/lib/fog/network/openstack/requests/delete_subnet.rb +28 -0
  527. data/lib/fog/{openstack/requests/network → network/openstack/requests}/delete_vpn_service.rb +0 -0
  528. data/lib/fog/network/openstack/requests/disassociate_floating_ip.rb +47 -0
  529. data/lib/fog/network/openstack/requests/disassociate_lb_health_monitor.rb +29 -0
  530. data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_floating_ip.rb +0 -0
  531. data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_ike_policy.rb +0 -0
  532. data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_ipsec_policy.rb +0 -0
  533. data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_ipsec_site_connection.rb +0 -0
  534. data/lib/fog/network/openstack/requests/get_lb_health_monitor.rb +28 -0
  535. data/lib/fog/network/openstack/requests/get_lb_member.rb +28 -0
  536. data/lib/fog/network/openstack/requests/get_lb_pool.rb +28 -0
  537. data/lib/fog/network/openstack/requests/get_lb_pool_stats.rb +33 -0
  538. data/lib/fog/network/openstack/requests/get_lb_vip.rb +28 -0
  539. data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_network.rb +0 -0
  540. data/lib/fog/network/openstack/requests/get_port.rb +51 -0
  541. data/lib/fog/network/openstack/requests/get_quota.rb +26 -0
  542. data/lib/fog/network/openstack/requests/get_quotas.rb +26 -0
  543. data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_rbac_policy.rb +0 -0
  544. data/lib/fog/network/openstack/requests/get_router.rb +30 -0
  545. data/lib/fog/network/openstack/requests/get_security_group.rb +52 -0
  546. data/lib/fog/network/openstack/requests/get_security_group_rule.rb +47 -0
  547. data/lib/fog/network/openstack/requests/get_subnet.rb +47 -0
  548. data/lib/fog/{openstack/requests/network → network/openstack/requests}/get_vpn_service.rb +0 -0
  549. data/lib/fog/network/openstack/requests/list_floating_ips.rb +25 -0
  550. data/lib/fog/{openstack/requests/network → network/openstack/requests}/list_ike_policies.rb +0 -0
  551. data/lib/fog/{openstack/requests/network → network/openstack/requests}/list_ipsec_policies.rb +0 -0
  552. data/lib/fog/{openstack/requests/network → network/openstack/requests}/list_ipsec_site_connections.rb +0 -0
  553. data/lib/fog/network/openstack/requests/list_lb_health_monitors.rb +25 -0
  554. data/lib/fog/network/openstack/requests/list_lb_members.rb +25 -0
  555. data/lib/fog/network/openstack/requests/list_lb_pools.rb +25 -0
  556. data/lib/fog/network/openstack/requests/list_lb_vips.rb +25 -0
  557. data/lib/fog/network/openstack/requests/list_networks.rb +25 -0
  558. data/lib/fog/network/openstack/requests/list_ports.rb +25 -0
  559. data/lib/fog/{openstack/requests/network → network/openstack/requests}/list_rbac_policies.rb +0 -0
  560. data/lib/fog/network/openstack/requests/list_routers.rb +25 -0
  561. data/lib/fog/network/openstack/requests/list_security_group_rules.rb +48 -0
  562. data/lib/fog/network/openstack/requests/list_security_groups.rb +53 -0
  563. data/lib/fog/network/openstack/requests/list_subnets.rb +25 -0
  564. data/lib/fog/{openstack/requests/network → network/openstack/requests}/list_vpn_services.rb +0 -0
  565. data/lib/fog/network/openstack/requests/remove_router_interface.rb +34 -0
  566. data/lib/fog/network/openstack/requests/set_tenant.rb +20 -0
  567. data/lib/fog/network/openstack/requests/update_ike_policy.rb +48 -0
  568. data/lib/fog/network/openstack/requests/update_ipsec_policy.rb +51 -0
  569. data/lib/fog/network/openstack/requests/update_ipsec_site_connection.rb +63 -0
  570. data/lib/fog/network/openstack/requests/update_lb_health_monitor.rb +43 -0
  571. data/lib/fog/network/openstack/requests/update_lb_member.rb +39 -0
  572. data/lib/fog/network/openstack/requests/update_lb_pool.rb +40 -0
  573. data/lib/fog/network/openstack/requests/update_lb_vip.rb +42 -0
  574. data/lib/fog/network/openstack/requests/update_network.rb +39 -0
  575. data/lib/fog/network/openstack/requests/update_port.rb +44 -0
  576. data/lib/fog/network/openstack/requests/update_quota.rb +27 -0
  577. data/lib/fog/{openstack/requests/network → network/openstack/requests}/update_rbac_policy.rb +0 -0
  578. data/lib/fog/network/openstack/requests/update_router.rb +69 -0
  579. data/lib/fog/network/openstack/requests/update_subnet.rb +43 -0
  580. data/lib/fog/{openstack/requests/network → network/openstack/requests}/update_vpn_service.rb +0 -0
  581. data/lib/fog/nfv/openstack.rb +133 -0
  582. data/lib/fog/{openstack/models/nfv → nfv/openstack/models}/vnf.rb +0 -0
  583. data/lib/fog/nfv/openstack/models/vnfd.rb +53 -0
  584. data/lib/fog/nfv/openstack/models/vnfds.rb +28 -0
  585. data/lib/fog/nfv/openstack/models/vnfs.rb +28 -0
  586. data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/create_vnf.rb +0 -0
  587. data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/create_vnfd.rb +0 -0
  588. data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/delete_vnf.rb +0 -0
  589. data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/delete_vnfd.rb +0 -0
  590. data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/get_vnf.rb +0 -0
  591. data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/get_vnfd.rb +0 -0
  592. data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/list_vnfds.rb +0 -0
  593. data/lib/fog/{openstack/requests/nfv → nfv/openstack/requests}/list_vnfs.rb +0 -0
  594. data/lib/fog/nfv/openstack/requests/update_vnf.rb +35 -0
  595. data/lib/fog/openstack.rb +47 -29
  596. data/lib/fog/openstack/version.rb +1 -1
  597. data/lib/fog/orchestration/openstack.rb +155 -0
  598. data/lib/fog/orchestration/openstack/models/event.rb +18 -0
  599. data/lib/fog/orchestration/openstack/models/events.rb +31 -0
  600. data/lib/fog/orchestration/openstack/models/resource.rb +30 -0
  601. data/lib/fog/orchestration/openstack/models/resource_schemas.rb +15 -0
  602. data/lib/fog/orchestration/openstack/models/resources.rb +35 -0
  603. data/lib/fog/orchestration/openstack/models/stack.rb +119 -0
  604. data/lib/fog/orchestration/openstack/models/stacks.rb +64 -0
  605. data/lib/fog/orchestration/openstack/models/template.rb +13 -0
  606. data/lib/fog/orchestration/openstack/models/templates.rb +45 -0
  607. data/lib/fog/{openstack/requests/orchestration → orchestration/openstack/requests}/abandon_stack.rb +0 -0
  608. data/lib/fog/{openstack/requests/orchestration → orchestration/openstack/requests}/build_info.rb +0 -0
  609. data/lib/fog/orchestration/openstack/requests/create_stack.rb +76 -0
  610. data/lib/fog/orchestration/openstack/requests/delete_stack.rb +58 -0
  611. data/lib/fog/{openstack/requests/orchestration → orchestration/openstack/requests}/get_stack_template.rb +0 -0
  612. data/lib/fog/orchestration/openstack/requests/list_events.rb +46 -0
  613. data/lib/fog/orchestration/openstack/requests/list_resource_events.rb +28 -0
  614. data/lib/fog/orchestration/openstack/requests/list_resource_types.rb +27 -0
  615. data/lib/fog/orchestration/openstack/requests/list_resources.rb +46 -0
  616. data/lib/fog/orchestration/openstack/requests/list_stack_data.rb +27 -0
  617. data/lib/fog/orchestration/openstack/requests/list_stack_data_detailed.rb +49 -0
  618. data/lib/fog/orchestration/openstack/requests/list_stack_events.rb +27 -0
  619. data/lib/fog/orchestration/openstack/requests/patch_stack.rb +37 -0
  620. data/lib/fog/orchestration/openstack/requests/preview_stack.rb +16 -0
  621. data/lib/fog/orchestration/openstack/requests/show_event_details.rb +26 -0
  622. data/lib/fog/orchestration/openstack/requests/show_resource_data.rb +26 -0
  623. data/lib/fog/orchestration/openstack/requests/show_resource_metadata.rb +26 -0
  624. data/lib/fog/{openstack/requests/orchestration → orchestration/openstack/requests}/show_resource_schema.rb +0 -0
  625. data/lib/fog/{openstack/requests/orchestration → orchestration/openstack/requests}/show_resource_template.rb +0 -0
  626. data/lib/fog/orchestration/openstack/requests/show_stack_details.rb +26 -0
  627. data/lib/fog/orchestration/openstack/requests/update_stack.rb +66 -0
  628. data/lib/fog/orchestration/openstack/requests/validate_template.rb +16 -0
  629. data/lib/fog/planning/openstack.rb +149 -0
  630. data/lib/fog/planning/openstack/models/plan.rb +69 -0
  631. data/lib/fog/planning/openstack/models/plans.rb +31 -0
  632. data/lib/fog/{openstack/models/planning → planning/openstack/models}/role.rb +0 -0
  633. data/lib/fog/planning/openstack/models/roles.rb +16 -0
  634. data/lib/fog/planning/openstack/requests/add_role_to_plan.rb +40 -0
  635. data/lib/fog/planning/openstack/requests/create_plan.rb +33 -0
  636. data/lib/fog/planning/openstack/requests/delete_plan.rb +23 -0
  637. data/lib/fog/planning/openstack/requests/get_plan.rb +58 -0
  638. data/lib/fog/planning/openstack/requests/get_plan_templates.rb +28 -0
  639. data/lib/fog/planning/openstack/requests/list_plans.rb +61 -0
  640. data/lib/fog/planning/openstack/requests/list_roles.rb +32 -0
  641. data/lib/fog/planning/openstack/requests/patch_plan.rb +51 -0
  642. data/lib/fog/planning/openstack/requests/remove_role_from_plan.rb +32 -0
  643. data/lib/fog/storage/openstack.rb +150 -0
  644. data/lib/fog/storage/openstack/models/directories.rb +36 -0
  645. data/lib/fog/storage/openstack/models/directory.rb +50 -0
  646. data/lib/fog/storage/openstack/models/file.rb +181 -0
  647. data/lib/fog/storage/openstack/models/files.rb +95 -0
  648. data/lib/fog/storage/openstack/requests/copy_object.rb +23 -0
  649. data/lib/fog/storage/openstack/requests/delete_container.rb +20 -0
  650. data/lib/fog/storage/openstack/requests/delete_multiple_objects.rb +65 -0
  651. data/lib/fog/storage/openstack/requests/delete_object.rb +21 -0
  652. data/lib/fog/storage/openstack/requests/delete_static_large_object.rb +41 -0
  653. data/lib/fog/storage/openstack/requests/get_container.rb +42 -0
  654. data/lib/fog/storage/openstack/requests/get_containers.rb +31 -0
  655. data/lib/fog/storage/openstack/requests/get_object.rb +27 -0
  656. data/lib/fog/{openstack/requests/storage → storage/openstack/requests}/get_object_http_url.rb +0 -0
  657. data/lib/fog/storage/openstack/requests/get_object_https_url.rb +81 -0
  658. data/lib/fog/storage/openstack/requests/head_container.rb +26 -0
  659. data/lib/fog/storage/openstack/requests/head_containers.rb +23 -0
  660. data/lib/fog/storage/openstack/requests/head_object.rb +21 -0
  661. data/lib/fog/storage/openstack/requests/post_set_meta_temp_url_key.rb +33 -0
  662. data/lib/fog/storage/openstack/requests/public_url.rb +26 -0
  663. data/lib/fog/storage/openstack/requests/put_container.rb +24 -0
  664. data/lib/fog/storage/openstack/requests/put_dynamic_obj_manifest.rb +41 -0
  665. data/lib/fog/storage/openstack/requests/put_object.rb +41 -0
  666. data/lib/fog/{openstack/requests/storage → storage/openstack/requests}/put_object_manifest.rb +0 -0
  667. data/lib/fog/storage/openstack/requests/put_static_obj_manifest.rb +55 -0
  668. data/lib/fog/volume/openstack.rb +30 -0
  669. data/lib/fog/volume/openstack/models/availability_zone.rb +10 -0
  670. data/lib/fog/{openstack/models/volume → volume/openstack/models}/availability_zones.rb +0 -0
  671. data/lib/fog/{openstack/models/volume → volume/openstack/models}/snapshot.rb +0 -0
  672. data/lib/fog/{openstack/models/volume → volume/openstack/models}/snapshots.rb +0 -0
  673. data/lib/fog/volume/openstack/models/transfer.rb +28 -0
  674. data/lib/fog/volume/openstack/models/transfers.rb +34 -0
  675. data/lib/fog/{openstack/models/volume → volume/openstack/models}/volume.rb +0 -0
  676. data/lib/fog/{openstack/models/volume → volume/openstack/models}/volume_type.rb +0 -0
  677. data/lib/fog/{openstack/models/volume → volume/openstack/models}/volume_types.rb +0 -0
  678. data/lib/fog/volume/openstack/models/volumes.rb +35 -0
  679. data/lib/fog/volume/openstack/requests/accept_transfer.rb +22 -0
  680. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/action.rb +0 -0
  681. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/create_snapshot.rb +0 -0
  682. data/lib/fog/volume/openstack/requests/create_transfer.rb +25 -0
  683. data/lib/fog/volume/openstack/requests/create_volume.rb +23 -0
  684. data/lib/fog/volume/openstack/requests/create_volume_type.rb +41 -0
  685. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/delete_metadata.rb +0 -0
  686. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/delete_snapshot.rb +0 -0
  687. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/delete_snapshot_metadata.rb +0 -0
  688. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/delete_transfer.rb +0 -0
  689. data/lib/fog/volume/openstack/requests/delete_volume.rb +23 -0
  690. data/lib/fog/volume/openstack/requests/delete_volume_type.rb +23 -0
  691. data/lib/fog/volume/openstack/requests/extend_volume.rb +25 -0
  692. data/lib/fog/volume/openstack/requests/get_quota.rb +26 -0
  693. data/lib/fog/volume/openstack/requests/get_quota_defaults.rb +26 -0
  694. data/lib/fog/volume/openstack/requests/get_quota_usage.rb +43 -0
  695. data/lib/fog/volume/openstack/requests/get_snapshot_details.rb +15 -0
  696. data/lib/fog/volume/openstack/requests/get_transfer_details.rb +17 -0
  697. data/lib/fog/volume/openstack/requests/get_volume_details.rb +15 -0
  698. data/lib/fog/volume/openstack/requests/get_volume_type_details.rb +32 -0
  699. data/lib/fog/volume/openstack/requests/list_snapshots.rb +41 -0
  700. data/lib/fog/volume/openstack/requests/list_snapshots_detailed.rb +27 -0
  701. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/list_transfers.rb +0 -0
  702. data/lib/fog/volume/openstack/requests/list_transfers_detailed.rb +18 -0
  703. data/lib/fog/volume/openstack/requests/list_volume_types.rb +41 -0
  704. data/lib/fog/volume/openstack/requests/list_volumes.rb +30 -0
  705. data/lib/fog/volume/openstack/requests/list_volumes_detailed.rb +16 -0
  706. data/lib/fog/volume/openstack/requests/list_zones.rb +32 -0
  707. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/replace_metadata.rb +0 -0
  708. data/lib/fog/volume/openstack/requests/set_tenant.rb +19 -0
  709. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/update_metadata.rb +0 -0
  710. data/lib/fog/volume/openstack/requests/update_quota.rb +28 -0
  711. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/update_snapshot.rb +0 -0
  712. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/update_snapshot_metadata.rb +0 -0
  713. data/lib/fog/{openstack/requests/volume → volume/openstack/requests}/update_volume.rb +0 -0
  714. data/lib/fog/volume/openstack/requests/update_volume_type.rb +41 -0
  715. data/lib/fog/volume/openstack/v1.rb +173 -0
  716. data/lib/fog/volume/openstack/v1/models/availability_zone.rb +15 -0
  717. data/lib/fog/volume/openstack/v1/models/availability_zones.rb +16 -0
  718. data/lib/fog/volume/openstack/v1/models/snapshot.rb +43 -0
  719. data/lib/fog/volume/openstack/v1/models/snapshots.rb +16 -0
  720. data/lib/fog/volume/openstack/v1/models/transfer.rb +18 -0
  721. data/lib/fog/volume/openstack/v1/models/transfers.rb +16 -0
  722. data/lib/fog/volume/openstack/v1/models/volume.rb +37 -0
  723. data/lib/fog/volume/openstack/v1/models/volume_type.rb +16 -0
  724. data/lib/fog/volume/openstack/v1/models/volume_types.rb +16 -0
  725. data/lib/fog/volume/openstack/v1/models/volumes.rb +16 -0
  726. data/lib/fog/volume/openstack/v1/requests/accept_transfer.rb +2 -0
  727. data/lib/fog/volume/openstack/v1/requests/action.rb +2 -0
  728. data/lib/fog/volume/openstack/v1/requests/create_snapshot.rb +45 -0
  729. data/lib/fog/volume/openstack/v1/requests/create_transfer.rb +2 -0
  730. data/lib/fog/volume/openstack/v1/requests/create_volume.rb +49 -0
  731. data/lib/fog/volume/openstack/v1/requests/create_volume_type.rb +2 -0
  732. data/lib/fog/volume/openstack/v1/requests/delete_metadata.rb +2 -0
  733. data/lib/fog/volume/openstack/v1/requests/delete_snapshot.rb +2 -0
  734. data/lib/fog/volume/openstack/v1/requests/delete_snapshot_metadata.rb +2 -0
  735. data/lib/fog/volume/openstack/v1/requests/delete_transfer.rb +2 -0
  736. data/lib/fog/volume/openstack/v1/requests/delete_volume.rb +2 -0
  737. data/lib/fog/volume/openstack/v1/requests/delete_volume_type.rb +2 -0
  738. data/lib/fog/volume/openstack/v1/requests/extend_volume.rb +2 -0
  739. data/lib/fog/volume/openstack/v1/requests/get_quota.rb +2 -0
  740. data/lib/fog/volume/openstack/v1/requests/get_quota_defaults.rb +2 -0
  741. data/lib/fog/volume/openstack/v1/requests/get_quota_usage.rb +2 -0
  742. data/lib/fog/volume/openstack/v1/requests/get_snapshot_details.rb +32 -0
  743. data/lib/fog/volume/openstack/v1/requests/get_transfer_details.rb +2 -0
  744. data/lib/fog/volume/openstack/v1/requests/get_volume_details.rb +35 -0
  745. data/lib/fog/volume/openstack/v1/requests/get_volume_type_details.rb +2 -0
  746. data/lib/fog/volume/openstack/v1/requests/list_snapshots.rb +2 -0
  747. data/lib/fog/volume/openstack/v1/requests/list_snapshots_detailed.rb +2 -0
  748. data/lib/fog/volume/openstack/v1/requests/list_transfers.rb +2 -0
  749. data/lib/fog/volume/openstack/v1/requests/list_transfers_detailed.rb +2 -0
  750. data/lib/fog/volume/openstack/v1/requests/list_volume_types.rb +2 -0
  751. data/lib/fog/volume/openstack/v1/requests/list_volumes.rb +46 -0
  752. data/lib/fog/volume/openstack/v1/requests/list_volumes_detailed.rb +46 -0
  753. data/lib/fog/volume/openstack/v1/requests/list_zones.rb +2 -0
  754. data/lib/fog/volume/openstack/v1/requests/real.rb +11 -0
  755. data/lib/fog/volume/openstack/v1/requests/real_mock.rb +14 -0
  756. data/lib/fog/volume/openstack/v1/requests/replace_metadata.rb +2 -0
  757. data/lib/fog/volume/openstack/v1/requests/set_tenant.rb +2 -0
  758. data/lib/fog/volume/openstack/v1/requests/update_metadata.rb +2 -0
  759. data/lib/fog/volume/openstack/v1/requests/update_quota.rb +2 -0
  760. data/lib/fog/volume/openstack/v1/requests/update_snapshot.rb +2 -0
  761. data/lib/fog/volume/openstack/v1/requests/update_snapshot_metadata.rb +2 -0
  762. data/lib/fog/volume/openstack/v1/requests/update_volume.rb +2 -0
  763. data/lib/fog/volume/openstack/v2.rb +174 -0
  764. data/lib/fog/volume/openstack/v2/models/availability_zone.rb +15 -0
  765. data/lib/fog/volume/openstack/v2/models/availability_zones.rb +16 -0
  766. data/lib/fog/volume/openstack/v2/models/snapshot.rb +43 -0
  767. data/lib/fog/volume/openstack/v2/models/snapshots.rb +16 -0
  768. data/lib/fog/volume/openstack/v2/models/transfer.rb +18 -0
  769. data/lib/fog/volume/openstack/v2/models/transfers.rb +16 -0
  770. data/lib/fog/volume/openstack/v2/models/volume.rb +37 -0
  771. data/lib/fog/volume/openstack/v2/models/volume_type.rb +16 -0
  772. data/lib/fog/volume/openstack/v2/models/volume_types.rb +16 -0
  773. data/lib/fog/volume/openstack/v2/models/volumes.rb +16 -0
  774. data/lib/fog/volume/openstack/v2/requests/accept_transfer.rb +2 -0
  775. data/lib/fog/volume/openstack/v2/requests/action.rb +2 -0
  776. data/lib/fog/volume/openstack/v2/requests/create_snapshot.rb +45 -0
  777. data/lib/fog/volume/openstack/v2/requests/create_transfer.rb +2 -0
  778. data/lib/fog/volume/openstack/v2/requests/create_volume.rb +49 -0
  779. data/lib/fog/volume/openstack/v2/requests/create_volume_type.rb +2 -0
  780. data/lib/fog/volume/openstack/v2/requests/delete_metadata.rb +2 -0
  781. data/lib/fog/volume/openstack/v2/requests/delete_snapshot.rb +2 -0
  782. data/lib/fog/volume/openstack/v2/requests/delete_snapshot_metadata.rb +2 -0
  783. data/lib/fog/volume/openstack/v2/requests/delete_transfer.rb +2 -0
  784. data/lib/fog/volume/openstack/v2/requests/delete_volume.rb +2 -0
  785. data/lib/fog/volume/openstack/v2/requests/delete_volume_type.rb +2 -0
  786. data/lib/fog/volume/openstack/v2/requests/extend_volume.rb +2 -0
  787. data/lib/fog/volume/openstack/v2/requests/get_quota.rb +2 -0
  788. data/lib/fog/volume/openstack/v2/requests/get_quota_defaults.rb +2 -0
  789. data/lib/fog/volume/openstack/v2/requests/get_quota_usage.rb +2 -0
  790. data/lib/fog/volume/openstack/v2/requests/get_snapshot_details.rb +32 -0
  791. data/lib/fog/volume/openstack/v2/requests/get_transfer_details.rb +2 -0
  792. data/lib/fog/volume/openstack/v2/requests/get_volume_details.rb +35 -0
  793. data/lib/fog/volume/openstack/v2/requests/get_volume_type_details.rb +2 -0
  794. data/lib/fog/volume/openstack/v2/requests/list_snapshots.rb +2 -0
  795. data/lib/fog/volume/openstack/v2/requests/list_snapshots_detailed.rb +2 -0
  796. data/lib/fog/volume/openstack/v2/requests/list_transfers.rb +2 -0
  797. data/lib/fog/volume/openstack/v2/requests/list_transfers_detailed.rb +2 -0
  798. data/lib/fog/volume/openstack/v2/requests/list_volume_types.rb +2 -0
  799. data/lib/fog/volume/openstack/v2/requests/list_volumes.rb +46 -0
  800. data/lib/fog/volume/openstack/v2/requests/list_volumes_detailed.rb +46 -0
  801. data/lib/fog/volume/openstack/v2/requests/list_zones.rb +2 -0
  802. data/lib/fog/volume/openstack/v2/requests/real.rb +11 -0
  803. data/lib/fog/volume/openstack/v2/requests/real_mock.rb +14 -0
  804. data/lib/fog/volume/openstack/v2/requests/replace_metadata.rb +2 -0
  805. data/lib/fog/volume/openstack/v2/requests/set_tenant.rb +2 -0
  806. data/lib/fog/volume/openstack/v2/requests/update_metadata.rb +2 -0
  807. data/lib/fog/volume/openstack/v2/requests/update_quota.rb +2 -0
  808. data/lib/fog/volume/openstack/v2/requests/update_snapshot.rb +2 -0
  809. data/lib/fog/volume/openstack/v2/requests/update_snapshot_metadata.rb +2 -0
  810. data/lib/fog/volume/openstack/v2/requests/update_volume.rb +2 -0
  811. data/lib/fog/volume/openstack/v2/requests/update_volume_type.rb +2 -0
  812. data/lib/fog/{openstack/workflow.rb → workflow/openstack.rb} +0 -0
  813. data/lib/fog/workflow/openstack/v2.rb +160 -0
  814. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/create_action.rb +0 -0
  815. data/lib/fog/workflow/openstack/v2/requests/create_action_execution.rb +31 -0
  816. data/lib/fog/workflow/openstack/v2/requests/create_cron_trigger.rb +55 -0
  817. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/create_environment.rb +0 -0
  818. data/lib/fog/workflow/openstack/v2/requests/create_execution.rb +30 -0
  819. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/create_workbook.rb +0 -0
  820. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/create_workflow.rb +0 -0
  821. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_action.rb +0 -0
  822. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_action_execution.rb +0 -0
  823. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_cron_trigger.rb +0 -0
  824. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_environment.rb +0 -0
  825. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_execution.rb +0 -0
  826. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_workbook.rb +0 -0
  827. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/delete_workflow.rb +0 -0
  828. data/lib/fog/workflow/openstack/v2/requests/get_action.rb +27 -0
  829. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/get_action_execution.rb +0 -0
  830. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/get_cron_trigger.rb +0 -0
  831. data/lib/fog/workflow/openstack/v2/requests/get_environment.rb +28 -0
  832. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/get_execution.rb +0 -0
  833. data/lib/fog/workflow/openstack/v2/requests/get_task.rb +27 -0
  834. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/get_workbook.rb +0 -0
  835. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/get_workflow.rb +0 -0
  836. data/lib/fog/workflow/openstack/v2/requests/list_action_executions.rb +28 -0
  837. data/lib/fog/workflow/openstack/v2/requests/list_actions.rb +30 -0
  838. data/lib/fog/workflow/openstack/v2/requests/list_cron_triggers.rb +28 -0
  839. data/lib/fog/workflow/openstack/v2/requests/list_environments.rb +28 -0
  840. data/lib/fog/workflow/openstack/v2/requests/list_executions.rb +28 -0
  841. data/lib/fog/workflow/openstack/v2/requests/list_services.rb +28 -0
  842. data/lib/fog/workflow/openstack/v2/requests/list_tasks.rb +28 -0
  843. data/lib/fog/workflow/openstack/v2/requests/list_workbooks.rb +28 -0
  844. data/lib/fog/workflow/openstack/v2/requests/list_workflows.rb +30 -0
  845. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/rerun_task.rb +0 -0
  846. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/update_action.rb +0 -0
  847. data/lib/fog/workflow/openstack/v2/requests/update_action_execution.rb +33 -0
  848. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/update_environment.rb +0 -0
  849. data/lib/fog/workflow/openstack/v2/requests/update_execution.rb +33 -0
  850. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/update_workbook.rb +0 -0
  851. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/update_workflow.rb +0 -0
  852. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/validate_action.rb +0 -0
  853. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/validate_workbook.rb +0 -0
  854. data/lib/fog/{openstack/requests/workflow_v2 → workflow/openstack/v2/requests}/validate_workflow.rb +0 -0
  855. metadata +864 -840
  856. data/lib/fog/openstack/baremetal.rb +0 -284
  857. data/lib/fog/openstack/compute.rb +0 -380
  858. data/lib/fog/openstack/identity_v2.rb +0 -182
  859. data/lib/fog/openstack/identity_v3.rb +0 -167
  860. data/lib/fog/openstack/image.rb +0 -22
  861. data/lib/fog/openstack/image_v1.rb +0 -133
  862. data/lib/fog/openstack/image_v2.rb +0 -141
  863. data/lib/fog/openstack/introspection.rb +0 -108
  864. data/lib/fog/openstack/metering.rb +0 -131
  865. data/lib/fog/openstack/models/baremetal/chassis.rb +0 -49
  866. data/lib/fog/openstack/models/baremetal/chassis_collection.rb +0 -44
  867. data/lib/fog/openstack/models/baremetal/driver.rb +0 -24
  868. data/lib/fog/openstack/models/baremetal/drivers.rb +0 -21
  869. data/lib/fog/openstack/models/baremetal/node.rb +0 -96
  870. data/lib/fog/openstack/models/baremetal/nodes.rb +0 -44
  871. data/lib/fog/openstack/models/baremetal/port.rb +0 -50
  872. data/lib/fog/openstack/models/baremetal/ports.rb +0 -44
  873. data/lib/fog/openstack/models/compute/address.rb +0 -67
  874. data/lib/fog/openstack/models/compute/addresses.rb +0 -28
  875. data/lib/fog/openstack/models/compute/aggregate.rb +0 -59
  876. data/lib/fog/openstack/models/compute/aggregates.rb +0 -26
  877. data/lib/fog/openstack/models/compute/availability_zones.rb +0 -22
  878. data/lib/fog/openstack/models/compute/flavors.rb +0 -29
  879. data/lib/fog/openstack/models/compute/host.rb +0 -28
  880. data/lib/fog/openstack/models/compute/hosts.rb +0 -28
  881. data/lib/fog/openstack/models/compute/image.rb +0 -48
  882. data/lib/fog/openstack/models/compute/images.rb +0 -38
  883. data/lib/fog/openstack/models/compute/key_pair.rb +0 -56
  884. data/lib/fog/openstack/models/compute/key_pairs.rb +0 -29
  885. data/lib/fog/openstack/models/compute/metadata.rb +0 -65
  886. data/lib/fog/openstack/models/compute/networks.rb +0 -30
  887. data/lib/fog/openstack/models/compute/security_group_rules.rb +0 -21
  888. data/lib/fog/openstack/models/compute/security_groups.rb +0 -24
  889. data/lib/fog/openstack/models/compute/server.rb +0 -397
  890. data/lib/fog/openstack/models/compute/server_group.rb +0 -22
  891. data/lib/fog/openstack/models/compute/server_groups.rb +0 -28
  892. data/lib/fog/openstack/models/compute/servers.rb +0 -59
  893. data/lib/fog/openstack/models/compute/service.rb +0 -42
  894. data/lib/fog/openstack/models/compute/services.rb +0 -35
  895. data/lib/fog/openstack/models/compute/snapshot.rb +0 -32
  896. data/lib/fog/openstack/models/compute/snapshots.rb +0 -37
  897. data/lib/fog/openstack/models/compute/tenant.rb +0 -24
  898. data/lib/fog/openstack/models/compute/tenants.rb +0 -25
  899. data/lib/fog/openstack/models/compute/volume.rb +0 -52
  900. data/lib/fog/openstack/models/compute/volumes.rb +0 -37
  901. data/lib/fog/openstack/models/identity_v2/ec2_credentials.rb +0 -56
  902. data/lib/fog/openstack/models/identity_v2/role.rb +0 -52
  903. data/lib/fog/openstack/models/identity_v2/roles.rb +0 -22
  904. data/lib/fog/openstack/models/identity_v2/tenant.rb +0 -60
  905. data/lib/fog/openstack/models/identity_v2/tenants.rb +0 -31
  906. data/lib/fog/openstack/models/identity_v2/user.rb +0 -69
  907. data/lib/fog/openstack/models/identity_v2/users.rb +0 -45
  908. data/lib/fog/openstack/models/identity_v3/domain.rb +0 -49
  909. data/lib/fog/openstack/models/identity_v3/domains.rb +0 -50
  910. data/lib/fog/openstack/models/identity_v3/endpoint.rb +0 -46
  911. data/lib/fog/openstack/models/identity_v3/endpoints.rb +0 -26
  912. data/lib/fog/openstack/models/identity_v3/group.rb +0 -92
  913. data/lib/fog/openstack/models/identity_v3/groups.rb +0 -31
  914. data/lib/fog/openstack/models/identity_v3/os_credential.rb +0 -73
  915. data/lib/fog/openstack/models/identity_v3/os_credentials.rb +0 -31
  916. data/lib/fog/openstack/models/identity_v3/policies.rb +0 -31
  917. data/lib/fog/openstack/models/identity_v3/policy.rb +0 -42
  918. data/lib/fog/openstack/models/identity_v3/project.rb +0 -106
  919. data/lib/fog/openstack/models/identity_v3/projects.rb +0 -70
  920. data/lib/fog/openstack/models/identity_v3/role.rb +0 -40
  921. data/lib/fog/openstack/models/identity_v3/role_assignment.rb +0 -22
  922. data/lib/fog/openstack/models/identity_v3/role_assignments.rb +0 -25
  923. data/lib/fog/openstack/models/identity_v3/roles.rb +0 -39
  924. data/lib/fog/openstack/models/identity_v3/service.rb +0 -47
  925. data/lib/fog/openstack/models/identity_v3/services.rb +0 -31
  926. data/lib/fog/openstack/models/identity_v3/token.rb +0 -26
  927. data/lib/fog/openstack/models/identity_v3/tokens.rb +0 -41
  928. data/lib/fog/openstack/models/identity_v3/user.rb +0 -81
  929. data/lib/fog/openstack/models/identity_v3/users.rb +0 -35
  930. data/lib/fog/openstack/models/image_v1/image.rb +0 -78
  931. data/lib/fog/openstack/models/image_v1/images.rb +0 -70
  932. data/lib/fog/openstack/models/image_v2/image.rb +0 -168
  933. data/lib/fog/openstack/models/image_v2/images.rb +0 -67
  934. data/lib/fog/openstack/models/introspection/rules_collection.rb +0 -32
  935. data/lib/fog/openstack/models/metering/events.rb +0 -23
  936. data/lib/fog/openstack/models/metering/resources.rb +0 -23
  937. data/lib/fog/openstack/models/monitoring/alarm_counts.rb +0 -16
  938. data/lib/fog/openstack/models/monitoring/alarm_definitions.rb +0 -42
  939. data/lib/fog/openstack/models/monitoring/alarm_states.rb +0 -20
  940. data/lib/fog/openstack/models/monitoring/alarms.rb +0 -30
  941. data/lib/fog/openstack/models/monitoring/measurements.rb +0 -16
  942. data/lib/fog/openstack/models/monitoring/metrics.rb +0 -28
  943. data/lib/fog/openstack/models/monitoring/notification_methods.rb +0 -38
  944. data/lib/fog/openstack/models/monitoring/statistics.rb +0 -16
  945. data/lib/fog/openstack/models/network/floating_ip.rb +0 -62
  946. data/lib/fog/openstack/models/network/floating_ips.rb +0 -32
  947. data/lib/fog/openstack/models/network/ike_policies.rb +0 -32
  948. data/lib/fog/openstack/models/network/ipsec_policies.rb +0 -32
  949. data/lib/fog/openstack/models/network/ipsec_site_connections.rb +0 -33
  950. data/lib/fog/openstack/models/network/lb_health_monitor.rb +0 -57
  951. data/lib/fog/openstack/models/network/lb_health_monitors.rb +0 -32
  952. data/lib/fog/openstack/models/network/lb_member.rb +0 -42
  953. data/lib/fog/openstack/models/network/lb_members.rb +0 -32
  954. data/lib/fog/openstack/models/network/lb_pool.rb +0 -67
  955. data/lib/fog/openstack/models/network/lb_pools.rb +0 -32
  956. data/lib/fog/openstack/models/network/lb_vip.rb +0 -48
  957. data/lib/fog/openstack/models/network/lb_vips.rb +0 -32
  958. data/lib/fog/openstack/models/network/network.rb +0 -43
  959. data/lib/fog/openstack/models/network/networks.rb +0 -32
  960. data/lib/fog/openstack/models/network/port.rb +0 -42
  961. data/lib/fog/openstack/models/network/ports.rb +0 -32
  962. data/lib/fog/openstack/models/network/rbac_policies.rb +0 -33
  963. data/lib/fog/openstack/models/network/router.rb +0 -61
  964. data/lib/fog/openstack/models/network/routers.rb +0 -32
  965. data/lib/fog/openstack/models/network/security_group.rb +0 -32
  966. data/lib/fog/openstack/models/network/security_group_rule.rb +0 -33
  967. data/lib/fog/openstack/models/network/security_group_rules.rb +0 -32
  968. data/lib/fog/openstack/models/network/security_groups.rb +0 -32
  969. data/lib/fog/openstack/models/network/subnet.rb +0 -44
  970. data/lib/fog/openstack/models/network/subnets.rb +0 -32
  971. data/lib/fog/openstack/models/network/vpn_services.rb +0 -32
  972. data/lib/fog/openstack/models/nfv/vnfd.rb +0 -53
  973. data/lib/fog/openstack/models/nfv/vnfds.rb +0 -28
  974. data/lib/fog/openstack/models/nfv/vnfs.rb +0 -28
  975. data/lib/fog/openstack/models/orchestration/event.rb +0 -20
  976. data/lib/fog/openstack/models/orchestration/events.rb +0 -31
  977. data/lib/fog/openstack/models/orchestration/resource.rb +0 -32
  978. data/lib/fog/openstack/models/orchestration/resource_schemas.rb +0 -17
  979. data/lib/fog/openstack/models/orchestration/resources.rb +0 -36
  980. data/lib/fog/openstack/models/orchestration/stack.rb +0 -121
  981. data/lib/fog/openstack/models/orchestration/stacks.rb +0 -64
  982. data/lib/fog/openstack/models/orchestration/template.rb +0 -15
  983. data/lib/fog/openstack/models/orchestration/templates.rb +0 -45
  984. data/lib/fog/openstack/models/planning/plan.rb +0 -70
  985. data/lib/fog/openstack/models/planning/plans.rb +0 -31
  986. data/lib/fog/openstack/models/planning/roles.rb +0 -16
  987. data/lib/fog/openstack/models/storage/directories.rb +0 -36
  988. data/lib/fog/openstack/models/storage/directory.rb +0 -50
  989. data/lib/fog/openstack/models/storage/file.rb +0 -185
  990. data/lib/fog/openstack/models/storage/files.rb +0 -101
  991. data/lib/fog/openstack/models/volume/availability_zone.rb +0 -10
  992. data/lib/fog/openstack/models/volume/transfer.rb +0 -28
  993. data/lib/fog/openstack/models/volume/transfers.rb +0 -35
  994. data/lib/fog/openstack/models/volume/volumes.rb +0 -35
  995. data/lib/fog/openstack/models/volume_v1/availability_zone.rb +0 -15
  996. data/lib/fog/openstack/models/volume_v1/availability_zones.rb +0 -16
  997. data/lib/fog/openstack/models/volume_v1/snapshot.rb +0 -43
  998. data/lib/fog/openstack/models/volume_v1/snapshots.rb +0 -16
  999. data/lib/fog/openstack/models/volume_v1/transfer.rb +0 -18
  1000. data/lib/fog/openstack/models/volume_v1/transfers.rb +0 -16
  1001. data/lib/fog/openstack/models/volume_v1/volume.rb +0 -36
  1002. data/lib/fog/openstack/models/volume_v1/volume_type.rb +0 -16
  1003. data/lib/fog/openstack/models/volume_v1/volume_types.rb +0 -16
  1004. data/lib/fog/openstack/models/volume_v1/volumes.rb +0 -16
  1005. data/lib/fog/openstack/models/volume_v2/availability_zone.rb +0 -15
  1006. data/lib/fog/openstack/models/volume_v2/availability_zones.rb +0 -16
  1007. data/lib/fog/openstack/models/volume_v2/snapshot.rb +0 -43
  1008. data/lib/fog/openstack/models/volume_v2/snapshots.rb +0 -16
  1009. data/lib/fog/openstack/models/volume_v2/transfer.rb +0 -19
  1010. data/lib/fog/openstack/models/volume_v2/transfers.rb +0 -16
  1011. data/lib/fog/openstack/models/volume_v2/volume.rb +0 -36
  1012. data/lib/fog/openstack/models/volume_v2/volume_type.rb +0 -16
  1013. data/lib/fog/openstack/models/volume_v2/volume_types.rb +0 -16
  1014. data/lib/fog/openstack/models/volume_v2/volumes.rb +0 -16
  1015. data/lib/fog/openstack/monitoring.rb +0 -90
  1016. data/lib/fog/openstack/network.rb +0 -321
  1017. data/lib/fog/openstack/nfv.rb +0 -133
  1018. data/lib/fog/openstack/orchestration.rb +0 -156
  1019. data/lib/fog/openstack/planning.rb +0 -149
  1020. data/lib/fog/openstack/requests/baremetal/create_chassis.rb +0 -44
  1021. data/lib/fog/openstack/requests/baremetal/create_node.rb +0 -54
  1022. data/lib/fog/openstack/requests/baremetal/create_port.rb +0 -46
  1023. data/lib/fog/openstack/requests/baremetal/delete_chassis.rb +0 -25
  1024. data/lib/fog/openstack/requests/baremetal/delete_node.rb +0 -25
  1025. data/lib/fog/openstack/requests/baremetal/delete_port.rb +0 -25
  1026. data/lib/fog/openstack/requests/baremetal/get_chassis.rb +0 -24
  1027. data/lib/fog/openstack/requests/baremetal/get_driver.rb +0 -24
  1028. data/lib/fog/openstack/requests/baremetal/get_driver_properties.rb +0 -40
  1029. data/lib/fog/openstack/requests/baremetal/get_node.rb +0 -24
  1030. data/lib/fog/openstack/requests/baremetal/get_port.rb +0 -24
  1031. data/lib/fog/openstack/requests/baremetal/list_chassis.rb +0 -42
  1032. data/lib/fog/openstack/requests/baremetal/list_chassis_detailed.rb +0 -25
  1033. data/lib/fog/openstack/requests/baremetal/list_drivers.rb +0 -25
  1034. data/lib/fog/openstack/requests/baremetal/list_nodes.rb +0 -34
  1035. data/lib/fog/openstack/requests/baremetal/list_nodes_detailed.rb +0 -25
  1036. data/lib/fog/openstack/requests/baremetal/list_ports.rb +0 -42
  1037. data/lib/fog/openstack/requests/baremetal/list_ports_detailed.rb +0 -25
  1038. data/lib/fog/openstack/requests/baremetal/patch_chassis.rb +0 -42
  1039. data/lib/fog/openstack/requests/baremetal/patch_node.rb +0 -41
  1040. data/lib/fog/openstack/requests/baremetal/patch_port.rb +0 -41
  1041. data/lib/fog/openstack/requests/baremetal/set_node_maintenance.rb +0 -30
  1042. data/lib/fog/openstack/requests/baremetal/set_node_power_state.rb +0 -35
  1043. data/lib/fog/openstack/requests/baremetal/set_node_provision_state.rb +0 -38
  1044. data/lib/fog/openstack/requests/baremetal/unset_node_maintenance.rb +0 -30
  1045. data/lib/fog/openstack/requests/compute/add_aggregate_host.rb +0 -30
  1046. data/lib/fog/openstack/requests/compute/add_fixed_ip.rb +0 -29
  1047. data/lib/fog/openstack/requests/compute/add_flavor_access.rb +0 -31
  1048. data/lib/fog/openstack/requests/compute/add_security_group.rb +0 -20
  1049. data/lib/fog/openstack/requests/compute/allocate_address.rb +0 -39
  1050. data/lib/fog/openstack/requests/compute/associate_address.rb +0 -30
  1051. data/lib/fog/openstack/requests/compute/attach_volume.rb +0 -39
  1052. data/lib/fog/openstack/requests/compute/boot_from_snapshot.rb +0 -41
  1053. data/lib/fog/openstack/requests/compute/change_server_password.rb +0 -20
  1054. data/lib/fog/openstack/requests/compute/confirm_resize_server.rb +0 -20
  1055. data/lib/fog/openstack/requests/compute/create_aggregate.rb +0 -42
  1056. data/lib/fog/openstack/requests/compute/create_flavor.rb +0 -85
  1057. data/lib/fog/openstack/requests/compute/create_flavor_metadata.rb +0 -38
  1058. data/lib/fog/openstack/requests/compute/create_image.rb +0 -44
  1059. data/lib/fog/openstack/requests/compute/create_key_pair.rb +0 -46
  1060. data/lib/fog/openstack/requests/compute/create_security_group.rb +0 -50
  1061. data/lib/fog/openstack/requests/compute/create_security_group_rule.rb +0 -57
  1062. data/lib/fog/openstack/requests/compute/create_server.rb +0 -188
  1063. data/lib/fog/openstack/requests/compute/create_server_group.rb +0 -31
  1064. data/lib/fog/openstack/requests/compute/create_volume.rb +0 -58
  1065. data/lib/fog/openstack/requests/compute/delete_aggregate.rb +0 -28
  1066. data/lib/fog/openstack/requests/compute/delete_flavor.rb +0 -28
  1067. data/lib/fog/openstack/requests/compute/delete_image.rb +0 -35
  1068. data/lib/fog/openstack/requests/compute/delete_key_pair.rb +0 -29
  1069. data/lib/fog/openstack/requests/compute/delete_meta.rb +0 -35
  1070. data/lib/fog/openstack/requests/compute/delete_metadata.rb +0 -23
  1071. data/lib/fog/openstack/requests/compute/delete_security_group.rb +0 -31
  1072. data/lib/fog/openstack/requests/compute/delete_security_group_rule.rb +0 -31
  1073. data/lib/fog/openstack/requests/compute/delete_server.rb +0 -36
  1074. data/lib/fog/openstack/requests/compute/delete_server_group.rb +0 -28
  1075. data/lib/fog/openstack/requests/compute/delete_service.rb +0 -32
  1076. data/lib/fog/openstack/requests/compute/delete_snapshot.rb +0 -28
  1077. data/lib/fog/openstack/requests/compute/delete_volume.rb +0 -28
  1078. data/lib/fog/openstack/requests/compute/detach_volume.rb +0 -29
  1079. data/lib/fog/openstack/requests/compute/disable_service.rb +0 -37
  1080. data/lib/fog/openstack/requests/compute/disable_service_log_reason.rb +0 -38
  1081. data/lib/fog/openstack/requests/compute/disassociate_address.rb +0 -25
  1082. data/lib/fog/openstack/requests/compute/enable_service.rb +0 -38
  1083. data/lib/fog/openstack/requests/compute/get_address.rb +0 -38
  1084. data/lib/fog/openstack/requests/compute/get_aggregate.rb +0 -26
  1085. data/lib/fog/openstack/requests/compute/get_console_output.rb +0 -24
  1086. data/lib/fog/openstack/requests/compute/get_flavor_details.rb +0 -39
  1087. data/lib/fog/openstack/requests/compute/get_flavor_metadata.rb +0 -27
  1088. data/lib/fog/openstack/requests/compute/get_host_details.rb +0 -66
  1089. data/lib/fog/openstack/requests/compute/get_hypervisor_statistics.rb +0 -39
  1090. data/lib/fog/openstack/requests/compute/get_image_details.rb +0 -28
  1091. data/lib/fog/openstack/requests/compute/get_key_pair.rb +0 -49
  1092. data/lib/fog/openstack/requests/compute/get_limits.rb +0 -90
  1093. data/lib/fog/openstack/requests/compute/get_metadata.rb +0 -24
  1094. data/lib/fog/openstack/requests/compute/get_quota.rb +0 -26
  1095. data/lib/fog/openstack/requests/compute/get_quota_defaults.rb +0 -26
  1096. data/lib/fog/openstack/requests/compute/get_security_group.rb +0 -37
  1097. data/lib/fog/openstack/requests/compute/get_security_group_rule.rb +0 -38
  1098. data/lib/fog/openstack/requests/compute/get_server_details.rb +0 -28
  1099. data/lib/fog/openstack/requests/compute/get_server_group.rb +0 -38
  1100. data/lib/fog/openstack/requests/compute/get_server_password.rb +0 -28
  1101. data/lib/fog/openstack/requests/compute/get_server_volumes.rb +0 -27
  1102. data/lib/fog/openstack/requests/compute/get_snapshot_details.rb +0 -29
  1103. data/lib/fog/openstack/requests/compute/get_usage.rb +0 -51
  1104. data/lib/fog/openstack/requests/compute/get_vnc_console.rb +0 -40
  1105. data/lib/fog/openstack/requests/compute/get_volume_details.rb +0 -32
  1106. data/lib/fog/openstack/requests/compute/list_address_pools.rb +0 -28
  1107. data/lib/fog/openstack/requests/compute/list_addresses.rb +0 -28
  1108. data/lib/fog/openstack/requests/compute/list_aggregates.rb +0 -36
  1109. data/lib/fog/openstack/requests/compute/list_all_addresses.rb +0 -62
  1110. data/lib/fog/openstack/requests/compute/list_flavors.rb +0 -35
  1111. data/lib/fog/openstack/requests/compute/list_flavors_detail.rb +0 -35
  1112. data/lib/fog/openstack/requests/compute/list_hosts.rb +0 -28
  1113. data/lib/fog/openstack/requests/compute/list_images.rb +0 -29
  1114. data/lib/fog/openstack/requests/compute/list_images_detail.rb +0 -36
  1115. data/lib/fog/openstack/requests/compute/list_key_pairs.rb +0 -38
  1116. data/lib/fog/openstack/requests/compute/list_metadata.rb +0 -24
  1117. data/lib/fog/openstack/requests/compute/list_private_addresses.rb +0 -28
  1118. data/lib/fog/openstack/requests/compute/list_public_addresses.rb +0 -28
  1119. data/lib/fog/openstack/requests/compute/list_security_groups.rb +0 -69
  1120. data/lib/fog/openstack/requests/compute/list_server_groups.rb +0 -28
  1121. data/lib/fog/openstack/requests/compute/list_servers.rb +0 -36
  1122. data/lib/fog/openstack/requests/compute/list_servers_detail.rb +0 -43
  1123. data/lib/fog/openstack/requests/compute/list_services.rb +0 -66
  1124. data/lib/fog/openstack/requests/compute/list_snapshots.rb +0 -40
  1125. data/lib/fog/openstack/requests/compute/list_snapshots_detail.rb +0 -26
  1126. data/lib/fog/openstack/requests/compute/list_tenants.rb +0 -45
  1127. data/lib/fog/openstack/requests/compute/list_tenants_with_flavor_access.rb +0 -26
  1128. data/lib/fog/openstack/requests/compute/list_usages.rb +0 -41
  1129. data/lib/fog/openstack/requests/compute/list_volume_attachments.rb +0 -31
  1130. data/lib/fog/openstack/requests/compute/list_volumes.rb +0 -39
  1131. data/lib/fog/openstack/requests/compute/list_volumes_detail.rb +0 -25
  1132. data/lib/fog/openstack/requests/compute/list_zones.rb +0 -33
  1133. data/lib/fog/openstack/requests/compute/list_zones_detailed.rb +0 -55
  1134. data/lib/fog/openstack/requests/compute/live_migrate_server.rb +0 -26
  1135. data/lib/fog/openstack/requests/compute/migrate_server.rb +0 -20
  1136. data/lib/fog/openstack/requests/compute/pause_server.rb +0 -24
  1137. data/lib/fog/openstack/requests/compute/reboot_server.rb +0 -20
  1138. data/lib/fog/openstack/requests/compute/rebuild_server.rb +0 -34
  1139. data/lib/fog/openstack/requests/compute/release_address.rb +0 -29
  1140. data/lib/fog/openstack/requests/compute/remove_aggregate_host.rb +0 -30
  1141. data/lib/fog/openstack/requests/compute/remove_fixed_ip.rb +0 -29
  1142. data/lib/fog/openstack/requests/compute/remove_flavor_access.rb +0 -31
  1143. data/lib/fog/openstack/requests/compute/remove_security_group.rb +0 -20
  1144. data/lib/fog/openstack/requests/compute/rescue_server.rb +0 -24
  1145. data/lib/fog/openstack/requests/compute/reset_server_state.rb +0 -20
  1146. data/lib/fog/openstack/requests/compute/resize_server.rb +0 -20
  1147. data/lib/fog/openstack/requests/compute/resume_server.rb +0 -24
  1148. data/lib/fog/openstack/requests/compute/revert_resize_server.rb +0 -26
  1149. data/lib/fog/openstack/requests/compute/server_action.rb +0 -16
  1150. data/lib/fog/openstack/requests/compute/server_actions.rb +0 -38
  1151. data/lib/fog/openstack/requests/compute/server_diagnostics.rb +0 -25
  1152. data/lib/fog/openstack/requests/compute/set_metadata.rb +0 -37
  1153. data/lib/fog/openstack/requests/compute/set_tenant.rb +0 -19
  1154. data/lib/fog/openstack/requests/compute/shelve_offload_server.rb +0 -24
  1155. data/lib/fog/openstack/requests/compute/shelve_server.rb +0 -24
  1156. data/lib/fog/openstack/requests/compute/start_server.rb +0 -24
  1157. data/lib/fog/openstack/requests/compute/stop_server.rb +0 -24
  1158. data/lib/fog/openstack/requests/compute/suspend_server.rb +0 -24
  1159. data/lib/fog/openstack/requests/compute/unpause_server.rb +0 -24
  1160. data/lib/fog/openstack/requests/compute/unshelve_server.rb +0 -24
  1161. data/lib/fog/openstack/requests/compute/update_aggregate.rb +0 -37
  1162. data/lib/fog/openstack/requests/compute/update_aggregate_metadata.rb +0 -30
  1163. data/lib/fog/openstack/requests/compute/update_meta.rb +0 -38
  1164. data/lib/fog/openstack/requests/compute/update_metadata.rb +0 -38
  1165. data/lib/fog/openstack/requests/compute/update_quota.rb +0 -28
  1166. data/lib/fog/openstack/requests/compute/update_server.rb +0 -31
  1167. data/lib/fog/openstack/requests/identity_v2/add_user_to_tenant.rb +0 -36
  1168. data/lib/fog/openstack/requests/identity_v2/check_token.rb +0 -22
  1169. data/lib/fog/openstack/requests/identity_v2/create_ec2_credential.rb +0 -59
  1170. data/lib/fog/openstack/requests/identity_v2/create_role.rb +0 -38
  1171. data/lib/fog/openstack/requests/identity_v2/create_tenant.rb +0 -34
  1172. data/lib/fog/openstack/requests/identity_v2/create_user.rb +0 -45
  1173. data/lib/fog/openstack/requests/identity_v2/create_user_role.rb +0 -26
  1174. data/lib/fog/openstack/requests/identity_v2/delete_ec2_credential.rb +0 -43
  1175. data/lib/fog/openstack/requests/identity_v2/delete_role.rb +0 -30
  1176. data/lib/fog/openstack/requests/identity_v2/delete_tenant.rb +0 -33
  1177. data/lib/fog/openstack/requests/identity_v2/delete_user.rb +0 -30
  1178. data/lib/fog/openstack/requests/identity_v2/delete_user_role.rb +0 -25
  1179. data/lib/fog/openstack/requests/identity_v2/get_ec2_credential.rb +0 -50
  1180. data/lib/fog/openstack/requests/identity_v2/get_role.rb +0 -30
  1181. data/lib/fog/openstack/requests/identity_v2/get_tenant.rb +0 -33
  1182. data/lib/fog/openstack/requests/identity_v2/get_tenants_by_id.rb +0 -20
  1183. data/lib/fog/openstack/requests/identity_v2/get_tenants_by_name.rb +0 -20
  1184. data/lib/fog/openstack/requests/identity_v2/get_user_by_id.rb +0 -34
  1185. data/lib/fog/openstack/requests/identity_v2/get_user_by_name.rb +0 -29
  1186. data/lib/fog/openstack/requests/identity_v2/list_ec2_credentials.rb +0 -61
  1187. data/lib/fog/openstack/requests/identity_v2/list_endpoints_for_token.rb +0 -20
  1188. data/lib/fog/openstack/requests/identity_v2/list_roles.rb +0 -34
  1189. data/lib/fog/openstack/requests/identity_v2/list_roles_for_user_on_tenant.rb +0 -32
  1190. data/lib/fog/openstack/requests/identity_v2/list_tenants.rb +0 -53
  1191. data/lib/fog/openstack/requests/identity_v2/list_user_global_roles.rb +0 -20
  1192. data/lib/fog/openstack/requests/identity_v2/list_users.rb +0 -47
  1193. data/lib/fog/openstack/requests/identity_v2/remove_user_from_tenant.rb +0 -22
  1194. data/lib/fog/openstack/requests/identity_v2/set_tenant.rb +0 -21
  1195. data/lib/fog/openstack/requests/identity_v2/update_tenant.rb +0 -30
  1196. data/lib/fog/openstack/requests/identity_v2/update_user.rb +0 -34
  1197. data/lib/fog/openstack/requests/identity_v2/validate_token.rb +0 -22
  1198. data/lib/fog/openstack/requests/identity_v3/add_user_to_group.rb +0 -20
  1199. data/lib/fog/openstack/requests/identity_v3/auth_domains.rb +0 -24
  1200. data/lib/fog/openstack/requests/identity_v3/auth_projects.rb +0 -24
  1201. data/lib/fog/openstack/requests/identity_v3/check_domain_group_role.rb +0 -20
  1202. data/lib/fog/openstack/requests/identity_v3/check_domain_user_role.rb +0 -20
  1203. data/lib/fog/openstack/requests/identity_v3/check_project_group_role.rb +0 -20
  1204. data/lib/fog/openstack/requests/identity_v3/check_project_user_role.rb +0 -20
  1205. data/lib/fog/openstack/requests/identity_v3/create_domain.rb +0 -21
  1206. data/lib/fog/openstack/requests/identity_v3/create_endpoint.rb +0 -21
  1207. data/lib/fog/openstack/requests/identity_v3/create_group.rb +0 -21
  1208. data/lib/fog/openstack/requests/identity_v3/create_os_credential.rb +0 -21
  1209. data/lib/fog/openstack/requests/identity_v3/create_policy.rb +0 -21
  1210. data/lib/fog/openstack/requests/identity_v3/create_project.rb +0 -21
  1211. data/lib/fog/openstack/requests/identity_v3/create_role.rb +0 -21
  1212. data/lib/fog/openstack/requests/identity_v3/create_service.rb +0 -21
  1213. data/lib/fog/openstack/requests/identity_v3/create_user.rb +0 -21
  1214. data/lib/fog/openstack/requests/identity_v3/delete_domain.rb +0 -20
  1215. data/lib/fog/openstack/requests/identity_v3/delete_endpoint.rb +0 -20
  1216. data/lib/fog/openstack/requests/identity_v3/delete_group.rb +0 -20
  1217. data/lib/fog/openstack/requests/identity_v3/delete_os_credential.rb +0 -20
  1218. data/lib/fog/openstack/requests/identity_v3/delete_policy.rb +0 -20
  1219. data/lib/fog/openstack/requests/identity_v3/delete_project.rb +0 -20
  1220. data/lib/fog/openstack/requests/identity_v3/delete_role.rb +0 -20
  1221. data/lib/fog/openstack/requests/identity_v3/delete_service.rb +0 -20
  1222. data/lib/fog/openstack/requests/identity_v3/delete_user.rb +0 -20
  1223. data/lib/fog/openstack/requests/identity_v3/get_domain.rb +0 -23
  1224. data/lib/fog/openstack/requests/identity_v3/get_endpoint.rb +0 -23
  1225. data/lib/fog/openstack/requests/identity_v3/get_group.rb +0 -23
  1226. data/lib/fog/openstack/requests/identity_v3/get_os_credential.rb +0 -23
  1227. data/lib/fog/openstack/requests/identity_v3/get_policy.rb +0 -23
  1228. data/lib/fog/openstack/requests/identity_v3/get_project.rb +0 -23
  1229. data/lib/fog/openstack/requests/identity_v3/get_role.rb +0 -23
  1230. data/lib/fog/openstack/requests/identity_v3/get_service.rb +0 -23
  1231. data/lib/fog/openstack/requests/identity_v3/get_user.rb +0 -23
  1232. data/lib/fog/openstack/requests/identity_v3/grant_domain_group_role.rb +0 -20
  1233. data/lib/fog/openstack/requests/identity_v3/grant_domain_user_role.rb +0 -20
  1234. data/lib/fog/openstack/requests/identity_v3/grant_project_group_role.rb +0 -20
  1235. data/lib/fog/openstack/requests/identity_v3/grant_project_user_role.rb +0 -20
  1236. data/lib/fog/openstack/requests/identity_v3/group_user_check.rb +0 -20
  1237. data/lib/fog/openstack/requests/identity_v3/list_domain_group_roles.rb +0 -23
  1238. data/lib/fog/openstack/requests/identity_v3/list_domain_user_roles.rb +0 -23
  1239. data/lib/fog/openstack/requests/identity_v3/list_domains.rb +0 -24
  1240. data/lib/fog/openstack/requests/identity_v3/list_endpoints.rb +0 -24
  1241. data/lib/fog/openstack/requests/identity_v3/list_group_users.rb +0 -24
  1242. data/lib/fog/openstack/requests/identity_v3/list_groups.rb +0 -32
  1243. data/lib/fog/openstack/requests/identity_v3/list_os_credentials.rb +0 -24
  1244. data/lib/fog/openstack/requests/identity_v3/list_policies.rb +0 -24
  1245. data/lib/fog/openstack/requests/identity_v3/list_project_group_roles.rb +0 -23
  1246. data/lib/fog/openstack/requests/identity_v3/list_project_user_roles.rb +0 -23
  1247. data/lib/fog/openstack/requests/identity_v3/list_projects.rb +0 -31
  1248. data/lib/fog/openstack/requests/identity_v3/list_role_assignments.rb +0 -39
  1249. data/lib/fog/openstack/requests/identity_v3/list_roles.rb +0 -24
  1250. data/lib/fog/openstack/requests/identity_v3/list_services.rb +0 -24
  1251. data/lib/fog/openstack/requests/identity_v3/list_user_groups.rb +0 -23
  1252. data/lib/fog/openstack/requests/identity_v3/list_user_projects.rb +0 -23
  1253. data/lib/fog/openstack/requests/identity_v3/list_users.rb +0 -24
  1254. data/lib/fog/openstack/requests/identity_v3/remove_user_from_group.rb +0 -20
  1255. data/lib/fog/openstack/requests/identity_v3/revoke_domain_group_role.rb +0 -20
  1256. data/lib/fog/openstack/requests/identity_v3/revoke_domain_user_role.rb +0 -20
  1257. data/lib/fog/openstack/requests/identity_v3/revoke_project_group_role.rb +0 -20
  1258. data/lib/fog/openstack/requests/identity_v3/revoke_project_user_role.rb +0 -20
  1259. data/lib/fog/openstack/requests/identity_v3/token_authenticate.rb +0 -21
  1260. data/lib/fog/openstack/requests/identity_v3/token_check.rb +0 -21
  1261. data/lib/fog/openstack/requests/identity_v3/token_revoke.rb +0 -21
  1262. data/lib/fog/openstack/requests/identity_v3/token_validate.rb +0 -22
  1263. data/lib/fog/openstack/requests/identity_v3/update_domain.rb +0 -21
  1264. data/lib/fog/openstack/requests/identity_v3/update_endpoint.rb +0 -21
  1265. data/lib/fog/openstack/requests/identity_v3/update_group.rb +0 -21
  1266. data/lib/fog/openstack/requests/identity_v3/update_os_credential.rb +0 -21
  1267. data/lib/fog/openstack/requests/identity_v3/update_policy.rb +0 -21
  1268. data/lib/fog/openstack/requests/identity_v3/update_project.rb +0 -21
  1269. data/lib/fog/openstack/requests/identity_v3/update_role.rb +0 -21
  1270. data/lib/fog/openstack/requests/identity_v3/update_service.rb +0 -21
  1271. data/lib/fog/openstack/requests/identity_v3/update_user.rb +0 -21
  1272. data/lib/fog/openstack/requests/image_v1/add_member_to_image.rb +0 -25
  1273. data/lib/fog/openstack/requests/image_v1/create_image.rb +0 -78
  1274. data/lib/fog/openstack/requests/image_v1/delete_image.rb +0 -25
  1275. data/lib/fog/openstack/requests/image_v1/get_image.rb +0 -47
  1276. data/lib/fog/openstack/requests/image_v1/get_image_by_id.rb +0 -34
  1277. data/lib/fog/openstack/requests/image_v1/get_image_members.rb +0 -31
  1278. data/lib/fog/openstack/requests/image_v1/get_shared_images.rb +0 -31
  1279. data/lib/fog/openstack/requests/image_v1/list_public_images.rb +0 -35
  1280. data/lib/fog/openstack/requests/image_v1/list_public_images_detailed.rb +0 -37
  1281. data/lib/fog/openstack/requests/image_v1/remove_member_from_image.rb +0 -25
  1282. data/lib/fog/openstack/requests/image_v1/set_tenant.rb +0 -21
  1283. data/lib/fog/openstack/requests/image_v1/update_image.rb +0 -66
  1284. data/lib/fog/openstack/requests/image_v1/update_image_members.rb +0 -39
  1285. data/lib/fog/openstack/requests/image_v2/add_member_to_image.rb +0 -26
  1286. data/lib/fog/openstack/requests/image_v2/add_tag_to_image.rb +0 -25
  1287. data/lib/fog/openstack/requests/image_v2/create_image.rb +0 -54
  1288. data/lib/fog/openstack/requests/image_v2/deactivate_image.rb +0 -25
  1289. data/lib/fog/openstack/requests/image_v2/delete_image.rb +0 -25
  1290. data/lib/fog/openstack/requests/image_v2/download_image.rb +0 -29
  1291. data/lib/fog/openstack/requests/image_v2/get_image.rb +0 -47
  1292. data/lib/fog/openstack/requests/image_v2/get_image_by_id.rb +0 -34
  1293. data/lib/fog/openstack/requests/image_v2/get_image_members.rb +0 -31
  1294. data/lib/fog/openstack/requests/image_v2/get_member_details.rb +0 -33
  1295. data/lib/fog/openstack/requests/image_v2/get_shared_images.rb +0 -31
  1296. data/lib/fog/openstack/requests/image_v2/list_images.rb +0 -35
  1297. data/lib/fog/openstack/requests/image_v2/reactivate_image.rb +0 -25
  1298. data/lib/fog/openstack/requests/image_v2/remove_member_from_image.rb +0 -25
  1299. data/lib/fog/openstack/requests/image_v2/remove_tag_from_image.rb +0 -25
  1300. data/lib/fog/openstack/requests/image_v2/set_tenant.rb +0 -21
  1301. data/lib/fog/openstack/requests/image_v2/update_image.rb +0 -49
  1302. data/lib/fog/openstack/requests/image_v2/update_image_member.rb +0 -34
  1303. data/lib/fog/openstack/requests/image_v2/upload_image.rb +0 -30
  1304. data/lib/fog/openstack/requests/metering/get_event.rb +0 -27
  1305. data/lib/fog/openstack/requests/metering/get_resource.rb +0 -28
  1306. data/lib/fog/openstack/requests/metering/get_samples.rb +0 -50
  1307. data/lib/fog/openstack/requests/metering/get_statistics.rb +0 -51
  1308. data/lib/fog/openstack/requests/metering/list_events.rb +0 -42
  1309. data/lib/fog/openstack/requests/metering/list_meters.rb +0 -45
  1310. data/lib/fog/openstack/requests/metering/list_resources.rb +0 -28
  1311. data/lib/fog/openstack/requests/network/add_router_interface.rb +0 -54
  1312. data/lib/fog/openstack/requests/network/associate_floating_ip.rb +0 -47
  1313. data/lib/fog/openstack/requests/network/associate_lb_health_monitor.rb +0 -37
  1314. data/lib/fog/openstack/requests/network/create_floating_ip.rb +0 -45
  1315. data/lib/fog/openstack/requests/network/create_ike_policy.rb +0 -53
  1316. data/lib/fog/openstack/requests/network/create_ipsec_policy.rb +0 -53
  1317. data/lib/fog/openstack/requests/network/create_ipsec_site_connection.rb +0 -66
  1318. data/lib/fog/openstack/requests/network/create_lb_health_monitor.rb +0 -54
  1319. data/lib/fog/openstack/requests/network/create_lb_member.rb +0 -51
  1320. data/lib/fog/openstack/requests/network/create_lb_pool.rb +0 -58
  1321. data/lib/fog/openstack/requests/network/create_lb_vip.rb +0 -58
  1322. data/lib/fog/openstack/requests/network/create_network.rb +0 -97
  1323. data/lib/fog/openstack/requests/network/create_port.rb +0 -53
  1324. data/lib/fog/openstack/requests/network/create_router.rb +0 -76
  1325. data/lib/fog/openstack/requests/network/create_security_group.rb +0 -94
  1326. data/lib/fog/openstack/requests/network/create_security_group_rule.rb +0 -79
  1327. data/lib/fog/openstack/requests/network/create_subnet.rb +0 -54
  1328. data/lib/fog/openstack/requests/network/delete_floating_ip.rb +0 -28
  1329. data/lib/fog/openstack/requests/network/delete_lb_health_monitor.rb +0 -28
  1330. data/lib/fog/openstack/requests/network/delete_lb_member.rb +0 -28
  1331. data/lib/fog/openstack/requests/network/delete_lb_pool.rb +0 -28
  1332. data/lib/fog/openstack/requests/network/delete_lb_vip.rb +0 -28
  1333. data/lib/fog/openstack/requests/network/delete_network.rb +0 -28
  1334. data/lib/fog/openstack/requests/network/delete_port.rb +0 -28
  1335. data/lib/fog/openstack/requests/network/delete_quota.rb +0 -23
  1336. data/lib/fog/openstack/requests/network/delete_router.rb +0 -28
  1337. data/lib/fog/openstack/requests/network/delete_security_group.rb +0 -32
  1338. data/lib/fog/openstack/requests/network/delete_security_group_rule.rb +0 -32
  1339. data/lib/fog/openstack/requests/network/delete_subnet.rb +0 -28
  1340. data/lib/fog/openstack/requests/network/disassociate_floating_ip.rb +0 -47
  1341. data/lib/fog/openstack/requests/network/disassociate_lb_health_monitor.rb +0 -29
  1342. data/lib/fog/openstack/requests/network/get_lb_health_monitor.rb +0 -28
  1343. data/lib/fog/openstack/requests/network/get_lb_member.rb +0 -28
  1344. data/lib/fog/openstack/requests/network/get_lb_pool.rb +0 -28
  1345. data/lib/fog/openstack/requests/network/get_lb_pool_stats.rb +0 -33
  1346. data/lib/fog/openstack/requests/network/get_lb_vip.rb +0 -28
  1347. data/lib/fog/openstack/requests/network/get_port.rb +0 -51
  1348. data/lib/fog/openstack/requests/network/get_quota.rb +0 -26
  1349. data/lib/fog/openstack/requests/network/get_quotas.rb +0 -26
  1350. data/lib/fog/openstack/requests/network/get_router.rb +0 -30
  1351. data/lib/fog/openstack/requests/network/get_security_group.rb +0 -52
  1352. data/lib/fog/openstack/requests/network/get_security_group_rule.rb +0 -47
  1353. data/lib/fog/openstack/requests/network/get_subnet.rb +0 -47
  1354. data/lib/fog/openstack/requests/network/list_floating_ips.rb +0 -25
  1355. data/lib/fog/openstack/requests/network/list_lb_health_monitors.rb +0 -25
  1356. data/lib/fog/openstack/requests/network/list_lb_members.rb +0 -25
  1357. data/lib/fog/openstack/requests/network/list_lb_pools.rb +0 -25
  1358. data/lib/fog/openstack/requests/network/list_lb_vips.rb +0 -25
  1359. data/lib/fog/openstack/requests/network/list_networks.rb +0 -25
  1360. data/lib/fog/openstack/requests/network/list_ports.rb +0 -25
  1361. data/lib/fog/openstack/requests/network/list_routers.rb +0 -25
  1362. data/lib/fog/openstack/requests/network/list_security_group_rules.rb +0 -48
  1363. data/lib/fog/openstack/requests/network/list_security_groups.rb +0 -53
  1364. data/lib/fog/openstack/requests/network/list_subnets.rb +0 -25
  1365. data/lib/fog/openstack/requests/network/remove_router_interface.rb +0 -34
  1366. data/lib/fog/openstack/requests/network/set_tenant.rb +0 -20
  1367. data/lib/fog/openstack/requests/network/update_ike_policy.rb +0 -49
  1368. data/lib/fog/openstack/requests/network/update_ipsec_policy.rb +0 -52
  1369. data/lib/fog/openstack/requests/network/update_ipsec_site_connection.rb +0 -64
  1370. data/lib/fog/openstack/requests/network/update_lb_health_monitor.rb +0 -43
  1371. data/lib/fog/openstack/requests/network/update_lb_member.rb +0 -39
  1372. data/lib/fog/openstack/requests/network/update_lb_pool.rb +0 -40
  1373. data/lib/fog/openstack/requests/network/update_lb_vip.rb +0 -42
  1374. data/lib/fog/openstack/requests/network/update_network.rb +0 -39
  1375. data/lib/fog/openstack/requests/network/update_port.rb +0 -44
  1376. data/lib/fog/openstack/requests/network/update_quota.rb +0 -27
  1377. data/lib/fog/openstack/requests/network/update_router.rb +0 -69
  1378. data/lib/fog/openstack/requests/network/update_subnet.rb +0 -43
  1379. data/lib/fog/openstack/requests/nfv/update_vnf.rb +0 -35
  1380. data/lib/fog/openstack/requests/orchestration/create_stack.rb +0 -75
  1381. data/lib/fog/openstack/requests/orchestration/delete_stack.rb +0 -58
  1382. data/lib/fog/openstack/requests/orchestration/list_events.rb +0 -46
  1383. data/lib/fog/openstack/requests/orchestration/list_resource_events.rb +0 -28
  1384. data/lib/fog/openstack/requests/orchestration/list_resource_types.rb +0 -27
  1385. data/lib/fog/openstack/requests/orchestration/list_resources.rb +0 -46
  1386. data/lib/fog/openstack/requests/orchestration/list_stack_data.rb +0 -27
  1387. data/lib/fog/openstack/requests/orchestration/list_stack_data_detailed.rb +0 -49
  1388. data/lib/fog/openstack/requests/orchestration/list_stack_events.rb +0 -27
  1389. data/lib/fog/openstack/requests/orchestration/patch_stack.rb +0 -37
  1390. data/lib/fog/openstack/requests/orchestration/preview_stack.rb +0 -16
  1391. data/lib/fog/openstack/requests/orchestration/show_event_details.rb +0 -26
  1392. data/lib/fog/openstack/requests/orchestration/show_resource_data.rb +0 -26
  1393. data/lib/fog/openstack/requests/orchestration/show_resource_metadata.rb +0 -26
  1394. data/lib/fog/openstack/requests/orchestration/show_stack_details.rb +0 -26
  1395. data/lib/fog/openstack/requests/orchestration/update_stack.rb +0 -66
  1396. data/lib/fog/openstack/requests/orchestration/validate_template.rb +0 -16
  1397. data/lib/fog/openstack/requests/planning/add_role_to_plan.rb +0 -40
  1398. data/lib/fog/openstack/requests/planning/create_plan.rb +0 -33
  1399. data/lib/fog/openstack/requests/planning/delete_plan.rb +0 -23
  1400. data/lib/fog/openstack/requests/planning/get_plan.rb +0 -58
  1401. data/lib/fog/openstack/requests/planning/get_plan_templates.rb +0 -28
  1402. data/lib/fog/openstack/requests/planning/list_plans.rb +0 -61
  1403. data/lib/fog/openstack/requests/planning/list_roles.rb +0 -32
  1404. data/lib/fog/openstack/requests/planning/patch_plan.rb +0 -51
  1405. data/lib/fog/openstack/requests/planning/remove_role_from_plan.rb +0 -32
  1406. data/lib/fog/openstack/requests/storage/copy_object.rb +0 -25
  1407. data/lib/fog/openstack/requests/storage/delete_container.rb +0 -20
  1408. data/lib/fog/openstack/requests/storage/delete_multiple_objects.rb +0 -65
  1409. data/lib/fog/openstack/requests/storage/delete_object.rb +0 -21
  1410. data/lib/fog/openstack/requests/storage/delete_static_large_object.rb +0 -41
  1411. data/lib/fog/openstack/requests/storage/get_container.rb +0 -42
  1412. data/lib/fog/openstack/requests/storage/get_containers.rb +0 -31
  1413. data/lib/fog/openstack/requests/storage/get_object.rb +0 -27
  1414. data/lib/fog/openstack/requests/storage/get_object_https_url.rb +0 -81
  1415. data/lib/fog/openstack/requests/storage/head_container.rb +0 -26
  1416. data/lib/fog/openstack/requests/storage/head_containers.rb +0 -23
  1417. data/lib/fog/openstack/requests/storage/head_object.rb +0 -21
  1418. data/lib/fog/openstack/requests/storage/post_set_meta_temp_url_key.rb +0 -33
  1419. data/lib/fog/openstack/requests/storage/public_url.rb +0 -28
  1420. data/lib/fog/openstack/requests/storage/put_container.rb +0 -24
  1421. data/lib/fog/openstack/requests/storage/put_dynamic_obj_manifest.rb +0 -41
  1422. data/lib/fog/openstack/requests/storage/put_object.rb +0 -41
  1423. data/lib/fog/openstack/requests/storage/put_static_obj_manifest.rb +0 -55
  1424. data/lib/fog/openstack/requests/volume/accept_transfer.rb +0 -22
  1425. data/lib/fog/openstack/requests/volume/create_transfer.rb +0 -25
  1426. data/lib/fog/openstack/requests/volume/create_volume.rb +0 -22
  1427. data/lib/fog/openstack/requests/volume/create_volume_type.rb +0 -41
  1428. data/lib/fog/openstack/requests/volume/delete_volume.rb +0 -23
  1429. data/lib/fog/openstack/requests/volume/delete_volume_type.rb +0 -23
  1430. data/lib/fog/openstack/requests/volume/extend_volume.rb +0 -25
  1431. data/lib/fog/openstack/requests/volume/get_quota.rb +0 -26
  1432. data/lib/fog/openstack/requests/volume/get_quota_defaults.rb +0 -26
  1433. data/lib/fog/openstack/requests/volume/get_quota_usage.rb +0 -44
  1434. data/lib/fog/openstack/requests/volume/get_snapshot_details.rb +0 -15
  1435. data/lib/fog/openstack/requests/volume/get_transfer_details.rb +0 -17
  1436. data/lib/fog/openstack/requests/volume/get_volume_details.rb +0 -16
  1437. data/lib/fog/openstack/requests/volume/get_volume_type_details.rb +0 -32
  1438. data/lib/fog/openstack/requests/volume/list_snapshots.rb +0 -41
  1439. data/lib/fog/openstack/requests/volume/list_snapshots_detailed.rb +0 -27
  1440. data/lib/fog/openstack/requests/volume/list_transfers_detailed.rb +0 -18
  1441. data/lib/fog/openstack/requests/volume/list_volume_types.rb +0 -41
  1442. data/lib/fog/openstack/requests/volume/list_volumes.rb +0 -30
  1443. data/lib/fog/openstack/requests/volume/list_volumes_detailed.rb +0 -16
  1444. data/lib/fog/openstack/requests/volume/list_zones.rb +0 -32
  1445. data/lib/fog/openstack/requests/volume/set_tenant.rb +0 -19
  1446. data/lib/fog/openstack/requests/volume/update_quota.rb +0 -28
  1447. data/lib/fog/openstack/requests/volume/update_volume_type.rb +0 -41
  1448. data/lib/fog/openstack/requests/volume_v1/accept_transfer.rb +0 -2
  1449. data/lib/fog/openstack/requests/volume_v1/action.rb +0 -2
  1450. data/lib/fog/openstack/requests/volume_v1/create_snapshot.rb +0 -45
  1451. data/lib/fog/openstack/requests/volume_v1/create_transfer.rb +0 -2
  1452. data/lib/fog/openstack/requests/volume_v1/create_volume.rb +0 -49
  1453. data/lib/fog/openstack/requests/volume_v1/create_volume_type.rb +0 -2
  1454. data/lib/fog/openstack/requests/volume_v1/delete_metadata.rb +0 -2
  1455. data/lib/fog/openstack/requests/volume_v1/delete_snapshot.rb +0 -2
  1456. data/lib/fog/openstack/requests/volume_v1/delete_snapshot_metadata.rb +0 -2
  1457. data/lib/fog/openstack/requests/volume_v1/delete_transfer.rb +0 -2
  1458. data/lib/fog/openstack/requests/volume_v1/delete_volume.rb +0 -2
  1459. data/lib/fog/openstack/requests/volume_v1/delete_volume_type.rb +0 -2
  1460. data/lib/fog/openstack/requests/volume_v1/extend_volume.rb +0 -2
  1461. data/lib/fog/openstack/requests/volume_v1/get_quota.rb +0 -2
  1462. data/lib/fog/openstack/requests/volume_v1/get_quota_defaults.rb +0 -2
  1463. data/lib/fog/openstack/requests/volume_v1/get_quota_usage.rb +0 -2
  1464. data/lib/fog/openstack/requests/volume_v1/get_snapshot_details.rb +0 -32
  1465. data/lib/fog/openstack/requests/volume_v1/get_transfer_details.rb +0 -2
  1466. data/lib/fog/openstack/requests/volume_v1/get_volume_details.rb +0 -35
  1467. data/lib/fog/openstack/requests/volume_v1/get_volume_type_details.rb +0 -2
  1468. data/lib/fog/openstack/requests/volume_v1/list_snapshots.rb +0 -2
  1469. data/lib/fog/openstack/requests/volume_v1/list_snapshots_detailed.rb +0 -2
  1470. data/lib/fog/openstack/requests/volume_v1/list_transfers.rb +0 -2
  1471. data/lib/fog/openstack/requests/volume_v1/list_transfers_detailed.rb +0 -2
  1472. data/lib/fog/openstack/requests/volume_v1/list_volume_types.rb +0 -2
  1473. data/lib/fog/openstack/requests/volume_v1/list_volumes.rb +0 -46
  1474. data/lib/fog/openstack/requests/volume_v1/list_volumes_detailed.rb +0 -46
  1475. data/lib/fog/openstack/requests/volume_v1/list_zones.rb +0 -2
  1476. data/lib/fog/openstack/requests/volume_v1/real.rb +0 -11
  1477. data/lib/fog/openstack/requests/volume_v1/real_mock.rb +0 -14
  1478. data/lib/fog/openstack/requests/volume_v1/replace_metadata.rb +0 -2
  1479. data/lib/fog/openstack/requests/volume_v1/set_tenant.rb +0 -2
  1480. data/lib/fog/openstack/requests/volume_v1/update_metadata.rb +0 -2
  1481. data/lib/fog/openstack/requests/volume_v1/update_quota.rb +0 -2
  1482. data/lib/fog/openstack/requests/volume_v1/update_snapshot.rb +0 -2
  1483. data/lib/fog/openstack/requests/volume_v1/update_snapshot_metadata.rb +0 -2
  1484. data/lib/fog/openstack/requests/volume_v1/update_volume.rb +0 -2
  1485. data/lib/fog/openstack/requests/volume_v2/accept_transfer.rb +0 -2
  1486. data/lib/fog/openstack/requests/volume_v2/action.rb +0 -2
  1487. data/lib/fog/openstack/requests/volume_v2/create_snapshot.rb +0 -45
  1488. data/lib/fog/openstack/requests/volume_v2/create_transfer.rb +0 -2
  1489. data/lib/fog/openstack/requests/volume_v2/create_volume.rb +0 -49
  1490. data/lib/fog/openstack/requests/volume_v2/create_volume_type.rb +0 -2
  1491. data/lib/fog/openstack/requests/volume_v2/delete_metadata.rb +0 -2
  1492. data/lib/fog/openstack/requests/volume_v2/delete_snapshot.rb +0 -2
  1493. data/lib/fog/openstack/requests/volume_v2/delete_snapshot_metadata.rb +0 -2
  1494. data/lib/fog/openstack/requests/volume_v2/delete_transfer.rb +0 -2
  1495. data/lib/fog/openstack/requests/volume_v2/delete_volume.rb +0 -2
  1496. data/lib/fog/openstack/requests/volume_v2/delete_volume_type.rb +0 -2
  1497. data/lib/fog/openstack/requests/volume_v2/extend_volume.rb +0 -2
  1498. data/lib/fog/openstack/requests/volume_v2/get_quota.rb +0 -2
  1499. data/lib/fog/openstack/requests/volume_v2/get_quota_defaults.rb +0 -2
  1500. data/lib/fog/openstack/requests/volume_v2/get_quota_usage.rb +0 -2
  1501. data/lib/fog/openstack/requests/volume_v2/get_snapshot_details.rb +0 -32
  1502. data/lib/fog/openstack/requests/volume_v2/get_transfer_details.rb +0 -2
  1503. data/lib/fog/openstack/requests/volume_v2/get_volume_details.rb +0 -35
  1504. data/lib/fog/openstack/requests/volume_v2/get_volume_type_details.rb +0 -2
  1505. data/lib/fog/openstack/requests/volume_v2/list_snapshots.rb +0 -2
  1506. data/lib/fog/openstack/requests/volume_v2/list_snapshots_detailed.rb +0 -2
  1507. data/lib/fog/openstack/requests/volume_v2/list_transfers.rb +0 -2
  1508. data/lib/fog/openstack/requests/volume_v2/list_transfers_detailed.rb +0 -2
  1509. data/lib/fog/openstack/requests/volume_v2/list_volume_types.rb +0 -2
  1510. data/lib/fog/openstack/requests/volume_v2/list_volumes.rb +0 -46
  1511. data/lib/fog/openstack/requests/volume_v2/list_volumes_detailed.rb +0 -46
  1512. data/lib/fog/openstack/requests/volume_v2/list_zones.rb +0 -2
  1513. data/lib/fog/openstack/requests/volume_v2/real.rb +0 -11
  1514. data/lib/fog/openstack/requests/volume_v2/real_mock.rb +0 -14
  1515. data/lib/fog/openstack/requests/volume_v2/replace_metadata.rb +0 -2
  1516. data/lib/fog/openstack/requests/volume_v2/set_tenant.rb +0 -2
  1517. data/lib/fog/openstack/requests/volume_v2/update_metadata.rb +0 -2
  1518. data/lib/fog/openstack/requests/volume_v2/update_quota.rb +0 -2
  1519. data/lib/fog/openstack/requests/volume_v2/update_snapshot.rb +0 -2
  1520. data/lib/fog/openstack/requests/volume_v2/update_snapshot_metadata.rb +0 -2
  1521. data/lib/fog/openstack/requests/volume_v2/update_volume.rb +0 -2
  1522. data/lib/fog/openstack/requests/volume_v2/update_volume_type.rb +0 -2
  1523. data/lib/fog/openstack/requests/workflow_v2/create_action_execution.rb +0 -31
  1524. data/lib/fog/openstack/requests/workflow_v2/create_cron_trigger.rb +0 -55
  1525. data/lib/fog/openstack/requests/workflow_v2/create_execution.rb +0 -30
  1526. data/lib/fog/openstack/requests/workflow_v2/get_action.rb +0 -27
  1527. data/lib/fog/openstack/requests/workflow_v2/get_environment.rb +0 -28
  1528. data/lib/fog/openstack/requests/workflow_v2/get_task.rb +0 -27
  1529. data/lib/fog/openstack/requests/workflow_v2/list_action_executions.rb +0 -28
  1530. data/lib/fog/openstack/requests/workflow_v2/list_actions.rb +0 -30
  1531. data/lib/fog/openstack/requests/workflow_v2/list_cron_triggers.rb +0 -28
  1532. data/lib/fog/openstack/requests/workflow_v2/list_environments.rb +0 -28
  1533. data/lib/fog/openstack/requests/workflow_v2/list_executions.rb +0 -28
  1534. data/lib/fog/openstack/requests/workflow_v2/list_services.rb +0 -28
  1535. data/lib/fog/openstack/requests/workflow_v2/list_tasks.rb +0 -28
  1536. data/lib/fog/openstack/requests/workflow_v2/list_workbooks.rb +0 -28
  1537. data/lib/fog/openstack/requests/workflow_v2/list_workflows.rb +0 -30
  1538. data/lib/fog/openstack/requests/workflow_v2/update_action_execution.rb +0 -33
  1539. data/lib/fog/openstack/requests/workflow_v2/update_execution.rb +0 -33
  1540. data/lib/fog/openstack/storage.rb +0 -150
  1541. data/lib/fog/openstack/volume.rb +0 -31
  1542. data/lib/fog/openstack/volume_v1.rb +0 -173
  1543. data/lib/fog/openstack/volume_v2.rb +0 -174
  1544. data/lib/fog/openstack/workflow_v2.rb +0 -160
@@ -1,22 +0,0 @@
1
- require 'fog/openstack/models/collection'
2
- require 'fog/openstack/models/compute/availability_zone'
3
-
4
- module Fog
5
- module Compute
6
- class OpenStack
7
- class AvailabilityZones < Fog::OpenStack::Collection
8
- model Fog::Compute::OpenStack::AvailabilityZone
9
-
10
- def all(options = {})
11
- data = service.list_zones_detailed(options)
12
- load_response(data, 'availabilityZoneInfo')
13
- end
14
-
15
- def summary(options = {})
16
- data = service.list_zones(options)
17
- load_response(data, 'availabilityZoneInfo')
18
- end
19
- end
20
- end
21
- end
22
- end
@@ -1,29 +0,0 @@
1
- require 'fog/openstack/models/collection'
2
- require 'fog/openstack/models/compute/flavor'
3
-
4
- module Fog
5
- module Compute
6
- class OpenStack
7
- class Flavors < Fog::OpenStack::Collection
8
- model Fog::Compute::OpenStack::Flavor
9
-
10
- def all(options = {})
11
- data = service.list_flavors_detail(options)
12
- load_response(data, 'flavors')
13
- end
14
-
15
- def summary(options = {})
16
- data = service.list_flavors(options)
17
- load_response(data, 'flavors')
18
- end
19
-
20
- def get(flavor_id)
21
- data = service.get_flavor_details(flavor_id).body['flavor']
22
- new(data)
23
- rescue Fog::Compute::OpenStack::NotFound
24
- nil
25
- end
26
- end
27
- end
28
- end
29
- end
@@ -1,28 +0,0 @@
1
- require 'fog/compute/models/server'
2
- require 'fog/openstack/models/compute/metadata'
3
-
4
- module Fog
5
- module Compute
6
- class OpenStack
7
- class Host < Fog::OpenStack::Model
8
- attribute :host_name
9
- attribute :service_name
10
- attribute :details
11
- attribute :zone
12
-
13
- def initialize(attributes)
14
- attributes["service_name"] = attributes.delete "service"
15
- # Old 'connection' is renamed as service and should be used instead
16
- prepare_service_value(attributes)
17
- super
18
- end
19
-
20
- def details
21
- service.get_host_details(self.host_name).body['host']
22
- rescue Fog::Compute::OpenStack::NotFound
23
- nil
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,28 +0,0 @@
1
- require 'fog/openstack/models/collection'
2
- require 'fog/openstack/models/compute/host'
3
-
4
- module Fog
5
- module Compute
6
- class OpenStack
7
- class Hosts < Fog::OpenStack::Collection
8
- model Fog::Compute::OpenStack::Host
9
-
10
- def all(options = {})
11
- data = service.list_hosts(options)
12
- load_response(data, 'hosts')
13
- end
14
-
15
- def get(host_name)
16
- if host = service.get_host_details(host_name).body['host']
17
- new({
18
- 'host_name' => host_name,
19
- 'details' => host}
20
- )
21
- end
22
- rescue Fog::Compute::OpenStack::NotFound
23
- nil
24
- end
25
- end
26
- end
27
- end
28
- end
@@ -1,48 +0,0 @@
1
- require 'fog/openstack/models/model'
2
- require 'fog/openstack/models/compute/metadata'
3
-
4
- module Fog
5
- module Compute
6
- class OpenStack
7
- class Image < Fog::OpenStack::Model
8
- identity :id
9
-
10
- attribute :name
11
- attribute :created_at, :aliases => 'created'
12
- attribute :updated_at, :aliases => 'updated'
13
- attribute :progress
14
- attribute :status
15
- attribute :minDisk
16
- attribute :minRam
17
- attribute :server, :aliases => 'server'
18
- attribute :metadata
19
- attribute :links
20
-
21
- def metadata
22
- @metadata ||= begin
23
- Fog::Compute::OpenStack::Metadata.new({
24
- :service => service,
25
- :parent => self
26
- })
27
- end
28
- end
29
-
30
- def metadata=(new_metadata={})
31
- metas = []
32
- new_metadata.each_pair {|k,v| metas << {"key" => k, "value" => v} }
33
- metadata.load(metas)
34
- end
35
-
36
- def destroy
37
- requires :id
38
- service.delete_image(id)
39
- true
40
- end
41
-
42
- def ready?
43
- status == 'ACTIVE'
44
- end
45
- end
46
- end
47
- end
48
- end
@@ -1,38 +0,0 @@
1
- require 'fog/openstack/models/collection'
2
- require 'fog/openstack/models/compute/image'
3
-
4
- module Fog
5
- module Compute
6
- class OpenStack
7
- class Images < Fog::OpenStack::Collection
8
- attribute :filters
9
-
10
- model Fog::Compute::OpenStack::Image
11
-
12
- attribute :server
13
-
14
- def initialize(attributes)
15
- self.filters ||= {}
16
- super
17
- end
18
-
19
- def all(filters_arg = filters)
20
- filters = filters_arg
21
- data = service.list_images_detail(filters)
22
- images = load_response(data, 'images')
23
- if server
24
- self.replace(self.select {|image| image.server_id == server.id})
25
- end
26
- images
27
- end
28
-
29
- def get(image_id)
30
- data = service.get_image_details(image_id).body['image']
31
- new(data)
32
- rescue Fog::Compute::OpenStack::NotFound
33
- nil
34
- end
35
- end
36
- end
37
- end
38
- end
@@ -1,56 +0,0 @@
1
- require 'fog/openstack/models/model'
2
-
3
- module Fog
4
- module Compute
5
- class OpenStack
6
- class KeyPair < Fog::OpenStack::Model
7
- identity :name
8
-
9
- attribute :fingerprint
10
- attribute :public_key
11
- attribute :private_key
12
- attribute :user_id
13
- attribute :id
14
-
15
- attr_accessor :public_key
16
-
17
- def destroy
18
- requires :name
19
-
20
- service.delete_key_pair(name)
21
- true
22
- end
23
-
24
- def save
25
- requires :name
26
-
27
- data = if public_key
28
- service.create_key_pair(name, public_key).body['keypair']
29
- else
30
- service.create_key_pair(name).body['keypair']
31
- end
32
- new_attributes = data.reject {|key,value| !['fingerprint', 'public_key', 'name', 'private_key', 'user_id'].include?(key)}
33
- merge_attributes(new_attributes)
34
- true
35
- end
36
-
37
- def write(path="#{ENV['HOME']}/.ssh/fog_#{Fog.credential.to_s}_#{name}.pem")
38
- if writable?
39
- split_private_key = private_key.split(/\n/)
40
- File.open(path, "w") do |f|
41
- split_private_key.each {|line| f.puts line}
42
- f.chmod 0600
43
- end
44
- "Key file built: #{path}"
45
- else
46
- "Invalid private key"
47
- end
48
- end
49
-
50
- def writable?
51
- !!(private_key && ENV.key?('HOME'))
52
- end
53
- end
54
- end
55
- end
56
- end
@@ -1,29 +0,0 @@
1
- require 'fog/openstack/models/collection'
2
- require 'fog/openstack/models/compute/key_pair'
3
-
4
- module Fog
5
- module Compute
6
- class OpenStack
7
- class KeyPairs < Fog::OpenStack::Collection
8
- model Fog::Compute::OpenStack::KeyPair
9
-
10
- def all(options = {})
11
- items = Array.new
12
- service.list_key_pairs(options).body['keypairs'].each do |kp|
13
- items = items + kp.values
14
- end
15
- # TODO convert to load_response?
16
- load(items)
17
- end
18
-
19
- def get(key_pair_name)
20
- if key_pair_name
21
- self.all.select {|kp| kp.name == key_pair_name}.first
22
- end
23
- rescue Fog::Compute::OpenStack::NotFound
24
- nil
25
- end
26
- end
27
- end
28
- end
29
- end
@@ -1,65 +0,0 @@
1
- require 'fog/openstack/models/collection'
2
- require 'fog/openstack/models/meta_parent'
3
- require 'fog/openstack/models/compute/metadatum'
4
- require 'fog/openstack/models/compute/image'
5
- require 'fog/openstack/models/compute/server'
6
-
7
- module Fog
8
- module Compute
9
- class OpenStack
10
- class Metadata < Fog::OpenStack::Collection
11
- model Fog::Compute::OpenStack::Metadatum
12
-
13
- include Fog::Compute::OpenStack::MetaParent
14
-
15
- def all
16
- requires :parent
17
- metadata = service.list_metadata(collection_name, @parent.id).body['metadata']
18
- metas = []
19
- metadata.each_pair {|k,v| metas << {"key" => k, "value" => v} } unless metadata.nil?
20
- # TODO convert to load_response?
21
- load(metas)
22
- end
23
-
24
- def get(key)
25
- requires :parent
26
- data = service.get_metadata(collection_name, @parent.id, key).body["meta"]
27
- metas = []
28
- data.each_pair {|k,v| metas << {"key" => k, "value" => v} }
29
- new(metas[0])
30
- rescue Fog::Compute::OpenStack::NotFound
31
- nil
32
- end
33
-
34
- def update(data=nil)
35
- requires :parent
36
- service.update_metadata(collection_name, @parent.id, to_hash(data))
37
- end
38
-
39
- def set(data=nil)
40
- requires :parent
41
- service.set_metadata(collection_name, @parent.id, to_hash(data))
42
- end
43
-
44
- def new(attributes = {})
45
- requires :parent
46
- super({ :parent => @parent }.merge!(attributes))
47
- end
48
-
49
- def to_hash(data=nil)
50
- if data.nil?
51
- data={}
52
- self.each do |meta|
53
- if meta.is_a?(Fog::Compute::OpenStack::Metadatum) then
54
- data.store(meta.key, meta.value)
55
- else
56
- data.store(meta["key"], meta["value"])
57
- end
58
- end
59
- end
60
- data
61
- end
62
- end
63
- end
64
- end
65
- end
@@ -1,30 +0,0 @@
1
- require 'fog/openstack/models/collection'
2
- require 'fog/openstack/models/compute/network'
3
-
4
- module Fog
5
- module Compute
6
- class OpenStack
7
- class Networks < Fog::OpenStack::Collection
8
- model Fog::Compute::OpenStack::Network
9
-
10
- attribute :server
11
-
12
- def all
13
- requires :server
14
-
15
- networks = Array.new
16
- server.addresses.each_with_index do |address, index|
17
- networks << {
18
- :id => index + 1,
19
- :name => address[0],
20
- :addresses => address[1].map {|a| a['addr'] }
21
- }
22
- end
23
-
24
- # TODO convert to load_response?
25
- load(networks)
26
- end
27
- end # class Networks
28
- end # class OpenStack
29
- end # module Compute
30
- end # module Fog
@@ -1,21 +0,0 @@
1
- require 'fog/openstack/models/collection'
2
- require 'fog/openstack/models/compute/security_group_rule'
3
-
4
- module Fog
5
- module Compute
6
- class OpenStack
7
- class SecurityGroupRules < Fog::OpenStack::Collection
8
- model Fog::Compute::OpenStack::SecurityGroupRule
9
-
10
- def get(security_group_rule_id)
11
- if security_group_rule_id
12
- body = service.get_security_group_rule(security_group_rule_id).body
13
- new(body['security_group_rule'])
14
- end
15
- rescue Fog::Compute::OpenStack::NotFound
16
- nil
17
- end
18
- end
19
- end
20
- end
21
- end
@@ -1,24 +0,0 @@
1
- require 'fog/openstack/models/collection'
2
- require 'fog/openstack/models/compute/security_group'
3
-
4
- module Fog
5
- module Compute
6
- class OpenStack
7
- class SecurityGroups < Fog::OpenStack::Collection
8
- model Fog::Compute::OpenStack::SecurityGroup
9
-
10
- def all(options = {})
11
- load_response(service.list_security_groups(options), 'security_groups')
12
- end
13
-
14
- def get(security_group_id)
15
- if security_group_id
16
- new(service.get_security_group(security_group_id).body['security_group'])
17
- end
18
- rescue Fog::Compute::OpenStack::NotFound
19
- nil
20
- end
21
- end
22
- end
23
- end
24
- end
@@ -1,397 +0,0 @@
1
- require 'fog/compute/models/server'
2
- require 'fog/openstack/models/compute/metadata'
3
-
4
- module Fog
5
- module Compute
6
- class OpenStack
7
- class Server < Fog::Compute::Server
8
- identity :id
9
- attribute :instance_name, :aliases => 'OS-EXT-SRV-ATTR:instance_name'
10
-
11
- attribute :addresses
12
- attribute :flavor
13
- attribute :host_id, :aliases => 'hostId'
14
- attribute :image
15
- attribute :metadata
16
- attribute :links
17
- attribute :name
18
-
19
- # @!attribute [rw] personality
20
- # @note This attribute is only used for server creation. This field will be nil on subsequent retrievals.
21
- # @return [Hash] Hash containing data to inject into the file system of the cloud server instance during
22
- # server creation.
23
- # @example To inject fog.txt into file system
24
- # :personality => [{ :path => '/root/fog.txt',
25
- # :contents => Base64.encode64('Fog was here!')
26
- # }]
27
- # @see #create
28
- # @see http://docs.openstack.org/api/openstack-compute/2/content/Server_Personality-d1e2543.html
29
- attribute :personality
30
- attribute :progress
31
- attribute :accessIPv4
32
- attribute :accessIPv6
33
- attribute :availability_zone, :aliases => 'OS-EXT-AZ:availability_zone'
34
- attribute :user_data_encoded
35
- attribute :state, :aliases => 'status'
36
- attribute :created, :type => :time
37
- attribute :updated, :type => :time
38
-
39
- attribute :tenant_id
40
- attribute :user_id
41
- attribute :key_name
42
- attribute :fault
43
- attribute :config_drive
44
- attribute :os_dcf_disk_config, :aliases => 'OS-DCF:diskConfig'
45
- attribute :os_ext_srv_attr_host, :aliases => 'OS-EXT-SRV-ATTR:host'
46
- attribute :os_ext_srv_attr_hypervisor_hostname, :aliases => 'OS-EXT-SRV-ATTR:hypervisor_hostname'
47
- attribute :os_ext_srv_attr_instance_name, :aliases => 'OS-EXT-SRV-ATTR:instance_name'
48
- attribute :os_ext_sts_power_state, :aliases => 'OS-EXT-STS:power_state'
49
- attribute :os_ext_sts_task_state, :aliases => 'OS-EXT-STS:task_state'
50
- attribute :os_ext_sts_vm_state, :aliases => 'OS-EXT-STS:vm_state'
51
-
52
- attr_reader :password
53
- attr_writer :image_ref, :flavor_ref, :nics, :os_scheduler_hints
54
- attr_accessor :block_device_mapping, :block_device_mapping_v2
55
-
56
- # In some cases it's handy to be able to store the project for the record, e.g. swift doesn't contain project
57
- # info in the result, so we can track it in this attribute based on what project was used in the request
58
- attr_accessor :project
59
-
60
- def initialize(attributes = {})
61
- # Old 'connection' is renamed as service and should be used instead
62
- prepare_service_value(attributes)
63
-
64
- self.security_groups = attributes.delete(:security_groups)
65
- self.min_count = attributes.delete(:min_count)
66
- self.max_count = attributes.delete(:max_count)
67
- self.nics = attributes.delete(:nics)
68
- self.os_scheduler_hints = attributes.delete(:os_scheduler_hints)
69
- self.block_device_mapping = attributes.delete(:block_device_mapping)
70
- self.block_device_mapping_v2 = attributes.delete(:block_device_mapping_v2)
71
-
72
- super
73
- end
74
-
75
- def metadata
76
- @metadata ||= begin
77
- Fog::Compute::OpenStack::Metadata.new(:service => service,
78
- :parent => self)
79
- end
80
- end
81
-
82
- def metadata=(new_metadata = {})
83
- return unless new_metadata
84
- metas = []
85
- new_metadata.each_pair { |k, v| metas << {"key" => k, "value" => v} }
86
- @metadata = metadata.load(metas)
87
- end
88
-
89
- def user_data=(ascii_userdata)
90
- self.user_data_encoded = [ascii_userdata].pack('m') if ascii_userdata
91
- end
92
-
93
- def destroy
94
- requires :id
95
- service.delete_server(id)
96
- true
97
- end
98
-
99
- def images
100
- requires :id
101
- service.images(:server => self)
102
- end
103
-
104
- def all_addresses
105
- # currently openstack API does not tell us what is a floating ip vs a fixed ip for the vm listing,
106
- # we fall back to get all addresses and filter sadly.
107
- # Only includes manually-assigned addresses, not auto-assigned
108
- @all_addresses ||= service.list_all_addresses.body["floating_ips"].select { |data| data['instance_id'] == id }
109
- end
110
-
111
- def reload
112
- @all_addresses = nil
113
- super
114
- end
115
-
116
- # returns all ip_addresses for a given instance
117
- # this includes both the fixed ip(s) and the floating ip(s)
118
- def ip_addresses
119
- addresses ? addresses.values.flatten.collect { |x| x['addr'] } : []
120
- end
121
-
122
- def floating_ip_addresses
123
- all_floating = if addresses
124
- flattened_values = addresses.values.flatten
125
- flattened_values.select { |d| d["OS-EXT-IPS:type"] == "floating" }.collect { |a| a["addr"] }
126
- else
127
- []
128
- end
129
-
130
- # Return them all, leading with manually assigned addresses
131
- manual = all_addresses.collect { |addr| addr["ip"] }
132
-
133
- all_floating.sort do |a, b|
134
- a_manual = manual.include? a
135
- b_manual = manual.include? b
136
-
137
- if a_manual && !b_manual
138
- -1
139
- elsif !a_manual && b_manual
140
- 1
141
- else
142
- 0
143
- end
144
- end
145
- all_floating.empty? ? manual : all_floating
146
- end
147
-
148
- def public_ip_addresses
149
- if floating_ip_addresses.empty?
150
- addresses.select { |s| s[0] =~ /public/i }.collect { |a| a[1][0]['addr'] }
151
- else
152
- floating_ip_addresses
153
- end
154
- end
155
-
156
- def floating_ip_address
157
- floating_ip_addresses.first
158
- end
159
-
160
- def public_ip_address
161
- public_ip_addresses.first
162
- end
163
-
164
- def private_ip_addresses
165
- rfc1918_regexp = /(^10\.|^172\.1[6-9]\.|^172\.2[0-9]\.|^172.3[0-1]\.|^192\.168\.)/
166
- almost_private = ip_addresses - public_ip_addresses - floating_ip_addresses
167
- almost_private.select { |ip| rfc1918_regexp.match ip }
168
- end
169
-
170
- def private_ip_address
171
- private_ip_addresses.first
172
- end
173
-
174
- attr_reader :image_ref
175
-
176
- attr_writer :image_ref
177
-
178
- attr_reader :flavor_ref
179
-
180
- attr_writer :flavor_ref
181
-
182
- def ready?
183
- state == 'ACTIVE'
184
- end
185
-
186
- def failed?
187
- state == 'ERROR'
188
- end
189
-
190
- def change_password(admin_password)
191
- requires :id
192
- service.change_server_password(id, admin_password)
193
- true
194
- end
195
-
196
- def rebuild(image_ref, name, admin_pass = nil, metadata = nil, personality = nil)
197
- requires :id
198
- service.rebuild_server(id, image_ref, name, admin_pass, metadata, personality)
199
- true
200
- end
201
-
202
- def resize(flavor_ref)
203
- requires :id
204
- service.resize_server(id, flavor_ref)
205
- true
206
- end
207
-
208
- def revert_resize
209
- requires :id
210
- service.revert_resize_server(id)
211
- true
212
- end
213
-
214
- def confirm_resize
215
- requires :id
216
- service.confirm_resize_server(id)
217
- true
218
- end
219
-
220
- def security_groups
221
- requires :id
222
-
223
- groups = service.list_security_groups(:server_id => id).body['security_groups']
224
-
225
- groups.map do |group|
226
- Fog::Compute::OpenStack::SecurityGroup.new group.merge(:service => service)
227
- end
228
- end
229
-
230
- attr_writer :security_groups
231
-
232
- def reboot(type = 'SOFT')
233
- requires :id
234
- service.reboot_server(id, type)
235
- true
236
- end
237
-
238
- def stop
239
- requires :id
240
- service.stop_server(id)
241
- end
242
-
243
- def pause
244
- requires :id
245
- service.pause_server(id)
246
- end
247
-
248
- def suspend
249
- requires :id
250
- service.suspend_server(id)
251
- end
252
-
253
- def start
254
- requires :id
255
-
256
- case state.downcase
257
- when 'paused'
258
- service.unpause_server(id)
259
- when 'suspended'
260
- service.resume_server(id)
261
- else
262
- service.start_server(id)
263
- end
264
- end
265
-
266
- def shelve
267
- requires :id
268
- service.shelve_server(id)
269
- end
270
-
271
- def unshelve
272
- requires :id
273
- service.unshelve_server(id)
274
- end
275
-
276
- def shelve_offload
277
- requires :id
278
- service.shelve_offload_server(id)
279
- end
280
-
281
- def create_image(name, metadata = {})
282
- requires :id
283
- service.create_image(id, name, metadata)
284
- end
285
-
286
- def console(log_length = nil)
287
- requires :id
288
- service.get_console_output(id, log_length)
289
- end
290
-
291
- def migrate
292
- requires :id
293
- service.migrate_server(id)
294
- end
295
-
296
- def live_migrate(host, block_migration, disk_over_commit)
297
- requires :id
298
- service.live_migrate_server(id, host, block_migration, disk_over_commit)
299
- end
300
-
301
- def evacuate(host = nil, on_shared_storage = nil, admin_password = nil)
302
- requires :id
303
- service.evacuate_server(id, host, on_shared_storage, admin_password)
304
- end
305
-
306
- def associate_address(floating_ip)
307
- requires :id
308
- service.associate_address id, floating_ip
309
- end
310
-
311
- def disassociate_address(floating_ip)
312
- requires :id
313
- service.disassociate_address id, floating_ip
314
- end
315
-
316
- def reset_vm_state(vm_state)
317
- requires :id
318
- service.reset_server_state id, vm_state
319
- end
320
-
321
- attr_writer :min_count
322
-
323
- attr_writer :max_count
324
-
325
- def networks
326
- service.networks(:server => self)
327
- end
328
-
329
- def volumes
330
- requires :id
331
- service.volumes.select do |vol|
332
- vol.attachments.find { |attachment| attachment["serverId"] == id }
333
- end
334
- end
335
-
336
- def volume_attachments
337
- requires :id
338
- service.get_server_volumes(id).body['volumeAttachments']
339
- end
340
-
341
- def attach_volume(volume_id, device_name)
342
- requires :id
343
- service.attach_volume(volume_id, id, device_name)
344
- true
345
- end
346
-
347
- def detach_volume(volume_id)
348
- requires :id
349
- service.detach_volume(id, volume_id)
350
- true
351
- end
352
-
353
- def save
354
- raise Fog::Errors::Error, 'Resaving an existing object may create a duplicate' if persisted?
355
- requires :flavor_ref, :name
356
- requires_one :image_ref, :block_device_mapping, :block_device_mapping_v2
357
- options = {
358
- 'personality' => personality,
359
- 'accessIPv4' => accessIPv4,
360
- 'accessIPv6' => accessIPv6,
361
- 'availability_zone' => availability_zone,
362
- 'user_data' => user_data_encoded,
363
- 'key_name' => key_name,
364
- 'config_drive' => config_drive,
365
- 'security_groups' => @security_groups,
366
- 'min_count' => @min_count,
367
- 'max_count' => @max_count,
368
- 'nics' => @nics,
369
- 'os:scheduler_hints' => @os_scheduler_hints,
370
- 'block_device_mapping' => @block_device_mapping,
371
- 'block_device_mapping_v2' => @block_device_mapping_v2,
372
- }
373
- options['metadata'] = metadata.to_hash unless @metadata.nil?
374
- options = options.reject { |_key, value| value.nil? }
375
- data = service.create_server(name, image_ref, flavor_ref, options)
376
- merge_attributes(data.body['server'])
377
- true
378
- end
379
-
380
- def setup(credentials = {})
381
- requires :ssh_ip_address, :identity, :public_key, :username
382
- ssh = Fog::SSH.new(ssh_ip_address, username, credentials)
383
- ssh.run([
384
- %(mkdir .ssh),
385
- %(echo "#{public_key}" >> ~/.ssh/authorized_keys),
386
- %(passwd -l #{username}),
387
- %(echo "#{Fog::JSON.encode(attributes)}" >> ~/attributes.json),
388
- %(echo "#{Fog::JSON.encode(metadata)}" >> ~/metadata.json)
389
- ])
390
- rescue Errno::ECONNREFUSED
391
- sleep(1)
392
- retry
393
- end
394
- end
395
- end
396
- end
397
- end