fog 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (282) hide show
  1. data/.gitignore +1 -0
  2. data/README.md +1 -0
  3. data/Rakefile +2 -1
  4. data/changelog.txt +184 -0
  5. data/docs/cdn/index.markdown +69 -3
  6. data/fog.gemspec +2 -2
  7. data/lib/fog.rb +2 -1
  8. data/lib/fog/atmos/models/storage/file.rb +16 -14
  9. data/lib/fog/aws/auto_scaling.rb +55 -13
  10. data/lib/fog/aws/cdn.rb +69 -9
  11. data/lib/fog/aws/cloud_watch.rb +15 -1
  12. data/lib/fog/aws/compute.rb +2 -0
  13. data/lib/fog/aws/models/auto_scaling/group.rb +10 -4
  14. data/lib/fog/aws/models/cdn/distribution.rb +93 -0
  15. data/lib/fog/aws/models/cdn/distribution_helper.rb +64 -0
  16. data/lib/fog/aws/models/cdn/distributions.rb +32 -0
  17. data/lib/fog/aws/models/cdn/distributions_helper.rb +47 -0
  18. data/lib/fog/aws/models/cdn/invalidation.rb +64 -0
  19. data/lib/fog/aws/models/cdn/invalidations.rb +54 -0
  20. data/lib/fog/aws/models/cdn/streaming_distribution.rb +77 -0
  21. data/lib/fog/aws/models/cdn/streaming_distributions.rb +32 -0
  22. data/lib/fog/aws/models/compute/server.rb +0 -23
  23. data/lib/fog/aws/models/compute/spot_request.rb +2 -24
  24. data/lib/fog/aws/models/rds/server.rb +18 -0
  25. data/lib/fog/aws/models/rds/subnet_group.rb +20 -0
  26. data/lib/fog/aws/models/rds/subnet_groups.rb +27 -0
  27. data/lib/fog/aws/models/storage/file.rb +1 -1
  28. data/lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb +15 -2
  29. data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_groups.rb +39 -13
  30. data/lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_notification_types.rb +43 -0
  31. data/lib/fog/aws/parsers/auto_scaling/describe_metric_collection_types.rb +3 -3
  32. data/lib/fog/aws/parsers/auto_scaling/describe_notification_configurations.rb +42 -0
  33. data/lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb +15 -2
  34. data/lib/fog/aws/parsers/auto_scaling/describe_tags.rb +46 -0
  35. data/lib/fog/aws/parsers/auto_scaling/describe_termination_policy_types.rb +44 -0
  36. data/lib/fog/aws/parsers/cdn/get_invalidation.rb +32 -0
  37. data/lib/fog/aws/parsers/cloud_formation/describe_stacks.rb +1 -1
  38. data/lib/fog/aws/parsers/cloud_watch/list_metrics.rb +1 -1
  39. data/lib/fog/aws/parsers/compute/describe_availability_zones.rb +13 -2
  40. data/lib/fog/aws/parsers/compute/describe_reserved_instances.rb +1 -1
  41. data/lib/fog/aws/parsers/elasticache/base.rb +0 -2
  42. data/lib/fog/aws/parsers/elasticache/engine_defaults_parser.rb +1 -1
  43. data/lib/fog/aws/parsers/elasticache/event_list.rb +2 -0
  44. data/lib/fog/aws/parsers/rds/base.rb +32 -0
  45. data/lib/fog/aws/parsers/rds/create_db_subnet_group.rb +38 -0
  46. data/lib/fog/aws/parsers/rds/describe_db_subnet_groups.rb +38 -0
  47. data/lib/fog/aws/parsers/rds/event_list.rb +40 -0
  48. data/lib/fog/aws/parsers/rds/subnet_group_parser.rb +38 -0
  49. data/lib/fog/aws/parsers/rds/tag_list_parser.rb +35 -0
  50. data/lib/fog/aws/rds.rb +24 -7
  51. data/lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb +36 -16
  52. data/lib/fog/aws/requests/auto_scaling/create_launch_configuration.rb +19 -12
  53. data/lib/fog/aws/requests/auto_scaling/create_or_update_tags.rb +63 -0
  54. data/lib/fog/aws/requests/auto_scaling/delete_auto_scaling_group.rb +10 -3
  55. data/lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb +21 -5
  56. data/lib/fog/aws/requests/auto_scaling/delete_policy.rb +2 -2
  57. data/lib/fog/aws/requests/auto_scaling/delete_tags.rb +63 -0
  58. data/lib/fog/aws/requests/auto_scaling/describe_adjustment_types.rb +4 -3
  59. data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_groups.rb +17 -13
  60. data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_instances.rb +1 -1
  61. data/lib/fog/aws/requests/auto_scaling/describe_auto_scaling_notification_types.rb +55 -0
  62. data/lib/fog/aws/requests/auto_scaling/describe_metric_collection_types.rb +6 -5
  63. data/lib/fog/aws/requests/auto_scaling/describe_notification_configurations.rb +79 -0
  64. data/lib/fog/aws/requests/auto_scaling/describe_policies.rb +1 -1
  65. data/lib/fog/aws/requests/auto_scaling/describe_scaling_process_types.rb +4 -3
  66. data/lib/fog/aws/requests/auto_scaling/describe_tags.rb +74 -0
  67. data/lib/fog/aws/requests/auto_scaling/describe_termination_policy_types.rb +53 -0
  68. data/lib/fog/aws/requests/auto_scaling/disable_metrics_collection.rb +1 -1
  69. data/lib/fog/aws/requests/auto_scaling/enable_metrics_collection.rb +2 -2
  70. data/lib/fog/aws/requests/auto_scaling/put_notification_configuration.rb +30 -11
  71. data/lib/fog/aws/requests/auto_scaling/put_scaling_policy.rb +4 -4
  72. data/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb +8 -5
  73. data/lib/fog/aws/requests/auto_scaling/set_desired_capacity.rb +2 -2
  74. data/lib/fog/aws/requests/auto_scaling/set_instance_health.rb +2 -2
  75. data/lib/fog/aws/requests/auto_scaling/suspend_processes.rb +1 -1
  76. data/lib/fog/aws/requests/auto_scaling/update_auto_scaling_group.rb +30 -18
  77. data/lib/fog/aws/requests/cdn/delete_distribution.rb +31 -0
  78. data/lib/fog/aws/requests/cdn/delete_streaming_distribution.rb +30 -0
  79. data/lib/fog/aws/requests/cdn/get_distribution.rb +28 -0
  80. data/lib/fog/aws/requests/cdn/get_distribution_list.rb +29 -0
  81. data/lib/fog/aws/requests/cdn/get_invalidation.rb +60 -0
  82. data/lib/fog/aws/requests/cdn/get_invalidation_list.rb +41 -0
  83. data/lib/fog/aws/requests/cdn/get_streaming_distribution.rb +26 -0
  84. data/lib/fog/aws/requests/cdn/get_streaming_distribution_list.rb +30 -0
  85. data/lib/fog/aws/requests/cdn/post_distribution.rb +44 -0
  86. data/lib/fog/aws/requests/cdn/post_invalidation.rb +33 -0
  87. data/lib/fog/aws/requests/cdn/post_streaming_distribution.rb +44 -0
  88. data/lib/fog/aws/requests/cdn/put_distribution_config.rb +28 -0
  89. data/lib/fog/aws/requests/cdn/put_streaming_distribution_config.rb +28 -0
  90. data/lib/fog/aws/requests/compute/create_image.rb +32 -5
  91. data/lib/fog/aws/requests/compute/create_subnet.rb +3 -3
  92. data/lib/fog/aws/requests/compute/create_volume.rb +2 -2
  93. data/lib/fog/aws/requests/compute/register_image.rb +1 -1
  94. data/lib/fog/aws/requests/elasticache/describe_events.rb +7 -4
  95. data/lib/fog/aws/requests/glacier/create_archive.rb +1 -1
  96. data/lib/fog/aws/requests/glacier/initiate_multipart_upload.rb +1 -1
  97. data/lib/fog/aws/requests/rds/add_tags_to_resource.rb +46 -0
  98. data/lib/fog/aws/requests/rds/create_db_instance.rb +2 -0
  99. data/lib/fog/aws/requests/rds/create_db_subnet_group.rb +58 -0
  100. data/lib/fog/aws/requests/rds/describe_db_subnet_groups.rb +63 -0
  101. data/lib/fog/aws/requests/rds/describe_events.rb +52 -0
  102. data/lib/fog/aws/requests/rds/list_tags_for_resource.rb +44 -0
  103. data/lib/fog/aws/requests/rds/remove_tags_from_resource.rb +44 -0
  104. data/lib/fog/aws/sqs.rb +1 -1
  105. data/lib/fog/aws/storage.rb +1 -1
  106. data/lib/fog/bin/openstack.rb +5 -0
  107. data/lib/fog/bluebox/models/compute/server.rb +0 -19
  108. data/lib/fog/bluebox/requests/compute/create_block.rb +8 -8
  109. data/lib/fog/brightbox/compute.rb +56 -7
  110. data/lib/fog/brightbox/models/compute/accounts.rb +29 -0
  111. data/lib/fog/brightbox/models/compute/api_client.rb +37 -0
  112. data/lib/fog/brightbox/models/compute/api_clients.rb +24 -0
  113. data/lib/fog/brightbox/models/compute/application.rb +27 -0
  114. data/lib/fog/brightbox/models/compute/applications.rb +28 -0
  115. data/lib/fog/brightbox/models/compute/server.rb +3 -1
  116. data/lib/fog/brightbox/models/compute/users.rb +1 -3
  117. data/lib/fog/brightbox/requests/compute/create_application.rb +13 -0
  118. data/lib/fog/brightbox/requests/compute/create_cloud_ip.rb +2 -2
  119. data/lib/fog/brightbox/requests/compute/destroy_application.rb +14 -0
  120. data/lib/fog/brightbox/requests/compute/get_account.rb +28 -4
  121. data/lib/fog/brightbox/requests/compute/get_application.rb +14 -0
  122. data/lib/fog/brightbox/requests/compute/get_authenticated_user.rb +19 -0
  123. data/lib/fog/brightbox/requests/compute/get_scoped_account.rb +19 -0
  124. data/lib/fog/brightbox/requests/compute/get_user.rb +28 -5
  125. data/lib/fog/brightbox/requests/compute/list_accounts.rb +13 -0
  126. data/lib/fog/brightbox/requests/compute/list_applications.rb +13 -0
  127. data/lib/fog/brightbox/requests/compute/reset_secret_application.rb +14 -0
  128. data/lib/fog/brightbox/requests/compute/update_account.rb +51 -3
  129. data/lib/fog/brightbox/requests/compute/update_application.rb +15 -0
  130. data/lib/fog/brightbox/requests/compute/update_firewall_rule.rb +4 -2
  131. data/lib/fog/brightbox/requests/compute/update_scoped_account.rb +37 -0
  132. data/lib/fog/clodo/models/compute/server.rb +7 -44
  133. data/lib/fog/compute/models/server.rb +23 -2
  134. data/lib/fog/core/time.rb +2 -0
  135. data/lib/fog/core/wait_for.rb +0 -2
  136. data/lib/fog/ecloud/models/compute/servers.rb +3 -1
  137. data/lib/fog/ecloud/requests/compute/get_servers.rb +1 -1
  138. data/lib/fog/ecloud/requests/compute/get_tasks.rb +1 -1
  139. data/lib/fog/go_grid/models/compute/server.rb +0 -4
  140. data/lib/fog/google/storage.rb +1 -1
  141. data/lib/fog/hp/models/compute/server.rb +1 -23
  142. data/lib/fog/hp/storage.rb +0 -1
  143. data/lib/fog/joyent/models/compute/server.rb +4 -0
  144. data/lib/fog/joyent/models/compute/servers.rb +4 -3
  145. data/lib/fog/libvirt/models/compute/server.rb +1 -27
  146. data/lib/fog/linode/models/compute/server.rb +0 -1
  147. data/lib/fog/local/models/storage/directory.rb +1 -1
  148. data/lib/fog/network.rb +26 -0
  149. data/lib/fog/ninefold/compute.rb +8 -0
  150. data/lib/fog/ninefold/requests/compute/assign_to_load_balancer_rule.rb +13 -0
  151. data/lib/fog/ninefold/requests/compute/create_load_balancer_rule.rb +11 -0
  152. data/lib/fog/ninefold/requests/compute/delete_load_balancer_rule.rb +11 -0
  153. data/lib/fog/ninefold/requests/compute/list_load_balancer_rule_instances.rb +15 -0
  154. data/lib/fog/ninefold/requests/compute/list_load_balancer_rules.rb +14 -0
  155. data/lib/fog/ninefold/requests/compute/remove_from_load_balancer_rule.rb +12 -0
  156. data/lib/fog/ninefold/requests/compute/update_load_balancer_rule.rb +15 -0
  157. data/lib/fog/ninefold/storage.rb +14 -112
  158. data/lib/fog/openstack.rb +4 -1
  159. data/lib/fog/openstack/compute.rb +20 -1
  160. data/lib/fog/openstack/identity.rb +67 -18
  161. data/lib/fog/openstack/image.rb +12 -4
  162. data/lib/fog/openstack/models/compute/security_group.rb +1 -1
  163. data/lib/fog/openstack/models/compute/server.rb +5 -23
  164. data/lib/fog/openstack/models/identity/tenants.rb +5 -3
  165. data/lib/fog/openstack/models/identity/users.rb +4 -1
  166. data/lib/fog/openstack/models/image/image.rb +6 -1
  167. data/lib/fog/openstack/models/network/network.rb +46 -0
  168. data/lib/fog/openstack/models/network/networks.rb +34 -0
  169. data/lib/fog/openstack/models/network/port.rb +52 -0
  170. data/lib/fog/openstack/models/network/ports.rb +34 -0
  171. data/lib/fog/openstack/models/network/subnet.rb +55 -0
  172. data/lib/fog/openstack/models/network/subnets.rb +34 -0
  173. data/lib/fog/openstack/network.rb +234 -0
  174. data/lib/fog/openstack/requests/compute/attach_volume.rb +10 -0
  175. data/lib/fog/openstack/requests/compute/create_security_group.rb +15 -11
  176. data/lib/fog/openstack/requests/compute/create_security_group_rule.rb +17 -15
  177. data/lib/fog/openstack/requests/compute/create_server.rb +7 -1
  178. data/lib/fog/openstack/requests/compute/create_volume.rb +10 -10
  179. data/lib/fog/openstack/requests/compute/create_volume_snapshot.rb +16 -1
  180. data/lib/fog/openstack/requests/compute/detach_volume.rb +5 -0
  181. data/lib/fog/openstack/requests/compute/get_snapshot_details.rb +4 -4
  182. data/lib/fog/openstack/requests/compute/get_volume_details.rb +9 -9
  183. data/lib/fog/openstack/requests/compute/list_security_groups.rb +3 -3
  184. data/lib/fog/openstack/requests/compute/list_volumes.rb +14 -14
  185. data/lib/fog/openstack/requests/identity/create_tenant.rb +3 -3
  186. data/lib/fog/openstack/requests/identity/create_user.rb +1 -1
  187. data/lib/fog/openstack/requests/identity/delete_role.rb +1 -1
  188. data/lib/fog/openstack/requests/identity/get_tenant.rb +1 -1
  189. data/lib/fog/openstack/requests/identity/list_roles.rb +7 -0
  190. data/lib/fog/openstack/requests/image/create_image.rb +36 -38
  191. data/lib/fog/openstack/requests/image/delete_image.rb +0 -2
  192. data/lib/fog/openstack/requests/image/list_public_images.rb +7 -25
  193. data/lib/fog/openstack/requests/image/list_public_images_detailed.rb +2 -41
  194. data/lib/fog/openstack/requests/image/update_image.rb +26 -21
  195. data/lib/fog/openstack/requests/image/update_image_members.rb +37 -0
  196. data/lib/fog/openstack/requests/network/create_network.rb +44 -0
  197. data/lib/fog/openstack/requests/network/create_port.rb +52 -0
  198. data/lib/fog/openstack/requests/network/create_subnet.rb +56 -0
  199. data/lib/fog/openstack/requests/network/delete_network.rb +30 -0
  200. data/lib/fog/openstack/requests/network/delete_port.rb +30 -0
  201. data/lib/fog/openstack/requests/network/delete_subnet.rb +30 -0
  202. data/lib/fog/openstack/requests/network/get_network.rb +42 -0
  203. data/lib/fog/openstack/requests/network/get_port.rb +48 -0
  204. data/lib/fog/openstack/requests/network/get_subnet.rb +49 -0
  205. data/lib/fog/openstack/requests/network/list_networks.rb +27 -0
  206. data/lib/fog/openstack/requests/network/list_ports.rb +27 -0
  207. data/lib/fog/openstack/requests/network/list_subnets.rb +27 -0
  208. data/lib/fog/openstack/requests/network/set_tenant.rb +21 -0
  209. data/lib/fog/openstack/requests/network/update_network.rb +41 -0
  210. data/lib/fog/openstack/requests/network/update_port.rb +44 -0
  211. data/lib/fog/openstack/requests/network/update_subnet.rb +44 -0
  212. data/lib/fog/openstack/requests/volume/create_volume.rb +10 -10
  213. data/lib/fog/openstack/requests/volume/create_volume_snapshot.rb +16 -1
  214. data/lib/fog/openstack/requests/volume/get_snapshot_details.rb +6 -6
  215. data/lib/fog/openstack/requests/volume/get_volume_details.rb +10 -10
  216. data/lib/fog/openstack/requests/volume/list_volumes.rb +14 -14
  217. data/lib/fog/openstack/volume.rb +10 -0
  218. data/lib/fog/rackspace/models/compute/server.rb +1 -24
  219. data/lib/fog/rackspace/models/compute_v2/server.rb +4 -2
  220. data/lib/fog/rackspace/requests/compute_v2/create_server.rb +1 -1
  221. data/lib/fog/rackspace/requests/compute_v2/list_servers.rb +1 -1
  222. data/lib/fog/storm_on_demand/models/compute/server.rb +1 -5
  223. data/lib/fog/virtual_box/models/compute/server.rb +2 -44
  224. data/lib/fog/vmfusion/models/compute/server.rb +3 -36
  225. data/lib/fog/vsphere/models/compute/server.rb +1 -1
  226. data/lib/fog/vsphere/requests/compute/list_virtual_machines.rb +2 -31
  227. data/lib/fog/vsphere/requests/compute/vm_clone.rb +35 -7
  228. data/tests/aws/models/cdn/distribution_tests.rb +15 -0
  229. data/tests/aws/models/cdn/distributions_tests.rb +15 -0
  230. data/tests/aws/models/cdn/invalidation_tests.rb +32 -0
  231. data/tests/aws/models/cdn/invalidations_tests.rb +15 -0
  232. data/tests/aws/models/cdn/streaming_distribution_tests.rb +15 -0
  233. data/tests/aws/models/cdn/streaming_distributions_tests.rb +15 -0
  234. data/tests/aws/models/rds/tagging_tests.rb +20 -0
  235. data/tests/aws/requests/auto_scaling/auto_scaling_tests.rb +1 -11
  236. data/tests/aws/requests/auto_scaling/describe_types_tests.rb +102 -0
  237. data/tests/aws/requests/auto_scaling/helper.rb +47 -3
  238. data/tests/aws/requests/auto_scaling/notification_configuration_tests.rb +123 -0
  239. data/tests/aws/requests/auto_scaling/tag_tests.rb +62 -0
  240. data/tests/aws/requests/cdn/cdn_tests.rb +252 -0
  241. data/tests/aws/requests/compute/image_tests.rb +32 -1
  242. data/tests/aws/requests/compute/volume_tests.rb +3 -3
  243. data/tests/aws/requests/rds/describe_events.rb +16 -0
  244. data/tests/aws/requests/rds/helper.rb +26 -0
  245. data/tests/aws/requests/rds/subnet_groups_test.rb +48 -0
  246. data/tests/aws/requests/rds/tagging_tests.rb +78 -0
  247. data/tests/brightbox/requests/compute/account_tests.rb +24 -4
  248. data/tests/brightbox/requests/compute/application_test.rb +63 -0
  249. data/tests/brightbox/requests/compute/helper.rb +49 -1
  250. data/tests/helper.rb +4 -1
  251. data/tests/local/models/directory_tests.rb +16 -0
  252. data/tests/ninefold/requests/compute/helper.rb +53 -0
  253. data/tests/ninefold/requests/compute/load_balancer_tests.rb +66 -0
  254. data/tests/openstack/models/image/image_tests.rb +1 -0
  255. data/tests/openstack/models/network/network_tests.rb +24 -0
  256. data/tests/openstack/models/network/networks_tests.rb +21 -0
  257. data/tests/openstack/models/network/port_tests.rb +28 -0
  258. data/tests/openstack/models/network/ports_tests.rb +25 -0
  259. data/tests/openstack/models/network/subnet_tests.rb +30 -0
  260. data/tests/openstack/models/network/subnets_tests.rb +27 -0
  261. data/tests/openstack/requests/compute/image_tests.rb +3 -4
  262. data/tests/openstack/requests/compute/quota_tests.rb +2 -0
  263. data/tests/openstack/requests/compute/security_group_tests.rb +10 -10
  264. data/tests/openstack/requests/compute/server_tests.rb +3 -1
  265. data/tests/openstack/requests/compute/volume_tests.rb +11 -12
  266. data/tests/openstack/requests/identity/tenant_tests.rb +2 -1
  267. data/tests/openstack/requests/image/image_tests.rb +66 -45
  268. data/tests/openstack/requests/network/network_tests.rb +56 -0
  269. data/tests/openstack/requests/network/port_tests.rb +63 -0
  270. data/tests/openstack/requests/network/subnet_tests.rb +66 -0
  271. data/tests/rackspace/models/identity/user_tests.rb +1 -1
  272. data/tests/rackspace/models/identity/users_tests.rb +1 -1
  273. metadata +137 -13
  274. data/lib/fog/ninefold/models/storage/directories.rb +0 -48
  275. data/lib/fog/ninefold/models/storage/directory.rb +0 -53
  276. data/lib/fog/ninefold/models/storage/file.rb +0 -108
  277. data/lib/fog/ninefold/models/storage/files.rb +0 -73
  278. data/lib/fog/ninefold/requests/storage/delete_namespace.rb +0 -19
  279. data/lib/fog/ninefold/requests/storage/get_namespace.rb +0 -20
  280. data/lib/fog/ninefold/requests/storage/head_namespace.rb +0 -20
  281. data/lib/fog/ninefold/requests/storage/post_namespace.rb +0 -20
  282. data/lib/fog/ninefold/requests/storage/put_namespace.rb +0 -20
