fog-openstack 0.1.25 → 0.1.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +3 -1
  3. data/.travis.yml +4 -4
  4. data/.zuul.yaml +35 -0
  5. data/README.md +3 -3
  6. data/Rakefile +6 -9
  7. data/docs/planning.md +3 -3
  8. data/docs/storage.md +1 -1
  9. data/examples/planning/basics.rb +1 -1
  10. data/fog-openstack.gemspec +3 -3
  11. data/lib/fog/baremetal/openstack/requests/create_chassis.rb +4 -4
  12. data/lib/fog/baremetal/openstack/requests/create_node.rb +4 -4
  13. data/lib/fog/baremetal/openstack/requests/create_port.rb +4 -4
  14. data/lib/fog/baremetal/openstack/requests/get_chassis.rb +6 -6
  15. data/lib/fog/baremetal/openstack/requests/get_driver.rb +6 -6
  16. data/lib/fog/baremetal/openstack/requests/get_driver_properties.rb +6 -6
  17. data/lib/fog/baremetal/openstack/requests/get_node.rb +6 -6
  18. data/lib/fog/baremetal/openstack/requests/get_port.rb +6 -6
  19. data/lib/fog/baremetal/openstack/requests/list_chassis.rb +6 -6
  20. data/lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb +6 -6
  21. data/lib/fog/baremetal/openstack/requests/list_drivers.rb +6 -6
  22. data/lib/fog/baremetal/openstack/requests/list_nodes.rb +6 -6
  23. data/lib/fog/baremetal/openstack/requests/list_nodes_detailed.rb +6 -6
  24. data/lib/fog/baremetal/openstack/requests/list_ports.rb +6 -6
  25. data/lib/fog/baremetal/openstack/requests/list_ports_detailed.rb +6 -6
  26. data/lib/fog/baremetal/openstack/requests/patch_chassis.rb +4 -4
  27. data/lib/fog/baremetal/openstack/requests/patch_node.rb +4 -4
  28. data/lib/fog/baremetal/openstack/requests/patch_port.rb +4 -4
  29. data/lib/fog/baremetal/openstack/requests/set_node_maintenance.rb +4 -4
  30. data/lib/fog/baremetal/openstack/requests/set_node_power_state.rb +4 -4
  31. data/lib/fog/baremetal/openstack/requests/set_node_provision_state.rb +4 -4
  32. data/lib/fog/baremetal/openstack/requests/unset_node_maintenance.rb +4 -4
  33. data/lib/fog/compute/openstack/models/network.rb +4 -4
  34. data/lib/fog/compute/openstack/models/networks.rb +4 -4
  35. data/lib/fog/compute/openstack/models/server.rb +1 -1
  36. data/lib/fog/compute/openstack/models/server_group.rb +4 -4
  37. data/lib/fog/compute/openstack/models/server_groups.rb +4 -4
  38. data/lib/fog/compute/openstack/models/tenant.rb +4 -4
  39. data/lib/fog/compute/openstack/models/tenants.rb +4 -4
  40. data/lib/fog/compute/openstack/requests/add_aggregate_host.rb +4 -4
  41. data/lib/fog/compute/openstack/requests/add_fixed_ip.rb +7 -7
  42. data/lib/fog/compute/openstack/requests/allocate_address.rb +3 -3
  43. data/lib/fog/compute/openstack/requests/boot_from_snapshot.rb +3 -3
  44. data/lib/fog/compute/openstack/requests/create_aggregate.rb +4 -4
  45. data/lib/fog/compute/openstack/requests/create_flavor.rb +4 -4
  46. data/lib/fog/compute/openstack/requests/create_flavor_metadata.rb +4 -4
  47. data/lib/fog/compute/openstack/requests/create_key_pair.rb +4 -4
  48. data/lib/fog/compute/openstack/requests/create_security_group.rb +4 -4
  49. data/lib/fog/compute/openstack/requests/create_security_group_rule.rb +4 -4
  50. data/lib/fog/compute/openstack/requests/delete_aggregate.rb +4 -4
  51. data/lib/fog/compute/openstack/requests/delete_flavor.rb +4 -4
  52. data/lib/fog/compute/openstack/requests/delete_key_pair.rb +4 -4
  53. data/lib/fog/compute/openstack/requests/delete_security_group.rb +4 -4
  54. data/lib/fog/compute/openstack/requests/delete_security_group_rule.rb +4 -4
  55. data/lib/fog/compute/openstack/requests/delete_service.rb +4 -4
  56. data/lib/fog/compute/openstack/requests/disable_service.rb +4 -4
  57. data/lib/fog/compute/openstack/requests/disable_service_log_reason.rb +4 -4
  58. data/lib/fog/compute/openstack/requests/enable_service.rb +4 -4
  59. data/lib/fog/compute/openstack/requests/get_address.rb +4 -4
  60. data/lib/fog/compute/openstack/requests/get_aggregate.rb +4 -4
  61. data/lib/fog/compute/openstack/requests/get_flavor_metadata.rb +4 -4
  62. data/lib/fog/compute/openstack/requests/get_host_details.rb +4 -4
  63. data/lib/fog/compute/openstack/requests/get_security_group.rb +4 -4
  64. data/lib/fog/compute/openstack/requests/get_security_group_rule.rb +4 -4
  65. data/lib/fog/compute/openstack/requests/get_server_volumes.rb +1 -1
  66. data/lib/fog/compute/openstack/requests/get_vnc_console.rb +7 -7
  67. data/lib/fog/compute/openstack/requests/list_aggregates.rb +4 -4
  68. data/lib/fog/compute/openstack/requests/list_all_addresses.rb +4 -4
  69. data/lib/fog/compute/openstack/requests/list_hosts.rb +4 -4
  70. data/lib/fog/compute/openstack/requests/list_key_pairs.rb +4 -4
  71. data/lib/fog/compute/openstack/requests/list_security_groups.rb +4 -4
  72. data/lib/fog/compute/openstack/requests/list_services.rb +4 -4
  73. data/lib/fog/compute/openstack/requests/list_tenants.rb +4 -4
  74. data/lib/fog/compute/openstack/requests/pause_server.rb +7 -7
  75. data/lib/fog/compute/openstack/requests/release_address.rb +1 -1
  76. data/lib/fog/compute/openstack/requests/remove_aggregate_host.rb +4 -4
  77. data/lib/fog/compute/openstack/requests/remove_fixed_ip.rb +7 -7
  78. data/lib/fog/compute/openstack/requests/rescue_server.rb +7 -7
  79. data/lib/fog/compute/openstack/requests/resume_server.rb +7 -7
  80. data/lib/fog/compute/openstack/requests/server_actions.rb +7 -7
  81. data/lib/fog/compute/openstack/requests/server_diagnostics.rb +7 -7
  82. data/lib/fog/compute/openstack/requests/set_tenant.rb +3 -3
  83. data/lib/fog/compute/openstack/requests/shelve_offload_server.rb +7 -7
  84. data/lib/fog/compute/openstack/requests/shelve_server.rb +7 -7
  85. data/lib/fog/compute/openstack/requests/start_server.rb +7 -7
  86. data/lib/fog/compute/openstack/requests/stop_server.rb +7 -7
  87. data/lib/fog/compute/openstack/requests/suspend_server.rb +7 -7
  88. data/lib/fog/compute/openstack/requests/unpause_server.rb +7 -7
  89. data/lib/fog/compute/openstack/requests/unshelve_server.rb +7 -7
  90. data/lib/fog/compute/openstack/requests/update_aggregate.rb +4 -4
  91. data/lib/fog/compute/openstack/requests/update_aggregate_metadata.rb +4 -4
  92. data/lib/fog/dns/openstack.rb +3 -0
  93. data/lib/fog/identity/openstack.rb +3 -0
  94. data/lib/fog/identity/openstack/v2/models/role.rb +5 -5
  95. data/lib/fog/identity/openstack/v2/models/roles.rb +4 -4
  96. data/lib/fog/identity/openstack/v2/models/tenant.rb +5 -5
  97. data/lib/fog/identity/openstack/v2/models/tenants.rb +5 -5
  98. data/lib/fog/identity/openstack/v2/models/user.rb +5 -5
  99. data/lib/fog/identity/openstack/v2/models/users.rb +5 -5
  100. data/lib/fog/identity/openstack/v2/requests/add_user_to_tenant.rb +6 -6
  101. data/lib/fog/identity/openstack/v2/requests/create_ec2_credential.rb +1 -1
  102. data/lib/fog/identity/openstack/v2/requests/create_role.rb +1 -1
  103. data/lib/fog/identity/openstack/v2/requests/create_tenant.rb +8 -8
  104. data/lib/fog/identity/openstack/v2/requests/create_user.rb +1 -1
  105. data/lib/fog/identity/openstack/v2/requests/create_user_role.rb +1 -1
  106. data/lib/fog/identity/openstack/v2/requests/delete_ec2_credential.rb +1 -1
  107. data/lib/fog/identity/openstack/v2/requests/delete_role.rb +1 -1
  108. data/lib/fog/identity/openstack/v2/requests/delete_tenant.rb +8 -8
  109. data/lib/fog/identity/openstack/v2/requests/delete_user.rb +1 -1
  110. data/lib/fog/identity/openstack/v2/requests/delete_user_role.rb +1 -1
  111. data/lib/fog/identity/openstack/v2/requests/get_ec2_credential.rb +1 -1
  112. data/lib/fog/identity/openstack/v2/requests/get_role.rb +5 -5
  113. data/lib/fog/identity/openstack/v2/requests/get_tenant.rb +7 -7
  114. data/lib/fog/identity/openstack/v2/requests/get_tenants_by_id.rb +1 -1
  115. data/lib/fog/identity/openstack/v2/requests/get_tenants_by_name.rb +1 -1
  116. data/lib/fog/identity/openstack/v2/requests/get_user_by_id.rb +1 -1
  117. data/lib/fog/identity/openstack/v2/requests/get_user_by_name.rb +1 -1
  118. data/lib/fog/identity/openstack/v2/requests/list_ec2_credentials.rb +1 -1
  119. data/lib/fog/identity/openstack/v2/requests/list_endpoints_for_token.rb +1 -1
  120. data/lib/fog/identity/openstack/v2/requests/list_roles.rb +1 -1
  121. data/lib/fog/identity/openstack/v2/requests/list_roles_for_user_on_tenant.rb +8 -8
  122. data/lib/fog/identity/openstack/v2/requests/list_tenants.rb +7 -7
  123. data/lib/fog/identity/openstack/v2/requests/list_user_global_roles.rb +1 -1
  124. data/lib/fog/identity/openstack/v2/requests/list_users.rb +6 -6
  125. data/lib/fog/identity/openstack/v2/requests/remove_user_from_tenant.rb +6 -6
  126. data/lib/fog/identity/openstack/v2/requests/set_tenant.rb +4 -4
  127. data/lib/fog/identity/openstack/v2/requests/update_tenant.rb +8 -8
  128. data/lib/fog/identity/openstack/v2/requests/update_user.rb +1 -1
  129. data/lib/fog/image/openstack.rb +3 -0
  130. data/lib/fog/image/openstack/v1/requests/add_member_to_image.rb +7 -7
  131. data/lib/fog/image/openstack/v1/requests/get_image.rb +6 -6
  132. data/lib/fog/image/openstack/v1/requests/get_image_by_id.rb +6 -6
  133. data/lib/fog/image/openstack/v1/requests/get_image_members.rb +6 -6
  134. data/lib/fog/image/openstack/v1/requests/get_shared_images.rb +6 -6
  135. data/lib/fog/image/openstack/v1/requests/list_public_images.rb +6 -6
  136. data/lib/fog/image/openstack/v1/requests/list_public_images_detailed.rb +6 -6
  137. data/lib/fog/image/openstack/v1/requests/remove_member_from_image.rb +6 -6
  138. data/lib/fog/image/openstack/v1/requests/set_tenant.rb +3 -3
  139. data/lib/fog/image/openstack/v1/requests/update_image_members.rb +5 -5
  140. data/lib/fog/image/openstack/v2/requests/add_member_to_image.rb +6 -6
  141. data/lib/fog/image/openstack/v2/requests/add_tag_to_image.rb +6 -6
  142. data/lib/fog/image/openstack/v2/requests/download_image.rb +6 -6
  143. data/lib/fog/image/openstack/v2/requests/get_image.rb +6 -6
  144. data/lib/fog/image/openstack/v2/requests/get_image_by_id.rb +6 -6
  145. data/lib/fog/image/openstack/v2/requests/get_image_members.rb +6 -6
  146. data/lib/fog/image/openstack/v2/requests/get_member_details.rb +6 -6
  147. data/lib/fog/image/openstack/v2/requests/get_shared_images.rb +6 -6
  148. data/lib/fog/image/openstack/v2/requests/list_images.rb +6 -6
  149. data/lib/fog/image/openstack/v2/requests/remove_member_from_image.rb +6 -6
  150. data/lib/fog/image/openstack/v2/requests/remove_tag_from_image.rb +6 -6
  151. data/lib/fog/image/openstack/v2/requests/set_tenant.rb +3 -3
  152. data/lib/fog/image/openstack/v2/requests/update_image_member.rb +5 -5
  153. data/lib/fog/openstack.rb +27 -47
  154. data/lib/fog/openstack/version.rb +2 -2
  155. data/lib/fog/planning/openstack.rb +2 -2
  156. data/lib/fog/planning/openstack/models/plan.rb +1 -1
  157. data/lib/fog/planning/openstack/models/plans.rb +2 -2
  158. data/lib/fog/planning/openstack/models/role.rb +1 -1
  159. data/lib/fog/planning/openstack/models/roles.rb +2 -2
  160. data/lib/fog/planning/openstack/requests/add_role_to_plan.rb +7 -7
  161. data/lib/fog/planning/openstack/requests/create_plan.rb +7 -7
  162. data/lib/fog/planning/openstack/requests/delete_plan.rb +7 -7
  163. data/lib/fog/planning/openstack/requests/get_plan.rb +7 -7
  164. data/lib/fog/planning/openstack/requests/get_plan_templates.rb +7 -7
  165. data/lib/fog/planning/openstack/requests/list_plans.rb +7 -7
  166. data/lib/fog/planning/openstack/requests/list_roles.rb +7 -7
  167. data/lib/fog/planning/openstack/requests/patch_plan.rb +7 -7
  168. data/lib/fog/planning/openstack/requests/remove_role_from_plan.rb +7 -7
  169. data/lib/fog/shared_file_system/openstack.rb +44 -9
  170. data/lib/fog/shared_file_system/openstack/requests/add_security_service_to_share_network.rb +28 -0
  171. data/lib/fog/shared_file_system/openstack/requests/create_security_service.rb +47 -0
  172. data/lib/fog/shared_file_system/openstack/requests/delete_security_service.rb +24 -0
  173. data/lib/fog/shared_file_system/openstack/requests/get_security_service.rb +26 -0
  174. data/lib/fog/shared_file_system/openstack/requests/list_security_services.rb +25 -0
  175. data/lib/fog/shared_file_system/openstack/requests/list_security_services_detail.rb +25 -0
  176. data/lib/fog/shared_file_system/openstack/requests/remove_security_service_from_share_network.rb +28 -0
  177. data/lib/fog/shared_file_system/openstack/requests/share_network_action.rb +16 -0
  178. data/lib/fog/shared_file_system/openstack/requests/update_security_service.rb +31 -0
  179. data/lib/fog/storage/openstack/models/file.rb +2 -0
  180. data/lib/fog/volume/openstack.rb +3 -0
  181. data/lib/fog/volume/openstack/requests/set_tenant.rb +3 -3
  182. data/playbooks/.gitkeep +0 -0
  183. data/playbooks/fog-openstack-unittest-spec/run.yaml +57 -0
  184. data/playbooks/fog-openstack-unittest-test/run.yaml +57 -0
  185. metadata +18 -6
  186. data/.ruby-version +0 -1
