fog-ovirt 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop_todo.yml +1 -1
  3. data/fog-ovirt.gemspec +1 -0
  4. data/lib/fog/ovirt/compute/v3.rb +1 -1
  5. data/lib/fog/ovirt/compute/v4.rb +163 -0
  6. data/lib/fog/ovirt/compute.rb +32 -11
  7. data/lib/fog/ovirt/requests/compute/v4/add_interface.rb +41 -0
  8. data/lib/fog/ovirt/requests/compute/v4/add_volume.rb +54 -0
  9. data/lib/fog/ovirt/requests/compute/v4/create_vm.rb +62 -0
  10. data/lib/fog/ovirt/requests/compute/v4/datacenters.rb +22 -0
  11. data/lib/fog/ovirt/requests/compute/v4/destroy_interface.rb +24 -0
  12. data/lib/fog/ovirt/requests/compute/v4/destroy_vm.rb +23 -0
  13. data/lib/fog/ovirt/requests/compute/v4/destroy_volume.rb +25 -0
  14. data/lib/fog/ovirt/requests/compute/v4/get_api_version.rb +18 -0
  15. data/lib/fog/ovirt/requests/compute/v4/get_cluster.rb +19 -0
  16. data/lib/fog/ovirt/requests/compute/v4/get_instance_type.rb +19 -0
  17. data/lib/fog/ovirt/requests/compute/v4/get_quota.rb +20 -0
  18. data/lib/fog/ovirt/requests/compute/v4/get_template.rb +19 -0
  19. data/lib/fog/ovirt/requests/compute/v4/get_virtual_machine.rb +19 -0
  20. data/lib/fog/ovirt/requests/compute/v4/list_clusters.rb +21 -0
  21. data/lib/fog/ovirt/requests/compute/v4/list_instance_types.rb +21 -0
  22. data/lib/fog/ovirt/requests/compute/v4/list_networks.rb +18 -0
  23. data/lib/fog/ovirt/requests/compute/v4/list_operating_systems.rb +21 -0
  24. data/lib/fog/ovirt/requests/compute/v4/list_quotas.rb +22 -0
  25. data/lib/fog/ovirt/requests/compute/v4/list_template_interfaces.rb +21 -0
  26. data/lib/fog/ovirt/requests/compute/v4/list_template_volumes.rb +27 -0
  27. data/lib/fog/ovirt/requests/compute/v4/list_templates.rb +21 -0
  28. data/lib/fog/ovirt/requests/compute/v4/list_virtual_machines.rb +28 -0
  29. data/lib/fog/ovirt/requests/compute/v4/list_vm_interfaces.rb +21 -0
  30. data/lib/fog/ovirt/requests/compute/v4/list_vm_volumes.rb +30 -0
  31. data/lib/fog/ovirt/requests/compute/v4/list_volumes.rb +21 -0
  32. data/lib/fog/ovirt/requests/compute/v4/mock_files/affinitygroup.xml +8 -0
  33. data/lib/fog/ovirt/requests/compute/v4/mock_files/affinitygroup_vms.xml +9 -0
  34. data/lib/fog/ovirt/requests/compute/v4/mock_files/affinitygroups.xml +17 -0
  35. data/lib/fog/ovirt/requests/compute/v4/mock_files/cluster.xml +27 -0
  36. data/lib/fog/ovirt/requests/compute/v4/mock_files/clusters.xml +53 -0
  37. data/lib/fog/ovirt/requests/compute/v4/mock_files/data_centers.xml +21 -0
  38. data/lib/fog/ovirt/requests/compute/v4/mock_files/disks.xml +54 -0
  39. data/lib/fog/ovirt/requests/compute/v4/mock_files/instance_type.xml +50 -0
  40. data/lib/fog/ovirt/requests/compute/v4/mock_files/instance_types.xml +233 -0
  41. data/lib/fog/ovirt/requests/compute/v4/mock_files/nics.xml +12 -0
  42. data/lib/fog/ovirt/requests/compute/v4/mock_files/operating_systems.xml +10 -0
  43. data/lib/fog/ovirt/requests/compute/v4/mock_files/quotas.xml +7 -0
  44. data/lib/fog/ovirt/requests/compute/v4/mock_files/storage_domains.xml +34 -0
  45. data/lib/fog/ovirt/requests/compute/v4/mock_files/template.xml +45 -0
  46. data/lib/fog/ovirt/requests/compute/v4/mock_files/templates.xml +128 -0
  47. data/lib/fog/ovirt/requests/compute/v4/mock_files/vm.xml +58 -0
  48. data/lib/fog/ovirt/requests/compute/v4/mock_files/vms.xml +170 -0
  49. data/lib/fog/ovirt/requests/compute/v4/mock_files/volumes.xml +36 -0
  50. data/lib/fog/ovirt/requests/compute/v4/storage_domains.rb +27 -0
  51. data/lib/fog/ovirt/requests/compute/v4/update_interface.rb +35 -0
  52. data/lib/fog/ovirt/requests/compute/v4/update_volume.rb +36 -0
  53. data/lib/fog/ovirt/requests/compute/v4/vm_action.rb +26 -0
  54. data/lib/fog/ovirt/requests/compute/v4/vm_ticket.rb +19 -0
  55. data/lib/fog/ovirt/version.rb +1 -1
  56. data/tests/ovirt/requests/compute/{client_tests.rb → v3/client_tests.rb} +0 -0
  57. data/tests/ovirt/requests/compute/{create_vm_tests.rb → v3/create_vm_tests.rb} +0 -0
  58. data/tests/ovirt/requests/compute/{destroy_vm_tests.rb → v3/destroy_vm_tests.rb} +0 -0
  59. data/tests/ovirt/requests/compute/{list_datacenters_tests.rb → v3/list_datacenters_tests.rb} +0 -0
  60. data/tests/ovirt/requests/compute/{list_quotas_tests.rb → v3/list_quotas_tests.rb} +0 -0
  61. data/tests/ovirt/requests/compute/{list_storage_domains_tests.rb → v3/list_storage_domains_tests.rb} +0 -0
  62. data/tests/ovirt/requests/compute/{update_vm_tests.rb → v3/update_vm_tests.rb} +0 -0
  63. data/tests/ovirt/requests/compute/{update_volume_tests.rb → v3/update_volume_tests.rb} +0 -0
  64. data/tests/ovirt/requests/compute/v4/client_tests.rb +31 -0
  65. data/tests/ovirt/requests/compute/v4/create_vm_tests.rb +17 -0
  66. data/tests/ovirt/requests/compute/v4/destroy_vm_tests.rb +16 -0
  67. data/tests/ovirt/requests/compute/v4/list_datacenters_tests.rb +11 -0
  68. data/tests/ovirt/requests/compute/v4/list_quotas_tests.rb +10 -0
  69. data/tests/ovirt/requests/compute/v4/list_storage_domains_tests.rb +11 -0
  70. data/tests/ovirt/requests/compute/v4/update_volume_tests.rb +17 -0
  71. metadata +96 -19
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-ovirt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ori Rabin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-31 00:00:00.000000000 Z
11
+ date: 2018-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.1.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: ovirt-engine-sdk
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 4.1.3
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 4.1.3
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rbovirt
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -158,6 +172,7 @@ files:
158
172
  - lib/fog/ovirt.rb