@@ -0,0 +1,63 @@
1
+ Shindo.tests('Fog::Network[:openstack] | port requests', ['openstack']) do
2
+
3
+ @port_format = {
4
+ 'id' => String,
5
+ 'name' => String,
6
+ 'network_id' => String,
7
+ 'fixed_ips' => Array,
8
+ 'mac_address' => String,
9
+ 'status' => String,
10
+ 'admin_state_up' => Fog::Boolean,
11
+ 'device_owner' => String,
12
+ 'device_id' => String,
13
+ 'tenant_id' => String,
14
+ }
15
+
16
+ tests('success') do
17
+ tests('#create_port').formats({'port' => @port_format}) do
18
+ network_id = 'net_id'
19
+ attributes = {:name => 'port_name', :fixed_ips => [],
20
+ :mac_address => 'fa:16:3e:62:91:7f', :admin_state_up => true,
21
+ :device_owner => 'device_owner', :device_id => 'device_id',
22
+ :tenant_id => 'tenant_id'}
23
+ Fog::Network[:openstack].create_port(network_id, attributes).body
24
+ end
25
+
26
+ tests('#list_port').formats({'ports' => [@port_format]}) do
27
+ Fog::Network[:openstack].list_ports.body
28
+ end
29
+
30
+ tests('#get_port').formats({'port' => @port_format}) do
31
+ port_id = Fog::Network[:openstack].ports.all.first.id
32
+ Fog::Network[:openstack].get_port(port_id).body
33
+ end
34
+
35
+ tests('#update_port').formats({'port' => @port_format}) do
36
+ port_id = Fog::Network[:openstack].ports.all.first.id
37
+ attributes = {:name => 'port_name', :fixed_ips => [],
38
+ :admin_state_up => true, :device_owner => 'device_owner',
39
+ :device_id => 'device_id'}
40
+ Fog::Network[:openstack].update_port(port_id, attributes).body
41
+ end
42
+
43
+ tests('#delete_port').succeeds do
44
+ port_id = Fog::Network[:openstack].ports.all.first.id
45
+ Fog::Network[:openstack].delete_port(port_id)
46
+ end
47
+ end
48
+
49
+ tests('failure') do
50
+ tests('#get_port').raises(Fog::Network::OpenStack::NotFound) do
51
+ Fog::Network[:openstack].get_port(0)
52
+ end
53
+
54
+ tests('#update_port').raises(Fog::Network::OpenStack::NotFound) do
55
+ Fog::Network[:openstack].update_port(0, {})
56
+ end
57
+
58
+ tests('#delete_port').raises(Fog::Network::OpenStack::NotFound) do
59
+ Fog::Network[:openstack].delete_port(0)
60
+ end
61
+ end
62
+
63
+ end
@@ -0,0 +1,66 @@
1
+ Shindo.tests('Fog::Network[:openstack] | subnet requests', ['openstack']) do
2
+
3
+ @subnet_format = {
4
+ 'id' => String,
5
+ 'name' => String,
6
+ 'network_id' => String,
7
+ 'cidr' => String,
8
+ 'ip_version' => Integer,
9
+ 'gateway_ip' => String,
10
+ 'allocation_pools' => Array,
11
+ 'dns_nameservers' => Array,
12
+ 'host_routes' => Array,
13
+ 'enable_dhcp' => Fog::Boolean,
14
+ 'tenant_id' => String,
15
+ }
16
+
17
+ tests('success') do
18
+ tests('#create_subnet').formats({'subnet' => @subnet_format}) do
19
+ network_id = 'net_id'
20
+ cidr = '10.2.2.0/24'
21
+ ip_version = 4
22
+ attributes = {:name => 'subnet_name', :gateway_ip => '10.2.2.1',
23
+ :allocation_pools => [], :dns_nameservers => [],
24
+ :host_routes => [], :enable_dhcp => true,
25
+ :tenant_id => 'tenant_id'}
26
+ Fog::Network[:openstack].create_subnet(network_id, cidr, ip_version, attributes).body
27
+ end
28
+
29
+ tests('#list_subnet').formats({'subnets' => [@subnet_format]}) do
30
+ Fog::Network[:openstack].list_subnets.body
31
+ end
32
+
33
+ tests('#get_subnet').formats({'subnet' => @subnet_format}) do
34
+ subnet_id = Fog::Network[:openstack].subnets.all.first.id
35
+ Fog::Network[:openstack].get_subnet(subnet_id).body
36
+ end
37
+
38
+ tests('#update_subnet').formats({'subnet' => @subnet_format}) do
39
+ subnet_id = Fog::Network[:openstack].subnets.all.first.id
40
+ attributes = {:name => 'subnet_name', :gateway_ip => '10.2.2.1',
41
+ :dns_nameservers => [], :host_routes => [],
42
+ :enable_dhcp => true}
43
+ Fog::Network[:openstack].update_subnet(subnet_id, attributes).body
44
+ end
45
+
46
+ tests('#delete_subnet').succeeds do
47
+ subnet_id = Fog::Network[:openstack].subnets.all.first.id
48
+ Fog::Network[:openstack].delete_subnet(subnet_id)
49
+ end
50
+ end
51
+
52
+ tests('failure') do
53
+ tests('#get_subnet').raises(Fog::Network::OpenStack::NotFound) do
54
+ Fog::Network[:openstack].get_subnet(0)
55
+ end
56
+
57
+ tests('#update_subnet').raises(Fog::Network::OpenStack::NotFound) do
58
+ Fog::Network[:openstack].update_subnet(0, {})
59
+ end
60
+
61
+ tests('#delete_subnet').raises(Fog::Network::OpenStack::NotFound) do
62
+ Fog::Network[:openstack].delete_subnet(0)
63
+ end
64
+ end
65
+
66
+ end
@@ -4,7 +4,7 @@ Shindo.tests('Fog::Rackspace::Identity | user', ['rackspace']) do
4
4
 