@@ -26,7 +26,7 @@ module Fog
26
26
  }
27
27
  response
28
28
  end
29
- end # mock
30
- end # openstack
31
- end # compute
32
- end # fog
29
+ end
30
+ end
31
+ end
32
+ end
@@ -31,7 +31,7 @@ module Fog
31
31
  }
32
32
  response
33
33
  end
34
- end # mock
35
- end # openstack
36
- end # compute
37
- end # fog
34
+ end
35
+ end
36
+ end
37
+ end
@@ -32,7 +32,7 @@ module Fog
32
32
  }
33
33
  response
34
34
  end
35
- end # mock
36
- end # openstack
37
- end # compute
38
- end # fog
35
+ end
36
+ end
37
+ end
38
+ end
@@ -31,7 +31,7 @@ module Fog
31
31
  }
32
32
  response
33
33
  end
34
- end # mock
35
- end # openstack
36
- end # compute
37
- end # fog
34
+ end
35
+ end
36
+ end
37
+ end
@@ -32,7 +32,7 @@ module Fog
32
32
  }
33
33
  response
34
34
  end
35
- end # mock
36
- end # openstack
37
- end # compute
38
- end # fog
35
+ end
36
+ end
37
+ end
38
+ end
@@ -19,7 +19,7 @@ module Fog
19
19
 