159
173
  - lib/fog/ovirt/compute.rb
160
174
  - lib/fog/ovirt/compute/v3.rb
175
+ - lib/fog/ovirt/compute/v4.rb
161
176
  - lib/fog/ovirt/core.rb
162
177
  - lib/fog/ovirt/models/compute/affinity_group.rb
163
178
  - lib/fog/ovirt/models/compute/affinity_groups.rb
@@ -238,6 +253,54 @@ files:
238
253
  - lib/fog/ovirt/requests/compute/v3/vm_action.rb
239
254
  - lib/fog/ovirt/requests/compute/v3/vm_start_with_cloudinit.rb
240
255
  - lib/fog/ovirt/requests/compute/v3/vm_ticket.rb
256
+ - lib/fog/ovirt/requests/compute/v4/add_interface.rb
257
+ - lib/fog/ovirt/requests/compute/v4/add_volume.rb
258
+ - lib/fog/ovirt/requests/compute/v4/create_vm.rb
259
+ - lib/fog/ovirt/requests/compute/v4/datacenters.rb
260
+ - lib/fog/ovirt/requests/compute/v4/destroy_interface.rb
261
+ - lib/fog/ovirt/requests/compute/v4/destroy_vm.rb
262
+ - lib/fog/ovirt/requests/compute/v4/destroy_volume.rb
263
+ - lib/fog/ovirt/requests/compute/v4/get_api_version.rb
264
+ - lib/fog/ovirt/requests/compute/v4/get_cluster.rb
265
+ - lib/fog/ovirt/requests/compute/v4/get_instance_type.rb
266
+ - lib/fog/ovirt/requests/compute/v4/get_quota.rb
267
+ - lib/fog/ovirt/requests/compute/v4/get_template.rb
268
+ - lib/fog/ovirt/requests/compute/v4/get_virtual_machine.rb
269
+ - lib/fog/ovirt/requests/compute/v4/list_clusters.rb
270
+ - lib/fog/ovirt/requests/compute/v4/list_instance_types.rb
271
+ - lib/fog/ovirt/requests/compute/v4/list_networks.rb
272
+ - lib/fog/ovirt/requests/compute/v4/list_operating_systems.rb
273
+ - lib/fog/ovirt/requests/compute/v4/list_quotas.rb
274
+ - lib/fog/ovirt/requests/compute/v4/list_template_interfaces.rb
275
+ - lib/fog/ovirt/requests/compute/v4/list_template_volumes.rb
276
+ - lib/fog/ovirt/requests/compute/v4/list_templates.rb
277
+ - lib/fog/ovirt/requests/compute/v4/list_virtual_machines.rb
278
+ - lib/fog/ovirt/requests/compute/v4/list_vm_interfaces.rb
279
+ - lib/fog/ovirt/requests/compute/v4/list_vm_volumes.rb
280
+ - lib/fog/ovirt/requests/compute/v4/list_volumes.rb
281
+ - lib/fog/ovirt/requests/compute/v4/mock_files/affinitygroup.xml
282
+ - lib/fog/ovirt/requests/compute/v4/mock_files/affinitygroup_vms.xml
283
+ - lib/fog/ovirt/requests/compute/v4/mock_files/affinitygroups.xml
284
+ - lib/fog/ovirt/requests/compute/v4/mock_files/cluster.xml
285
+ - lib/fog/ovirt/requests/compute/v4/mock_files/clusters.xml
286
+ - lib/fog/ovirt/requests/compute/v4/mock_files/data_centers.xml
287
+ - lib/fog/ovirt/requests/compute/v4/mock_files/disks.xml
288
+ - lib/fog/ovirt/requests/compute/v4/mock_files/instance_type.xml
289
+ - lib/fog/ovirt/requests/compute/v4/mock_files/instance_types.xml
290
+ - lib/fog/ovirt/requests/compute/v4/mock_files/nics.xml
291
+ - lib/fog/ovirt/requests/compute/v4/mock_files/operating_systems.xml
292
+ - lib/fog/ovirt/requests/compute/v4/mock_files/quotas.xml
293
+ - lib/fog/ovirt/requests/compute/v4/mock_files/storage_domains.xml
294
+ - lib/fog/ovirt/requests/compute/v4/mock_files/template.xml
295
+ - lib/fog/ovirt/requests/compute/v4/mock_files/templates.xml
296
+ - lib/fog/ovirt/requests/compute/v4/mock_files/vm.xml
297
+ - lib/fog/ovirt/requests/compute/v4/mock_files/vms.xml
298
+ - lib/fog/ovirt/requests/compute/v4/mock_files/volumes.xml
299
+ - lib/fog/ovirt/requests/compute/v4/storage_domains.rb
300
+ - lib/fog/ovirt/requests/compute/v4/update_interface.rb
301
+ - lib/fog/ovirt/requests/compute/v4/update_volume.rb
302
+ - lib/fog/ovirt/requests/compute/v4/vm_action.rb
303
+ - lib/fog/ovirt/requests/compute/v4/vm_ticket.rb
241
304
  - lib/fog/ovirt/version.rb