5
5
  service = Fog::Rackspace::Identity.new
6
6
  options = {
7
- :username => "fog_user_#{Time.now.to_i.to_s}",
7
+ :username => "fog#{Time.now.to_i.to_s}",
8
8
  :email => 'email@example.com',
9
9
  :enabled => true
10
10
  }
@@ -3,7 +3,7 @@ Shindo.tests('Fog::Rackspace::Identity | users', ['rackspace']) do
3
3
  pending if Fog.mocking?
4
4
 
5
5
  service = Fog::Rackspace::Identity.new
6
- username = "fog_user_#{Time.now.to_i.to_s}"
6
+ username = "fog#{Time.now.to_i.to_s}"
7
7
  options = {
8
8
  :username => username,
9
9
  :email => 'email@example.com',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-15 00:00:00.000000000Z
12
+ date: 2012-11-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -435,6 +435,14 @@ files:
435
435
  - lib/fog/aws/models/beanstalk/templates.rb
436
436
  - lib/fog/aws/models/beanstalk/version.rb
437
437
  - lib/fog/aws/models/beanstalk/versions.rb
438
+ - lib/fog/aws/models/cdn/distribution.rb
439
+ - lib/fog/aws/models/cdn/distribution_helper.rb
440
+ - lib/fog/aws/models/cdn/distributions.rb
441
+ - lib/fog/aws/models/cdn/distributions_helper.rb
442
+ - lib/fog/aws/models/cdn/invalidation.rb
443
+ - lib/fog/aws/models/cdn/invalidations.rb
444
+ - lib/fog/aws/models/cdn/streaming_distribution.rb
445
+ - lib/fog/aws/models/cdn/streaming_distributions.rb
438
446
  - lib/fog/aws/models/cloud_watch/alarm.rb
439
447
  - lib/fog/aws/models/cloud_watch/alarm_data.rb
440
448
  - lib/fog/aws/models/cloud_watch/alarm_datum.rb
@@ -513,6 +521,8 @@ files:
513
521
  - lib/fog/aws/models/rds/servers.rb
514
522
  - lib/fog/aws/models/rds/snapshot.rb
515
523
  - lib/fog/aws/models/rds/snapshots.rb
524
+ - lib/fog/aws/models/rds/subnet_group.rb
525
+ - lib/fog/aws/models/rds/subnet_groups.rb
516
526
  - lib/fog/aws/models/storage/directories.rb
517
527
  - lib/fog/aws/models/storage/directory.rb
518
528
  - lib/fog/aws/models/storage/file.rb
@@ -523,12 +533,16 @@ files:
523
533
  - lib/fog/aws/parsers/auto_scaling/describe_adjustment_types.rb
524
534
  - lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_groups.rb
525
535
  - lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_instances.rb
536
+ - lib/fog/aws/parsers/auto_scaling/describe_auto_scaling_notification_types.rb
526
537
  - lib/fog/aws/parsers/auto_scaling/describe_launch_configurations.rb
527
538
  - lib/fog/aws/parsers/auto_scaling/describe_metric_collection_types.rb
539
+ - lib/fog/aws/parsers/auto_scaling/describe_notification_configurations.rb
528
540
  - lib/fog/aws/parsers/auto_scaling/describe_policies.rb
529
541
  - lib/fog/aws/parsers/auto_scaling/describe_scaling_activities.rb
530
542
  - lib/fog/aws/parsers/auto_scaling/describe_scaling_process_types.rb
531
543
  - lib/fog/aws/parsers/auto_scaling/describe_scheduled_actions.rb
544
+ - lib/fog/aws/parsers/auto_scaling/describe_tags.rb
545
+ - lib/fog/aws/parsers/auto_scaling/describe_termination_policy_types.rb
532
546
  - lib/fog/aws/parsers/auto_scaling/put_notification_configuration.rb
533
547
  - lib/fog/aws/parsers/auto_scaling/put_scaling_policy.rb
534
548
  - lib/fog/aws/parsers/auto_scaling/terminate_instance_in_auto_scaling_group.rb
@@ -557,6 +571,7 @@ files:
557
571
  - lib/fog/aws/parsers/beanstalk/validate_configuration_settings.rb
558
572
  - lib/fog/aws/parsers/cdn/distribution.rb
559
573
  - lib/fog/aws/parsers/cdn/get_distribution_list.rb
574
+ - lib/fog/aws/parsers/cdn/get_invalidation.rb
560
575
  - lib/fog/aws/parsers/cdn/get_invalidation_list.rb
561
576
  - lib/fog/aws/parsers/cdn/get_streaming_distribution_list.rb
562
577
  - lib/fog/aws/parsers/cdn/post_invalidation.rb
@@ -716,11 +731,13 @@ files:
716
731
  - lib/fog/aws/parsers/iam/upload_server_certificate.rb
717
732
  - lib/fog/aws/parsers/iam/upload_signing_certificate.rb
718
733
  - lib/fog/aws/parsers/rds/authorize_db_security_group_ingress.rb
734
+ - lib/fog/aws/parsers/rds/base.rb
719
735
  - lib/fog/aws/parsers/rds/create_db_instance.rb
720
736
  - lib/fog/aws/parsers/rds/create_db_instance_read_replica.rb
721
737
  - lib/fog/aws/parsers/rds/create_db_parameter_group.rb
722
738
  - lib/fog/aws/parsers/rds/create_db_security_group.rb
723
739
  - lib/fog/aws/parsers/rds/create_db_snapshot.rb
740
+ - lib/fog/aws/parsers/rds/create_db_subnet_group.rb
724
741
  - lib/fog/aws/parsers/rds/db_engine_version_parser.rb
725
742
  - lib/fog/aws/parsers/rds/db_parser.rb
726
743
  - lib/fog/aws/parsers/rds/delete_db_instance.rb
@@ -734,6 +751,8 @@ files:
734
751
  - lib/fog/aws/parsers/rds/describe_db_reserved_instances.rb
735
752
  - lib/fog/aws/parsers/rds/describe_db_security_groups.rb
736
753
  - lib/fog/aws/parsers/rds/describe_db_snapshots.rb
754
+ - lib/fog/aws/parsers/rds/describe_db_subnet_groups.rb
755
+ - lib/fog/aws/parsers/rds/event_list.rb
737
756
  - lib/fog/aws/parsers/rds/modify_db_instance.rb
738
757
  - lib/fog/aws/parsers/rds/modify_db_parameter_group.rb
739
758
  - lib/fog/aws/parsers/rds/reboot_db_instance.rb
@@ -742,6 +761,8 @@ files:
742
761
  - lib/fog/aws/parsers/rds/revoke_db_security_group_ingress.rb
743
762
  - lib/fog/aws/parsers/rds/security_group_parser.rb
744
763
  - lib/fog/aws/parsers/rds/snapshot_parser.rb
764
+ - lib/fog/aws/parsers/rds/subnet_group_parser.rb
765
+ - lib/fog/aws/parsers/rds/tag_list_parser.rb
745
766
  - lib/fog/aws/parsers/ses/delete_verified_email_address.rb
746
767
  - lib/fog/aws/parsers/ses/get_send_quota.rb
747
768
  - lib/fog/aws/parsers/ses/get_send_statistics.rb
@@ -791,20 +812,26 @@ files:
791
812
  - lib/fog/aws/rds.rb
792
813
  - lib/fog/aws/requests/auto_scaling/create_auto_scaling_group.rb
793
814
  - lib/fog/aws/requests/auto_scaling/create_launch_configuration.rb
815
+ - lib/fog/aws/requests/auto_scaling/create_or_update_tags.rb
794
816
  - lib/fog/aws/requests/auto_scaling/delete_auto_scaling_group.rb
795
817
  - lib/fog/aws/requests/auto_scaling/delete_launch_configuration.rb
796
818
  - lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb
797
819
  - lib/fog/aws/requests/auto_scaling/delete_policy.rb
798
820
  - lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
821
+ - lib/fog/aws/requests/auto_scaling/delete_tags.rb
799
822
  - lib/fog/aws/requests/auto_scaling/describe_adjustment_types.rb
800
823
  - lib/fog/aws/requests/auto_scaling/describe_auto_scaling_groups.rb
801
824
  - lib/fog/aws/requests/auto_scaling/describe_auto_scaling_instances.rb
825
+ - lib/fog/aws/requests/auto_scaling/describe_auto_scaling_notification_types.rb
802
826
  - lib/fog/aws/requests/auto_scaling/describe_launch_configurations.rb
803
827
  - lib/fog/aws/requests/auto_scaling/describe_metric_collection_types.rb
828
+ - lib/fog/aws/requests/auto_scaling/describe_notification_configurations.rb
804
829
  - lib/fog/aws/requests/auto_scaling/describe_policies.rb
805
830
  - lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb
806
831
  - lib/fog/aws/requests/auto_scaling/describe_scaling_process_types.rb
807
832
  - lib/fog/aws/requests/auto_scaling/describe_scheduled_actions.rb
833
+ - lib/fog/aws/requests/auto_scaling/describe_tags.rb
834
+ - lib/fog/aws/requests/auto_scaling/describe_termination_policy_types.rb
808
835
  - lib/fog/aws/requests/auto_scaling/disable_metrics_collection.rb
809
836
  - lib/fog/aws/requests/auto_scaling/enable_metrics_collection.rb
810
837
  - lib/fog/aws/requests/auto_scaling/execute_policy.rb
@@ -850,6 +877,7 @@ files:
850
877
  - lib/fog/aws/requests/cdn/delete_streaming_distribution.rb
851
878
  - lib/fog/aws/requests/cdn/get_distribution.rb
852
879
  - lib/fog/aws/requests/cdn/get_distribution_list.rb
880
+ - lib/fog/aws/requests/cdn/get_invalidation.rb
853
881
  - lib/fog/aws/requests/cdn/get_invalidation_list.rb
854
882
  - lib/fog/aws/requests/cdn/get_streaming_distribution.rb
855
883
  - lib/fog/aws/requests/cdn/get_streaming_distribution_list.rb
@@ -1101,12 +1129,14 @@ files:
1101
1129
  - lib/fog/aws/requests/iam/update_user.rb
1102
1130
  - lib/fog/aws/requests/iam/upload_server_certificate.rb
1103
1131
  - lib/fog/aws/requests/iam/upload_signing_certificate.rb
1132
+ - lib/fog/aws/requests/rds/add_tags_to_resource.rb
1104
1133
  - lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb
1105
1134
  - lib/fog/aws/requests/rds/create_db_instance.rb
1106
1135
  - lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
1107
1136
  - lib/fog/aws/requests/rds/create_db_parameter_group.rb
1108
1137
  - lib/fog/aws/requests/rds/create_db_security_group.rb
1109
1138
  - lib/fog/aws/requests/rds/create_db_snapshot.rb
1139
+ - lib/fog/aws/requests/rds/create_db_subnet_group.rb
1110
1140
  - lib/fog/aws/requests/rds/delete_db_instance.rb
1111
1141
  - lib/fog/aws/requests/rds/delete_db_parameter_group.rb
1112
1142
  - lib/fog/aws/requests/rds/delete_db_security_group.rb
@@ -1118,9 +1148,13 @@ files:
1118
1148
  - lib/fog/aws/requests/rds/describe_db_reserved_instances.rb
1119
1149
  - lib/fog/aws/requests/rds/describe_db_security_groups.rb
1120
1150
  - lib/fog/aws/requests/rds/describe_db_snapshots.rb
1151
+ - lib/fog/aws/requests/rds/describe_db_subnet_groups.rb
1152
+ - lib/fog/aws/requests/rds/describe_events.rb
1153
+ - lib/fog/aws/requests/rds/list_tags_for_resource.rb
1121
1154
  - lib/fog/aws/requests/rds/modify_db_instance.rb
1122
1155
  - lib/fog/aws/requests/rds/modify_db_parameter_group.rb
1123
1156
  - lib/fog/aws/requests/rds/reboot_db_instance.rb
1157
+ - lib/fog/aws/requests/rds/remove_tags_from_resource.rb
1124
1158
  - lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb
1125
1159
  - lib/fog/aws/requests/rds/restore_db_instance_to_point_in_time.rb
1126
1160
  - lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb
@@ -1308,6 +1342,11 @@ files:
1308
1342
  - lib/fog/brightbox.rb
1309
1343
  - lib/fog/brightbox/compute.rb
1310
1344
  - lib/fog/brightbox/models/compute/account.rb
1345
+ - lib/fog/brightbox/models/compute/accounts.rb
1346
+ - lib/fog/brightbox/models/compute/api_client.rb
1347
+ - lib/fog/brightbox/models/compute/api_clients.rb
1348
+ - lib/fog/brightbox/models/compute/application.rb
1349
+ - lib/fog/brightbox/models/compute/applications.rb
1311
1350
  - lib/fog/brightbox/models/compute/cloud_ip.rb
1312
1351
  - lib/fog/brightbox/models/compute/cloud_ips.rb
1313
1352
  - lib/fog/brightbox/models/compute/firewall_policies.rb
@@ -1334,6 +1373,7 @@ files:
1334
1373
  - lib/fog/brightbox/requests/compute/add_servers_server_group.rb
1335
1374
  - lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb
1336
1375
  - lib/fog/brightbox/requests/compute/create_api_client.rb
1376
+ - lib/fog/brightbox/requests/compute/create_application.rb
1337
1377
  - lib/fog/brightbox/requests/compute/create_cloud_ip.rb
1338
1378
  - lib/fog/brightbox/requests/compute/create_firewall_policy.rb
1339
1379
  - lib/fog/brightbox/requests/compute/create_firewall_rule.rb
@@ -1342,6 +1382,7 @@ files:
1342
1382
  - lib/fog/brightbox/requests/compute/create_server.rb
1343
1383
  - lib/fog/brightbox/requests/compute/create_server_group.rb
1344
1384
  - lib/fog/brightbox/requests/compute/destroy_api_client.rb
1385
+ - lib/fog/brightbox/requests/compute/destroy_application.rb
1345
1386
  - lib/fog/brightbox/requests/compute/destroy_cloud_ip.rb
1346
1387
  - lib/fog/brightbox/requests/compute/destroy_firewall_policy.rb
1347
1388
  - lib/fog/brightbox/requests/compute/destroy_firewall_rule.rb
@@ -1351,18 +1392,23 @@ files:
1351
1392
  - lib/fog/brightbox/requests/compute/destroy_server_group.rb
1352
1393
  - lib/fog/brightbox/requests/compute/get_account.rb
1353
1394
  - lib/fog/brightbox/requests/compute/get_api_client.rb
1395
+ - lib/fog/brightbox/requests/compute/get_application.rb
1396
+ - lib/fog/brightbox/requests/compute/get_authenticated_user.rb
1354
1397
  - lib/fog/brightbox/requests/compute/get_cloud_ip.rb
1355
1398
  - lib/fog/brightbox/requests/compute/get_firewall_policy.rb
1356
1399
  - lib/fog/brightbox/requests/compute/get_firewall_rule.rb
1357
1400
  - lib/fog/brightbox/requests/compute/get_image.rb
1358
1401
  - lib/fog/brightbox/requests/compute/get_interface.rb
1359
1402
  - lib/fog/brightbox/requests/compute/get_load_balancer.rb
1403
+ - lib/fog/brightbox/requests/compute/get_scoped_account.rb
1360
1404
  - lib/fog/brightbox/requests/compute/get_server.rb
1361
1405
  - lib/fog/brightbox/requests/compute/get_server_group.rb
1362
1406
  - lib/fog/brightbox/requests/compute/get_server_type.rb
1363
1407
  - lib/fog/brightbox/requests/compute/get_user.rb
1364
1408
  - lib/fog/brightbox/requests/compute/get_zone.rb
1409
+ - lib/fog/brightbox/requests/compute/list_accounts.rb
1365
1410
  - lib/fog/brightbox/requests/compute/list_api_clients.rb
1411
+ - lib/fog/brightbox/requests/compute/list_applications.rb
1366
1412
  - lib/fog/brightbox/requests/compute/list_cloud_ips.rb
1367
1413
  - lib/fog/brightbox/requests/compute/list_firewall_policies.rb
1368
1414
  - lib/fog/brightbox/requests/compute/list_images.rb
@@ -1380,6 +1426,7 @@ files:
1380
1426
  - lib/fog/brightbox/requests/compute/remove_servers_server_group.rb
1381
1427
  - lib/fog/brightbox/requests/compute/reset_ftp_password_account.rb
1382
1428
  - lib/fog/brightbox/requests/compute/reset_secret_api_client.rb
1429
+ - lib/fog/brightbox/requests/compute/reset_secret_application.rb
1383
1430
  - lib/fog/brightbox/requests/compute/shutdown_server.rb
1384
1431
  - lib/fog/brightbox/requests/compute/snapshot_server.rb
1385
1432
  - lib/fog/brightbox/requests/compute/start_server.rb
@@ -1387,10 +1434,12 @@ files:
1387
1434
  - lib/fog/brightbox/requests/compute/unmap_cloud_ip.rb
1388
1435
  - lib/fog/brightbox/requests/compute/update_account.rb
1389
1436
  - lib/fog/brightbox/requests/compute/update_api_client.rb
1437
+ - lib/fog/brightbox/requests/compute/update_application.rb
1390
1438
  - lib/fog/brightbox/requests/compute/update_cloud_ip.rb
1391
1439
  - lib/fog/brightbox/requests/compute/update_firewall_rule.rb
1392
1440
  - lib/fog/brightbox/requests/compute/update_image.rb
1393
1441
  - lib/fog/brightbox/requests/compute/update_load_balancer.rb
1442
+ - lib/fog/brightbox/requests/compute/update_scoped_account.rb
1394
1443
  - lib/fog/brightbox/requests/compute/update_server.rb
1395
1444
  - lib/fog/brightbox/requests/compute/update_server_group.rb
1396
1445
  - lib/fog/brightbox/requests/compute/update_user.rb
@@ -2191,6 +2240,7 @@ files:
2191
2240
  - lib/fog/local/models/storage/file.rb
2192
2241
  - lib/fog/local/models/storage/files.rb
2193
2242
  - lib/fog/local/storage.rb
2243
+ - lib/fog/network.rb
2194
2244
  - lib/fog/ninefold.rb
2195
2245
  - lib/fog/ninefold/compute.rb
2196
2246
  - lib/fog/ninefold/models/compute/address.rb
@@ -2203,14 +2253,13 @@ files:
2203
2253
  - lib/fog/ninefold/models/compute/ip_forwarding_rules.rb
2204
2254
  - lib/fog/ninefold/models/compute/server.rb
2205
2255
  - lib/fog/ninefold/models/compute/servers.rb
2206
- - lib/fog/ninefold/models/storage/directories.rb
2207
- - lib/fog/ninefold/models/storage/directory.rb
2208
- - lib/fog/ninefold/models/storage/file.rb
2209
- - lib/fog/ninefold/models/storage/files.rb
2256
+ - lib/fog/ninefold/requests/compute/assign_to_load_balancer_rule.rb
2210
2257
  - lib/fog/ninefold/requests/compute/associate_ip_address.rb
2211
2258
  - lib/fog/ninefold/requests/compute/change_service_for_virtual_machine.rb
2212
2259
  - lib/fog/ninefold/requests/compute/create_ip_forwarding_rule.rb
2260
+ - lib/fog/ninefold/requests/compute/create_load_balancer_rule.rb
2213
2261
  - lib/fog/ninefold/requests/compute/delete_ip_forwarding_rule.rb
2262
+ - lib/fog/ninefold/requests/compute/delete_load_balancer_rule.rb
2214
2263
  - lib/fog/ninefold/requests/compute/deploy_virtual_machine.rb
2215
2264
  - lib/fog/ninefold/requests/compute/destroy_virtual_machine.rb
2216
2265
  - lib/fog/ninefold/requests/compute/disable_static_nat.rb
@@ -2223,6 +2272,8 @@ files:
2223
2272
  - lib/fog/ninefold/requests/compute/list_events.rb
2224
2273
  - lib/fog/ninefold/requests/compute/list_hypervisors.rb
2225
2274
  - lib/fog/ninefold/requests/compute/list_ip_forwarding_rules.rb
2275
+ - lib/fog/ninefold/requests/compute/list_load_balancer_rule_instances.rb
2276
+ - lib/fog/ninefold/requests/compute/list_load_balancer_rules.rb
2226
2277
  - lib/fog/ninefold/requests/compute/list_network_offerings.rb
2227
2278
  - lib/fog/ninefold/requests/compute/list_networks.rb
2228
2279
  - lib/fog/ninefold/requests/compute/list_public_ip_addresses.rb
@@ -2233,15 +2284,12 @@ files:
2233
2284
  - lib/fog/ninefold/requests/compute/list_zones.rb
2234
2285
  - lib/fog/ninefold/requests/compute/query_async_job_result.rb
2235
2286
  - lib/fog/ninefold/requests/compute/reboot_virtual_machine.rb
2287
+ - lib/fog/ninefold/requests/compute/remove_from_load_balancer_rule.rb
2236
2288
  - lib/fog/ninefold/requests/compute/reset_password_for_virtual_machine.rb
2237
2289
  - lib/fog/ninefold/requests/compute/start_virtual_machine.rb
2238
2290
  - lib/fog/ninefold/requests/compute/stop_virtual_machine.rb
2291
+ - lib/fog/ninefold/requests/compute/update_load_balancer_rule.rb
2239
2292
  - lib/fog/ninefold/requests/compute/update_virtual_machine.rb
2240
- - lib/fog/ninefold/requests/storage/delete_namespace.rb
2241
- - lib/fog/ninefold/requests/storage/get_namespace.rb
2242
- - lib/fog/ninefold/requests/storage/head_namespace.rb
2243
- - lib/fog/ninefold/requests/storage/post_namespace.rb
2244
- - lib/fog/ninefold/requests/storage/put_namespace.rb
2245
2293
  - lib/fog/ninefold/storage.rb
2246
2294
  - lib/fog/openstack.rb
2247
2295
  - lib/fog/openstack/compute.rb
@@ -2280,8 +2328,15 @@ files:
2280
2328
  - lib/fog/openstack/models/image/image.rb
2281
2329
  - lib/fog/openstack/models/image/images.rb
2282
2330
  - lib/fog/openstack/models/meta_parent.rb
2331
+ - lib/fog/openstack/models/network/network.rb
2332
+ - lib/fog/openstack/models/network/networks.rb
2333
+ - lib/fog/openstack/models/network/port.rb
2334
+ - lib/fog/openstack/models/network/ports.rb
2335
+ - lib/fog/openstack/models/network/subnet.rb
2336
+ - lib/fog/openstack/models/network/subnets.rb
2283
2337
  - lib/fog/openstack/models/volume/volume.rb
2284
2338
  - lib/fog/openstack/models/volume/volumes.rb
2339
+ - lib/fog/openstack/network.rb
2285
2340
  - lib/fog/openstack/requests/compute/add_fixed_ip.rb
2286
2341
  - lib/fog/openstack/requests/compute/allocate_address.rb
2287
2342
  - lib/fog/openstack/requests/compute/associate_address.rb
@@ -2401,6 +2456,23 @@ files:
2401
2456
  - lib/fog/openstack/requests/image/remove_member_from_image.rb
2402
2457
  - lib/fog/openstack/requests/image/set_tenant.rb
2403
2458
  - lib/fog/openstack/requests/image/update_image.rb
2459
+ - lib/fog/openstack/requests/image/update_image_members.rb
2460
+ - lib/fog/openstack/requests/network/create_network.rb
2461
+ - lib/fog/openstack/requests/network/create_port.rb
2462
+ - lib/fog/openstack/requests/network/create_subnet.rb
2463
+ - lib/fog/openstack/requests/network/delete_network.rb
2464
+ - lib/fog/openstack/requests/network/delete_port.rb
2465
+ - lib/fog/openstack/requests/network/delete_subnet.rb
2466
+ - lib/fog/openstack/requests/network/get_network.rb
2467
+ - lib/fog/openstack/requests/network/get_port.rb
2468
+ - lib/fog/openstack/requests/network/get_subnet.rb
2469
+ - lib/fog/openstack/requests/network/list_networks.rb
2470
+ - lib/fog/openstack/requests/network/list_ports.rb
2471
+ - lib/fog/openstack/requests/network/list_subnets.rb
2472
+ - lib/fog/openstack/requests/network/set_tenant.rb
2473
+ - lib/fog/openstack/requests/network/update_network.rb
2474
+ - lib/fog/openstack/requests/network/update_port.rb
2475
+ - lib/fog/openstack/requests/network/update_subnet.rb
2404
2476
  - lib/fog/openstack/requests/volume/create_volume.rb
2405
2477
  - lib/fog/openstack/requests/volume/create_volume_snapshot.rb
2406
2478
  - lib/fog/openstack/requests/volume/delete_snapshot.rb
@@ -3008,6 +3080,12 @@ files:
3008
3080
  - tests/aws/models/beanstalk/templates_tests.rb
3009
3081
  - tests/aws/models/beanstalk/version_tests.rb
3010
3082
  - tests/aws/models/beanstalk/versions_tests.rb
3083
+ - tests/aws/models/cdn/distribution_tests.rb
3084
+ - tests/aws/models/cdn/distributions_tests.rb
3085
+ - tests/aws/models/cdn/invalidation_tests.rb
3086
+ - tests/aws/models/cdn/invalidations_tests.rb
3087
+ - tests/aws/models/cdn/streaming_distribution_tests.rb
3088
+ - tests/aws/models/cdn/streaming_distributions_tests.rb
3011
3089
  - tests/aws/models/cloud_watch/alarm_data_tests.rb
3012
3090
  - tests/aws/models/cloud_watch/alarm_history_tests.rb
3013
3091
  - tests/aws/models/cloud_watch/metric_statistics_tests.rb
@@ -3053,6 +3131,7 @@ files:
3053
3131
  - tests/aws/models/rds/servers_tests.rb
3054
3132
  - tests/aws/models/rds/snapshot_tests.rb
3055
3133
  - tests/aws/models/rds/snapshots_tests.rb
3134
+ - tests/aws/models/rds/tagging_tests.rb
3056
3135
  - tests/aws/models/storage/directory_tests.rb
3057
3136
  - tests/aws/models/storage/file_tests.rb
3058
3137
  - tests/aws/models/storage/files_tests.rb
@@ -3060,10 +3139,14 @@ files:
3060
3139
  - tests/aws/models/storage/version_tests.rb
3061
3140
  - tests/aws/models/storage/versions_tests.rb
3062
3141
  - tests/aws/requests/auto_scaling/auto_scaling_tests.rb
3142
+ - tests/aws/requests/auto_scaling/describe_types_tests.rb
3063
3143
  - tests/aws/requests/auto_scaling/helper.rb
3064
3144
  - tests/aws/requests/auto_scaling/model_tests.rb
3145
+ - tests/aws/requests/auto_scaling/notification_configuration_tests.rb
3146
+ - tests/aws/requests/auto_scaling/tag_tests.rb
3065
3147
  - tests/aws/requests/beanstalk/application_tests.rb
3066
3148
  - tests/aws/requests/beanstalk/solution_stack_tests.rb
3149
+ - tests/aws/requests/cdn/cdn_tests.rb
3067
3150
  - tests/aws/requests/cloud_formation/stack_tests.rb
3068
3151
  - tests/aws/requests/cloud_watch/get_metric_statistics_tests.rb
3069
3152
  - tests/aws/requests/cloud_watch/list_metrics_test.rb
@@ -3117,11 +3200,14 @@ files:
3117
3200
  - tests/aws/requests/iam/server_certificate_tests.rb
3118
3201
  - tests/aws/requests/iam/user_policy_tests.rb
3119
3202
  - tests/aws/requests/iam/user_tests.rb
3203
+ - tests/aws/requests/rds/describe_events.rb
3120
3204
  - tests/aws/requests/rds/helper.rb
3121
3205
  - tests/aws/requests/rds/instance_tests.rb
3122
3206
  - tests/aws/requests/rds/parameter_group_tests.rb
3123
3207
  - tests/aws/requests/rds/parameter_request_tests.rb
3124
3208
  - tests/aws/requests/rds/security_group_tests.rb
3209
+ - tests/aws/requests/rds/subnet_groups_test.rb
3210
+ - tests/aws/requests/rds/tagging_tests.rb
3125
3211
  - tests/aws/requests/ses/helper.rb
3126
3212
  - tests/aws/requests/ses/verified_email_address_tests.rb
3127
3213
  - tests/aws/requests/simpledb/attributes_tests.rb
@@ -3151,6 +3237,7 @@ files:
3151
3237
  - tests/brightbox/compute_tests.rb
3152
3238
  - tests/brightbox/requests/compute/account_tests.rb
3153
3239
  - tests/brightbox/requests/compute/api_client_tests.rb
3240
+ - tests/brightbox/requests/compute/application_test.rb
3154
3241
  - tests/brightbox/requests/compute/cloud_ip_tests.rb
3155
3242
  - tests/brightbox/requests/compute/helper.rb
3156
3243
  - tests/brightbox/requests/compute/image_tests.rb
@@ -3275,6 +3362,7 @@ files:
3275
3362
  - tests/linode/requests/compute/linodeplans_tests.rb
3276
3363
  - tests/linode/requests/compute/stackscripts_tests.rb
3277
3364
  - tests/linode/requests/dns/dns_tests.rb
3365
+ - tests/local/models/directory_tests.rb
3278
3366
  - tests/local/models/file_tests.rb
3279
3367
  - tests/local/storage_tests.rb
3280
3368
  - tests/lorem.txt
@@ -3284,6 +3372,7 @@ files:
3284
3372
  - tests/ninefold/requests/compute/async_job_tests.rb
3285
3373
  - tests/ninefold/requests/compute/helper.rb
3286
3374
  - tests/ninefold/requests/compute/list_tests.rb
3375
+ - tests/ninefold/requests/compute/load_balancer_tests.rb
3287
3376
  - tests/ninefold/requests/compute/nat_tests.rb
3288
3377
  - tests/ninefold/requests/compute/network_tests.rb
3289
3378
  - tests/ninefold/requests/compute/template_tests.rb
@@ -3296,6 +3385,12 @@ files:
3296
3385
  - tests/openstack/models/identity/users_tests.rb
3297
3386
  - tests/openstack/models/image/image_tests.rb
3298
3387
  - tests/openstack/models/image/images_tests.rb
3388
+ - tests/openstack/models/network/network_tests.rb
3389
+ - tests/openstack/models/network/networks_tests.rb
3390
+ - tests/openstack/models/network/port_tests.rb
3391
+ - tests/openstack/models/network/ports_tests.rb
3392
+ - tests/openstack/models/network/subnet_tests.rb
3393
+ - tests/openstack/models/network/subnets_tests.rb
3299
3394
  - tests/openstack/requests/compute/address_tests.rb
3300
3395
  - tests/openstack/requests/compute/flavor_tests.rb
3301
3396
  - tests/openstack/requests/compute/helper.rb
@@ -3310,6 +3405,9 @@ files:
3310
3405
  - tests/openstack/requests/identity/tenant_tests.rb
3311
3406
  - tests/openstack/requests/identity/user_tests.rb
3312
3407
  - tests/openstack/requests/image/image_tests.rb
3408
+ - tests/openstack/requests/network/network_tests.rb
3409
+ - tests/openstack/requests/network/port_tests.rb
3410
+ - tests/openstack/requests/network/subnet_tests.rb
3313
3411
  - tests/ovirt/compute_tests.rb
3314
3412
  - tests/ovirt/models/compute/cluster_tests.rb
3315
3413
  - tests/ovirt/models/compute/clusters_tests.rb
@@ -3505,7 +3603,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
3505
3603
  version: '0'
3506
3604
  segments:
3507
3605
  - 0
3508
- hash: 700016655
3606
+ hash: -3012969826581052926
3509
3607
  required_rubygems_version: !ruby/object:Gem::Requirement
3510
3608
  none: false
3511
3609
  requirements:
@@ -3514,7 +3612,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3514
3612
  version: '0'
3515
3613
  requirements: []
3516
3614
  rubyforge_project: fog
3517
- rubygems_version: 1.8.19
3615
+ rubygems_version: 1.8.23
3518
3616
  signing_key:
3519
3617
  specification_version: 2
3520
3618
  summary: brings clouds to you
@@ -3535,6 +3633,12 @@ test_files:
3535
3633
  - tests/aws/models/beanstalk/templates_tests.rb
3536
3634
  - tests/aws/models/beanstalk/version_tests.rb
3537
3635
  - tests/aws/models/beanstalk/versions_tests.rb
3636
+ - tests/aws/models/cdn/distribution_tests.rb
3637
+ - tests/aws/models/cdn/distributions_tests.rb
3638
+ - tests/aws/models/cdn/invalidation_tests.rb
3639
+ - tests/aws/models/cdn/invalidations_tests.rb
3640
+ - tests/aws/models/cdn/streaming_distribution_tests.rb
3641
+ - tests/aws/models/cdn/streaming_distributions_tests.rb
3538
3642
  - tests/aws/models/cloud_watch/alarm_data_tests.rb
3539
3643
  - tests/aws/models/cloud_watch/alarm_history_tests.rb
3540
3644
  - tests/aws/models/cloud_watch/metric_statistics_tests.rb
@@ -3580,6 +3684,7 @@ test_files:
3580
3684
  - tests/aws/models/rds/servers_tests.rb
3581
3685
  - tests/aws/models/rds/snapshot_tests.rb
3582
3686
  - tests/aws/models/rds/snapshots_tests.rb
3687
+ - tests/aws/models/rds/tagging_tests.rb
3583
3688
  - tests/aws/models/storage/directory_tests.rb
3584
3689
  - tests/aws/models/storage/file_tests.rb
3585
3690
  - tests/aws/models/storage/files_tests.rb
@@ -3587,10 +3692,14 @@ test_files:
3587
3692
  - tests/aws/models/storage/version_tests.rb
3588
3693
  - tests/aws/models/storage/versions_tests.rb
3589
3694
  - tests/aws/requests/auto_scaling/auto_scaling_tests.rb
3695
+ - tests/aws/requests/auto_scaling/describe_types_tests.rb
3590
3696
  - tests/aws/requests/auto_scaling/helper.rb
3591
3697
  - tests/aws/requests/auto_scaling/model_tests.rb
3698
+ - tests/aws/requests/auto_scaling/notification_configuration_tests.rb
3699
+ - tests/aws/requests/auto_scaling/tag_tests.rb
3592
3700
  - tests/aws/requests/beanstalk/application_tests.rb
3593
3701
  - tests/aws/requests/beanstalk/solution_stack_tests.rb
3702
+ - tests/aws/requests/cdn/cdn_tests.rb
3594
3703
  - tests/aws/requests/cloud_formation/stack_tests.rb
3595
3704
  - tests/aws/requests/cloud_watch/get_metric_statistics_tests.rb
3596
3705
  - tests/aws/requests/cloud_watch/list_metrics_test.rb
@@ -3644,11 +3753,14 @@ test_files:
3644
3753
  - tests/aws/requests/iam/server_certificate_tests.rb
3645
3754
  - tests/aws/requests/iam/user_policy_tests.rb
3646
3755
  - tests/aws/requests/iam/user_tests.rb
3756
+ - tests/aws/requests/rds/describe_events.rb
3647
3757
  - tests/aws/requests/rds/helper.rb
3648
3758
  - tests/aws/requests/rds/instance_tests.rb
3649
3759
  - tests/aws/requests/rds/parameter_group_tests.rb
3650
3760
  - tests/aws/requests/rds/parameter_request_tests.rb
3651
3761
  - tests/aws/requests/rds/security_group_tests.rb
3762
+ - tests/aws/requests/rds/subnet_groups_test.rb
3763
+ - tests/aws/requests/rds/tagging_tests.rb
3652
3764
  - tests/aws/requests/ses/helper.rb
3653
3765
  - tests/aws/requests/ses/verified_email_address_tests.rb
3654
3766
  - tests/aws/requests/simpledb/attributes_tests.rb
@@ -3678,6 +3790,7 @@ test_files:
3678
3790
  - tests/brightbox/compute_tests.rb
3679
3791
  - tests/brightbox/requests/compute/account_tests.rb
3680
3792
  - tests/brightbox/requests/compute/api_client_tests.rb
3793
+ - tests/brightbox/requests/compute/application_test.rb
3681
3794
  - tests/brightbox/requests/compute/cloud_ip_tests.rb
3682
3795
  - tests/brightbox/requests/compute/helper.rb
3683
3796
  - tests/brightbox/requests/compute/image_tests.rb
@@ -3802,6 +3915,7 @@ test_files:
3802
3915
  - tests/linode/requests/compute/linodeplans_tests.rb
3803
3916
  - tests/linode/requests/compute/stackscripts_tests.rb
3804
3917
  - tests/linode/requests/dns/dns_tests.rb
3918
+ - tests/local/models/directory_tests.rb
3805
3919
  - tests/local/models/file_tests.rb
3806
3920
  - tests/local/storage_tests.rb
3807
3921
  - tests/lorem.txt
@@ -3811,6 +3925,7 @@ test_files:
3811
3925
  - tests/ninefold/requests/compute/async_job_tests.rb
3812
3926
  - tests/ninefold/requests/compute/helper.rb
3813
3927
  - tests/ninefold/requests/compute/list_tests.rb
3928
+ - tests/ninefold/requests/compute/load_balancer_tests.rb
3814
3929
  - tests/ninefold/requests/compute/nat_tests.rb
3815
3930
  - tests/ninefold/requests/compute/network_tests.rb
3816
3931
  - tests/ninefold/requests/compute/template_tests.rb
@@ -3823,6 +3938,12 @@ test_files:
3823
3938
  - tests/openstack/models/identity/users_tests.rb
3824
3939
  - tests/openstack/models/image/image_tests.rb
3825
3940
  - tests/openstack/models/image/images_tests.rb
3941
+ - tests/openstack/models/network/network_tests.rb
3942
+ - tests/openstack/models/network/networks_tests.rb
3943
+ - tests/openstack/models/network/port_tests.rb
3944
+ - tests/openstack/models/network/ports_tests.rb
3945
+ - tests/openstack/models/network/subnet_tests.rb
3946
+ - tests/openstack/models/network/subnets_tests.rb
3826
3947
  - tests/openstack/requests/compute/address_tests.rb
3827
3948
  - tests/openstack/requests/compute/flavor_tests.rb
3828
3949
  - tests/openstack/requests/compute/helper.rb
@@ -3837,6 +3958,9 @@ test_files:
3837
3958
  - tests/openstack/requests/identity/tenant_tests.rb
3838
3959
  - tests/openstack/requests/identity/user_tests.rb
3839
3960
  - tests/openstack/requests/image/image_tests.rb
3961
+ - tests/openstack/requests/network/network_tests.rb
3962
+ - tests/openstack/requests/network/port_tests.rb
3963
+ - tests/openstack/requests/network/subnet_tests.rb
3840
3964
  - tests/ovirt/compute_tests.rb
3841
3965
  - tests/ovirt/models/compute/cluster_tests.rb
3842
3966
  - tests/ovirt/models/compute/clusters_tests.rb