20
20
  response
21
21
  end
22
- end # mock
23
- end # openstack
24
- end # compute
25
- end # fog
22
+ end
23
+ end
24
+ end
25
+ end
@@ -20,7 +20,7 @@ module Fog
20
20
  }}
21
21
  response
22
22
  end
23
- end # mock
24
- end # openstack
25
- end # compute
26
- end # fog
23
+ end
24
+ end
25
+ end
26
+ end
@@ -54,7 +54,7 @@ module Fog
54
54
  ]}
55
55
  response
56
56
  end
57
- end # mock
58
- end # openstack
59
- end # compute
60
- end # fog
57
+ end
58
+ end
59
+ end
60
+ end
@@ -31,7 +31,7 @@ module Fog
31
31
  end
32
32
  response
33
33
  end
34
- end # mock
35
- end # openstack
36
- end # compute
37
- end # fog
34
+ end
35
+ end
36
+ end
37
+ end
@@ -32,7 +32,7 @@ module Fog
32
32
  end
33
33
  response
34
34
  end
35
- end # mock
36
- end # openstack
37
- end # compute
38
- end # fog
35
+ end
36
+ end
37
+ end
38
+ end
@@ -6,7 +6,7 @@ module Fog
6
6
  request(
7
7
  :expects => 200,
8
8
  :method => 'GET',
9
- :path => "/servers/#{server_id}/os-volume_attachments"
9
+ :path => "servers/#{server_id}/os-volume_attachments"
10
10
  )