242
305
  - spec/fog/bin/ovirt_spec.rb
243
306
  - spec/fog/bin_spec.rb
@@ -255,14 +318,21 @@ files:
255
318
  - tests/ovirt/models/compute/servers_tests.rb
256
319
  - tests/ovirt/models/compute/template_tests.rb
257
320
  - tests/ovirt/models/compute/templates_tests.rb
258
- - tests/ovirt/requests/compute/client_tests.rb
259
- - tests/ovirt/requests/compute/create_vm_tests.rb
260
- - tests/ovirt/requests/compute/destroy_vm_tests.rb
261
- - tests/ovirt/requests/compute/list_datacenters_tests.rb
262
- - tests/ovirt/requests/compute/list_quotas_tests.rb
263
- - tests/ovirt/requests/compute/list_storage_domains_tests.rb
264
- - tests/ovirt/requests/compute/update_vm_tests.rb
265
- - tests/ovirt/requests/compute/update_volume_tests.rb
321
+ - tests/ovirt/requests/compute/v3/client_tests.rb
322
+ - tests/ovirt/requests/compute/v3/create_vm_tests.rb
323
+ - tests/ovirt/requests/compute/v3/destroy_vm_tests.rb
324
+ - tests/ovirt/requests/compute/v3/list_datacenters_tests.rb
325
+ - tests/ovirt/requests/compute/v3/list_quotas_tests.rb
326
+ - tests/ovirt/requests/compute/v3/list_storage_domains_tests.rb
327
+ - tests/ovirt/requests/compute/v3/update_vm_tests.rb
328
+ - tests/ovirt/requests/compute/v3/update_volume_tests.rb
329
+ - tests/ovirt/requests/compute/v4/client_tests.rb
330
+ - tests/ovirt/requests/compute/v4/create_vm_tests.rb
331
+ - tests/ovirt/requests/compute/v4/destroy_vm_tests.rb
332
+ - tests/ovirt/requests/compute/v4/list_datacenters_tests.rb
333
+ - tests/ovirt/requests/compute/v4/list_quotas_tests.rb
334
+ - tests/ovirt/requests/compute/v4/list_storage_domains_tests.rb
335
+ - tests/ovirt/requests/compute/v4/update_volume_tests.rb
266
336
  homepage: https://github.com/fog/fog-ovirt
