vagrant-openstack-provider 0.5.2 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/lib/vagrant-openstack-provider.rb +2 -31
  4. data/lib/vagrant-openstack-provider/action.rb +21 -7
  5. data/lib/vagrant-openstack-provider/action/abstract_action.rb +22 -0
  6. data/lib/vagrant-openstack-provider/action/connect_openstack.rb +19 -40
  7. data/lib/vagrant-openstack-provider/action/create_server.rb +10 -6
  8. data/lib/vagrant-openstack-provider/action/create_stack.rb +67 -0
  9. data/lib/vagrant-openstack-provider/action/delete_server.rb +28 -3
  10. data/lib/vagrant-openstack-provider/action/delete_stack.rb +72 -0
  11. data/lib/vagrant-openstack-provider/action/message.rb +4 -2
  12. data/lib/vagrant-openstack-provider/action/read_ssh_info.rb +4 -2
  13. data/lib/vagrant-openstack-provider/action/read_state.rb +9 -4
  14. data/lib/vagrant-openstack-provider/action/resume.rb +4 -2
  15. data/lib/vagrant-openstack-provider/action/start_server.rb +4 -2
  16. data/lib/vagrant-openstack-provider/action/stop_server.rb +4 -2
  17. data/lib/vagrant-openstack-provider/action/suspend.rb +4 -2
  18. data/lib/vagrant-openstack-provider/action/sync_folders.rb +17 -13
  19. data/lib/vagrant-openstack-provider/action/wait_accessible.rb +5 -2
  20. data/lib/vagrant-openstack-provider/action/wait_active.rb +5 -3
  21. data/lib/vagrant-openstack-provider/action/wait_stop.rb +5 -3
  22. data/lib/vagrant-openstack-provider/catalog/openstack_catalog.rb +66 -0
  23. data/lib/vagrant-openstack-provider/client/domain.rb +41 -1
  24. data/lib/vagrant-openstack-provider/client/glance.rb +63 -0
  25. data/lib/vagrant-openstack-provider/client/heat.rb +50 -0
  26. data/lib/vagrant-openstack-provider/client/http_utils.rb +18 -0
  27. data/lib/vagrant-openstack-provider/client/neutron.rb +9 -15
  28. data/lib/vagrant-openstack-provider/client/nova.rb +3 -3
  29. data/lib/vagrant-openstack-provider/client/openstack.rb +10 -0
  30. data/lib/vagrant-openstack-provider/command/abstract_command.rb +7 -0
  31. data/lib/vagrant-openstack-provider/command/image_list.rb +12 -2
  32. data/lib/vagrant-openstack-provider/command/main.rb +1 -0
  33. data/lib/vagrant-openstack-provider/command/network_list.rb +3 -3
  34. data/lib/vagrant-openstack-provider/command/subnet_list.rb +25 -0
  35. data/lib/vagrant-openstack-provider/config.rb +78 -7
  36. data/lib/vagrant-openstack-provider/config_resolver.rb +36 -5
  37. data/lib/vagrant-openstack-provider/errors.rb +30 -2
  38. data/lib/vagrant-openstack-provider/logging.rb +39 -0
  39. data/lib/vagrant-openstack-provider/version.rb +1 -1
  40. data/locales/en.yml +107 -4
  41. data/spec/vagrant-openstack-provider/action/connect_openstack_spec.rb +255 -8
  42. data/spec/vagrant-openstack-provider/action/create_server_spec.rb +6 -1
  43. data/spec/vagrant-openstack-provider/action/create_stack_spec.rb +97 -0
  44. data/spec/vagrant-openstack-provider/action/delete_server_spec.rb +34 -6
  45. data/spec/vagrant-openstack-provider/action/delete_stack_spec.rb +64 -0
  46. data/spec/vagrant-openstack-provider/action/read_state_spec.rb +13 -1
  47. data/spec/vagrant-openstack-provider/action/sync_folders_spec.rb +1 -0
  48. data/spec/vagrant-openstack-provider/action/wait_active_spec.rb +1 -1
  49. data/spec/vagrant-openstack-provider/action/wait_stop_spec.rb +1 -1
  50. data/spec/vagrant-openstack-provider/client/glance_spec.rb +128 -0
  51. data/spec/vagrant-openstack-provider/client/heat_spec.rb +124 -0
  52. data/spec/vagrant-openstack-provider/client/neutron_spec.rb +33 -1
  53. data/spec/vagrant-openstack-provider/client/nova_spec.rb +2 -2
  54. data/spec/vagrant-openstack-provider/command/image_list_spec.rb +75 -23
  55. data/spec/vagrant-openstack-provider/command/subnet_list_spec.rb +46 -0
  56. data/spec/vagrant-openstack-provider/config_resolver_spec.rb +85 -19
  57. data/spec/vagrant-openstack-provider/config_spec.rb +177 -1
  58. data/spec/vagrant-openstack-provider/spec_helper.rb +3 -0
  59. metadata +20 -2