11
11
  end
12
12
  end
@@ -19,8 +19,8 @@ module Fog
19
19
  }
20
20
  }
21
21
  server_action(server_id, body)
22
- end # def get_vnc_console
23
- end # class Real
22
+ end
23
+ end
24
24
 
25
25
  class Mock
26
26
  def get_vnc_console(_server_id, _console_type)
@@ -33,8 +33,8 @@ module Fog
33
33
  }
34
34
  }
35
35
  response
36
- end # def get_vnc_console
37
- end # class Mock
38
- end # class OpenStack
39
- end # module Compute
40
- end # module Fog
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -31,7 +31,7 @@ module Fog
31
31
 
32
32
  response
33
33
  end
34
- end # mock
35
- end # openstack
36
- end # compute
37
- end # fog
34
+ end
35
+ end
36
+ end
37
+ end
@@ -56,7 +56,7 @@ module Fog
56
56
  }
57
57
  response
58
58
  end
59
- end # mock
60
- end # openstack
61
- end # Compute
62
- end # fog
59
+ end
60
+ end
61
+ end
62
+ end
@@ -21,7 +21,7 @@ module Fog
21
21
  ]}
22
22
  response
23
23
  end
24
- end # mock
25
- end # openstack
26
- end # compute
27
- end # fog
24
+ end
25
+ end
26
+ end
27
+ end
@@ -33,7 +33,7 @@ module Fog
33
33
  }