267
337
  licenses:
268
338
  - MIT
@@ -283,7 +353,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
283
353
  version: '0'
284
354
  requirements: []
285
355
  rubyforge_project:
286
- rubygems_version: 2.6.14
356
+ rubygems_version: 2.6.12
287
357
  signing_key:
288
358
  specification_version: 4
289
359
  summary: Module for the 'fog' gem to support Ovirt.
@@ -302,11 +372,18 @@ test_files:
302
372
  - tests/ovirt/models/compute/servers_tests.rb
303
373
  - tests/ovirt/models/compute/template_tests.rb
304
374
  - tests/ovirt/models/compute/templates_tests.rb
305
- - tests/ovirt/requests/compute/client_tests.rb
306
- - tests/ovirt/requests/compute/create_vm_tests.rb
307
- - tests/ovirt/requests/compute/destroy_vm_tests.rb
308
- - tests/ovirt/requests/compute/list_datacenters_tests.rb
309
- - tests/ovirt/requests/compute/list_quotas_tests.rb
310
- - tests/ovirt/requests/compute/list_storage_domains_tests.rb
311
- - tests/ovirt/requests/compute/update_vm_tests.rb
312
- - tests/ovirt/requests/compute/update_volume_tests.rb
375
+ - tests/ovirt/requests/compute/v3/client_tests.rb
376
+ - tests/ovirt/requests/compute/v3/create_vm_tests.rb
377
+ - tests/ovirt/requests/compute/v3/destroy_vm_tests.rb
378
+ - tests/ovirt/requests/compute/v3/list_datacenters_tests.rb
379
+ - tests/ovirt/requests/compute/v3/list_quotas_tests.rb
380
+ - tests/ovirt/requests/compute/v3/list_storage_domains_tests.rb
381
+ - tests/ovirt/requests/compute/v3/update_vm_tests.rb
382
+ - tests/ovirt/requests/compute/v3/update_volume_tests.rb
383
+ - tests/ovirt/requests/compute/v4/client_tests.rb
384
+ - tests/ovirt/requests/compute/v4/create_vm_tests.rb
385
+ - tests/ovirt/requests/compute/v4/destroy_vm_tests.rb
386
+ - tests/ovirt/requests/compute/v4/list_datacenters_tests.rb
387
+ - tests/ovirt/requests/compute/v4/list_quotas_tests.rb
388
+ - tests/ovirt/requests/compute/v4/list_storage_domains_tests.rb
389
+ - tests/ovirt/requests/compute/v4/update_volume_tests.rb