@@ -12,6 +12,7 @@ if ENV['COVERAGE'] != 'false'
12
12
  end
13
13
 
14
14
  Dir[
15
+ 'lib/vagrant-openstack-provider/logging.rb',
15
16
  'lib/vagrant-openstack-provider/config.rb',
16
17
  'lib/vagrant-openstack-provider/config_resolver.rb',
17
18
  'lib/vagrant-openstack-provider/utils.rb',
@@ -31,3 +32,5 @@ RSpec.configure do |config|
31
32
  end
32
33
 
33
34
  I18n.load_path << File.expand_path('locales/en.yml', Pathname.new(File.expand_path('../../../', __FILE__)))
35
+
36
+ VagrantPlugins::Openstack::Logging.init
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-openstack-provider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Giamarchi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-06 00:00:00.000000000 Z
12
+ date: 2014-11-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -179,9 +179,12 @@ files:
179
179
  - gemfiles/previous_release.gemfile
180
180
  - lib/vagrant-openstack-provider.rb
181
181
  - lib/vagrant-openstack-provider/action.rb
182
+ - lib/vagrant-openstack-provider/action/abstract_action.rb
182
183
  - lib/vagrant-openstack-provider/action/connect_openstack.rb
183
184
  - lib/vagrant-openstack-provider/action/create_server.rb
185
+ - lib/vagrant-openstack-provider/action/create_stack.rb
184
186
  - lib/vagrant-openstack-provider/action/delete_server.rb
187
+ - lib/vagrant-openstack-provider/action/delete_stack.rb
185
188
  - lib/vagrant-openstack-provider/action/message.rb
186
189
  - lib/vagrant-openstack-provider/action/read_ssh_info.rb
187
190
  - lib/vagrant-openstack-provider/action/read_state.rb
@@ -193,8 +196,11 @@ files:
193
196
  - lib/vagrant-openstack-provider/action/wait_accessible.rb
194
197
  - lib/vagrant-openstack-provider/action/wait_active.rb
195
198
  - lib/vagrant-openstack-provider/action/wait_stop.rb
199
+ - lib/vagrant-openstack-provider/catalog/openstack_catalog.rb
196
200
  - lib/vagrant-openstack-provider/client/cinder.rb
197
201
  - lib/vagrant-openstack-provider/client/domain.rb
202
+ - lib/vagrant-openstack-provider/client/glance.rb
203
+ - lib/vagrant-openstack-provider/client/heat.rb
198
204
  - lib/vagrant-openstack-provider/client/http_utils.rb
199
205
  - lib/vagrant-openstack-provider/client/keystone.rb
200
206
  - lib/vagrant-openstack-provider/client/neutron.rb
@@ -208,11 +214,13 @@ files:
208
214
  - lib/vagrant-openstack-provider/command/main.rb
209
215
  - lib/vagrant-openstack-provider/command/network_list.rb
210
216
  - lib/vagrant-openstack-provider/command/reset.rb
217
+ - lib/vagrant-openstack-provider/command/subnet_list.rb
211
218
  - lib/vagrant-openstack-provider/command/utils.rb
212
219
  - lib/vagrant-openstack-provider/command/volume_list.rb
213
220
  - lib/vagrant-openstack-provider/config.rb
214
221
  - lib/vagrant-openstack-provider/config_resolver.rb
215
222
  - lib/vagrant-openstack-provider/errors.rb
223
+ - lib/vagrant-openstack-provider/logging.rb
216
224
  - lib/vagrant-openstack-provider/plugin.rb
217
225
  - lib/vagrant-openstack-provider/provider.rb
218
226
  - lib/vagrant-openstack-provider/utils.rb
@@ -220,7 +228,9 @@ files:
220
228
  - locales/en.yml
221
229
  - spec/vagrant-openstack-provider/action/connect_openstack_spec.rb
222
230
  - spec/vagrant-openstack-provider/action/create_server_spec.rb
231
+ - spec/vagrant-openstack-provider/action/create_stack_spec.rb
223
232
  - spec/vagrant-openstack-provider/action/delete_server_spec.rb
233
+ - spec/vagrant-openstack-provider/action/delete_stack_spec.rb
224
234
  - spec/vagrant-openstack-provider/action/message_spec.rb
225
235
  - spec/vagrant-openstack-provider/action/read_ssh_info_spec.rb
226
236
  - spec/vagrant-openstack-provider/action/read_state_spec.rb
@@ -234,6 +244,8 @@ files:
234
244
  - spec/vagrant-openstack-provider/action/wait_stop_spec.rb
235
245
  - spec/vagrant-openstack-provider/action_spec.rb
236
246
  - spec/vagrant-openstack-provider/client/cinder_spec.rb
247
+ - spec/vagrant-openstack-provider/client/glance_spec.rb
248
+ - spec/vagrant-openstack-provider/client/heat_spec.rb
237
249
  - spec/vagrant-openstack-provider/client/keystone_spec.rb
238
250
  - spec/vagrant-openstack-provider/client/neutron_spec.rb
239
251
  - spec/vagrant-openstack-provider/client/nova_spec.rb
@@ -243,6 +255,7 @@ files:
243
255
  - spec/vagrant-openstack-provider/command/image_list_spec.rb
244
256
  - spec/vagrant-openstack-provider/command/network_list_spec.rb
245
257
  - spec/vagrant-openstack-provider/command/reset_spec.rb
258
+ - spec/vagrant-openstack-provider/command/subnet_list_spec.rb
246
259
  - spec/vagrant-openstack-provider/command/volume_list_spec.rb
247
260
  - spec/vagrant-openstack-provider/config_resolver_spec.rb
248
261
  - spec/vagrant-openstack-provider/config_spec.rb
@@ -277,7 +290,9 @@ summary: Enables Vagrant to manage machines in Openstack Cloud.
277
290
  test_files:
278
291
  - spec/vagrant-openstack-provider/action/connect_openstack_spec.rb
279
292
  - spec/vagrant-openstack-provider/action/create_server_spec.rb
293
+ - spec/vagrant-openstack-provider/action/create_stack_spec.rb
280
294
  - spec/vagrant-openstack-provider/action/delete_server_spec.rb
295
+ - spec/vagrant-openstack-provider/action/delete_stack_spec.rb
281
296
  - spec/vagrant-openstack-provider/action/message_spec.rb
282
297
  - spec/vagrant-openstack-provider/action/read_ssh_info_spec.rb
283
298
  - spec/vagrant-openstack-provider/action/read_state_spec.rb
@@ -291,6 +306,8 @@ test_files:
291
306
  - spec/vagrant-openstack-provider/action/wait_stop_spec.rb
292
307
  - spec/vagrant-openstack-provider/action_spec.rb
293
308
  - spec/vagrant-openstack-provider/client/cinder_spec.rb
309
+ - spec/vagrant-openstack-provider/client/glance_spec.rb
310
+ - spec/vagrant-openstack-provider/client/heat_spec.rb
294
311
  - spec/vagrant-openstack-provider/client/keystone_spec.rb
295
312
  - spec/vagrant-openstack-provider/client/neutron_spec.rb
296
313
  - spec/vagrant-openstack-provider/client/nova_spec.rb
@@ -300,6 +317,7 @@ test_files:
300
317
  - spec/vagrant-openstack-provider/command/image_list_spec.rb
301
318
  - spec/vagrant-openstack-provider/command/network_list_spec.rb
302
319
  - spec/vagrant-openstack-provider/command/reset_spec.rb
320
+ - spec/vagrant-openstack-provider/command/subnet_list_spec.rb
303
321
  - spec/vagrant-openstack-provider/command/volume_list_spec.rb
304
322
  - spec/vagrant-openstack-provider/config_resolver_spec.rb
305
323
  - spec/vagrant-openstack-provider/config_spec.rb