34
34
  response
35
35
  end
36
- end # mock
37
- end # openstack
38
- end # compute
39
- end # fog
36
+ end
37
+ end
38
+ end
39
+ end
@@ -61,7 +61,7 @@ module Fog
61
61
  :status => 200
62
62
  )
63
63
  end
64
- end # mock
65
- end # openstack
66
- end # compute
67
- end # fog
64
+ end
65
+ end
66
+ end
67
+ end
@@ -60,7 +60,7 @@ module Fog
60
60
  }
61
61
  response
62
62
  end
63
- end # mock
64
- end # openstack
65
- end # compute
66
- end # fog
63
+ end
64
+ end
65
+ end
66
+ end
@@ -37,7 +37,7 @@ module Fog
37
37
  }
38
38
  response
39
39
  end
40
- end # class Mock
41
- end # class OpenStack
42
- end # module Compute
43
- end # module Fog
40
+ end
41
+ end
42
+ end
43
+ end
@@ -11,14 +11,14 @@ module Fog
11
11
  def pause_server(server_id)
12
12
  body = {'pause' => nil}
13
13
  server_action(server_id, body).status == 202
14
- end # def pause_server
15
- end # class Real
14
+ end
15
+ end
16
16
 
17
17
  class Mock
18
18
  def pause_server(_server_id)
19
19
  true
20
- end # def pause_server
21
- end # class Mock
22
- end # class OpenStack
23
- end # module Compute
24
- end # module Fog
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -23,7 +23,7 @@ module Fog
23
23
  response.body = {}
24
24
  response
25
25
  end
26
- end # mock
26
+ end
27
27
  end
28
28
  end
29
29
  end
@@ -24,7 +24,7 @@ module Fog
24
24
  }
25
25
  response
26
26
  end
27
- end # mock
28
- end # openstack
29
- end # compute
30
- end # fog
27
+ end
28
+ end
29
+ end
30
+ end
@@ -16,14 +16,14 @@ module Fog
16
16
  }
17
17
  }
18
18
  server_action(server_id, body).status == 202
19
- end # def remove_fixed_ip
20
- end # class Real
19
+ end
20
+ end
21
21
 
22
22
  class Mock
23
23
  def remove_fixed_ip(_server_id, _address)
24
24
  true
25
- end # def remove_fixed_ip
26
- end # class Mock
27
- end # class OpenStack
28
- end # module Compute
29
- end # module Fog
25
+ end
26
+ end
27
+ end
28
+ end
29
+ end
@@ -11,14 +11,14 @@ module Fog
11
11
  def rescue_server(server_id)
12
12
  body = {'rescue' => nil}
13
13
  server_action(server_id, body) == 202
14
- end # def rescue_server
15
- end # class Real
14
+ end
15
+ end
16
16
 
17
17
  class Mock
18
18
  def rescue_server(_server_id)
19
19
  true
20
- end # def rescue_server
21
- end # class Mock
22
- end # class OpenStack
23
- end # module Compute
24
- end # module Fog
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -11,14 +11,14 @@ module Fog
11
11
  def resume_server(server_id)
12
12
  body = {'resume' => nil}
13
13
  server_action(server_id, body).status == 202
14
- end # def resume_server
15
- end # class Real
14
+ end
15
+ end
16
16
 
17
17
  class Mock
18
18
  def resume_server(_server_id)
19
19
  true
20
- end # def resume_server
21
- end # class Mock
22
- end # class OpenStack
23
- end # module Compute
24
- end # module Fog
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -14,8 +14,8 @@ module Fog
14
14
  :method => 'GET',
15
15
  :path => "servers/#{server_id}/os-instance-actions"
16
16
  ).body['instanceActions']
17
- end # def server_actions
18
- end # class Real
17
+ end
18
+ end
19
19
 
20
20
  class Mock
21
21
  def server_actions(server_id)
@@ -31,8 +31,8 @@ module Fog
31
31
  'project_id' => '9d5d0b877cf449fdae078659cfa12e86'
32
32
  }]
33
33
  response
34
- end # def server_actions
35
- end # class Mock
36
- end # class OpenStack
37
- end # module Compute
38
- end # moduel Fog
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
@@ -13,13 +13,13 @@ module Fog
13
13
  :method => 'GET',
14
14
  :path => "servers/#{server_id}/diagnostics"
15
15
  )
16
- end # def server_diagnostics
17
- end # class Real
16
+ end
17
+ end
18
18
 
19
19
  class Mock
20
20
  def server_diagnostics(server_id)
21
- end # def server_diagnostics
22
- end # class Real
23
- end # class OpenStack
24
- end # module Compute
25
- end # module Fog
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -14,6 +14,6 @@ module Fog
14
14
  true
15
15
  end
16
16
  end
17
- end # class OpenStack
18
- end # module Compute
19
- end # module Fog
17
+ end
18
+ end
19
+ end
@@ -11,14 +11,14 @@ module Fog
11
11
  def shelve_offload_server(server_id)
12
12
  body = {'shelveOffload' => nil}
13
13
  server_action(server_id, body).status == 202
14
- end # def shelve_off_load_server
15
- end # class Real
14
+ end
15
+ end
16
16
 
17
17
  class Mock
18
18
  def shelve_offload_server(_server_id)
19
19
  true
20
- end # def shelve_off_load_server
21
- end # class Mock
22
- end # class OpenStack
23
- end # module Compute
24
- end # module Fog
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end