fog-ovirt 1.1.6 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +12 -5
- data/lib/fog/bin/ovirt.rb +3 -3
- data/lib/fog/ovirt.rb +2 -4
- data/lib/fog/ovirt/compute.rb +12 -12
- data/lib/fog/ovirt/compute/v3.rb +2 -2
- data/lib/fog/ovirt/compute/v4.rb +4 -2
- data/lib/fog/ovirt/models/compute/affinity_group.rb +2 -2
- data/lib/fog/ovirt/models/compute/affinity_groups.rb +3 -3
- data/lib/fog/ovirt/models/compute/cluster.rb +2 -2
- data/lib/fog/ovirt/models/compute/clusters.rb +3 -3
- data/lib/fog/ovirt/models/compute/instance_type.rb +2 -2
- data/lib/fog/ovirt/models/compute/instance_types.rb +3 -3
- data/lib/fog/ovirt/models/compute/interface.rb +2 -2
- data/lib/fog/ovirt/models/compute/interfaces.rb +5 -5
- data/lib/fog/ovirt/models/compute/operating_system.rb +2 -2
- data/lib/fog/ovirt/models/compute/operating_systems.rb +3 -3
- data/lib/fog/ovirt/models/compute/quota.rb +2 -2
- data/lib/fog/ovirt/models/compute/quotas.rb +3 -3
- data/lib/fog/ovirt/models/compute/server.rb +4 -4
- data/lib/fog/ovirt/models/compute/servers.rb +3 -3
- data/lib/fog/ovirt/models/compute/template.rb +4 -4
- data/lib/fog/ovirt/models/compute/templates.rb +3 -3
- data/lib/fog/ovirt/models/compute/volume.rb +4 -4
- data/lib/fog/ovirt/models/compute/volumes.rb +5 -5
- data/lib/fog/ovirt/requests/compute/v3/activate_volume.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/add_interface.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/add_to_affinity_group.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/add_volume.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/attach_volume.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/create_affinity_group.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/create_vm.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/datacenters.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/deactivate_volume.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/destroy_affinity_group.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/destroy_interface.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/destroy_vm.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/destroy_volume.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/detach_volume.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/get_affinity_group.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/get_api_version.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/get_cluster.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/get_instance_type.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/get_quota.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/get_template.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/get_virtual_machine.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_affinity_group_vms.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_affinity_groups.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_clusters.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_instance_types.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_networks.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_operating_systems.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_quotas.rb +3 -3
- data/lib/fog/ovirt/requests/compute/v3/list_template_interfaces.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_template_volumes.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_templates.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_virtual_machines.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_vm_interfaces.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_vm_volumes.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/list_volumes.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/remove_from_affinity_group.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/storage_domains.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/update_interface.rb +4 -4
- data/lib/fog/ovirt/requests/compute/v3/update_vm.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/update_volume.rb +4 -4
- data/lib/fog/ovirt/requests/compute/v3/vm_action.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/vm_start_with_cloudinit.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v3/vm_ticket.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/add_interface.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/add_volume.rb +6 -7
- data/lib/fog/ovirt/requests/compute/v4/create_vm.rb +3 -3
- data/lib/fog/ovirt/requests/compute/v4/datacenters.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/destroy_interface.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/destroy_vm.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/destroy_volume.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/get_api_version.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/get_cluster.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/get_instance_type.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/get_quota.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/get_template.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/get_virtual_machine.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_clusters.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_instance_types.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_networks.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_operating_systems.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_quotas.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_template_interfaces.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_template_volumes.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_templates.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_virtual_machines.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_vm_interfaces.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_vm_volumes.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/list_volumes.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/storage_domains.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/update_interface.rb +4 -4
- data/lib/fog/ovirt/requests/compute/v4/update_vm.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/update_volume.rb +4 -4
- data/lib/fog/ovirt/requests/compute/v4/vm_action.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/vm_start_with_cloudinit.rb +2 -2
- data/lib/fog/ovirt/requests/compute/v4/vm_ticket.rb +2 -2
- data/lib/fog/ovirt/version.rb +1 -1
- data/tests/ovirt/compute_tests.rb +2 -2
- data/tests/ovirt/models/compute/cluster_tests.rb +3 -3
- data/tests/ovirt/models/compute/clusters_tests.rb +3 -3
- data/tests/ovirt/models/compute/interface_tests.rb +3 -3
- data/tests/ovirt/models/compute/interfaces_tests.rb +3 -3
- data/tests/ovirt/models/compute/operating_system_tests.rb +3 -3
- data/tests/ovirt/models/compute/operating_systems_tests.rb +3 -3
- data/tests/ovirt/models/compute/server_tests.rb +3 -3
- data/tests/ovirt/models/compute/servers_tests.rb +3 -3
- data/tests/ovirt/models/compute/template_tests.rb +3 -3
- data/tests/ovirt/models/compute/templates_tests.rb +3 -3
- data/tests/ovirt/requests/compute/v3/client_tests.rb +2 -2
- data/tests/ovirt/requests/compute/v3/create_vm_tests.rb +2 -2
- data/tests/ovirt/requests/compute/v3/destroy_vm_tests.rb +2 -2
- data/tests/ovirt/requests/compute/v3/list_datacenters_tests.rb +2 -2
- data/tests/ovirt/requests/compute/v3/list_quotas_tests.rb +2 -2
- data/tests/ovirt/requests/compute/v3/list_storage_domains_tests.rb +2 -2
- data/tests/ovirt/requests/compute/v3/update_vm_tests.rb +2 -2
- data/tests/ovirt/requests/compute/v3/update_volume_tests.rb +2 -2
- data/tests/ovirt/requests/compute/v4/client_tests.rb +2 -2
- data/tests/ovirt/requests/compute/v4/create_vm_tests.rb +2 -2
- data/tests/ovirt/requests/compute/v4/destroy_vm_tests.rb +2 -2
- data/tests/ovirt/requests/compute/v4/list_datacenters_tests.rb +1 -1
- data/tests/ovirt/requests/compute/v4/list_quotas_tests.rb +1 -1
- data/tests/ovirt/requests/compute/v4/list_storage_domains_tests.rb +1 -1
- data/tests/ovirt/requests/compute/v4/update_volume_tests.rb +1 -1
- metadata +3 -3
@@ -1,5 +1,5 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
interfaces = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new | interface model", ["ovirt"]) do
|
2
|
+
interfaces = Fog::Ovirt::Compute.new.servers.last.interfaces
|
3
3
|
interface = interfaces.last
|
4
4
|
|
5
5
|
tests("The interface model should") do
|
@@ -20,6 +20,6 @@ Shindo.tests("Fog::Compute[:ovirt] | interface model", ["ovirt"]) do
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
23
|
-
test("be a kind of Fog::Compute::
|
23
|
+
test("be a kind of Fog::Ovirt::Compute::Interface") { interface.is_a? Fog::Ovirt::Compute::Interface }
|
24
24
|
end
|
25
25
|
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
interfaces = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new | interfaces collection", ["ovirt"]) do
|
2
|
+
interfaces = Fog::Ovirt::Compute.new.interfaces
|
3
3
|
|
4
4
|
tests("The interfaces collection") do
|
5
|
-
test("should be a kind of Fog::Compute::
|
5
|
+
test("should be a kind of Fog::Ovirt::Compute::Interfaces") { interfaces.is_a? Fog::Ovirt::Compute::Interfaces }
|
6
6
|
end
|
7
7
|
end
|
@@ -1,5 +1,5 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
operating_systems = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new | operating_system model", ["ovirt"]) do
|
2
|
+
operating_systems = Fog::Ovirt::Compute.new.operating_systems
|
3
3
|
operating_system = operating_systems.last
|
4
4
|
|
5
5
|
tests("The operating_system model should") do
|
@@ -18,6 +18,6 @@ Shindo.tests("Fog::Compute[:ovirt] | operating_system model", ["ovirt"]) do
|
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
21
|
-
test("be a kind of Fog::Compute::
|
21
|
+
test("be a kind of Fog::Ovirt::Compute::OperatingSystem") { operating_system.is_a? Fog::Ovirt::Compute::OperatingSystem }
|
22
22
|
end
|
23
23
|
end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
operating_systems = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new | operating_systems collection", ["ovirt"]) do
|
2
|
+
operating_systems = Fog::Ovirt::Compute.new.operating_systems
|
3
3
|
|
4
4
|
tests("The servers collection") do
|
5
5
|
test("should not be empty") { !operating_systems.empty? }
|
6
|
-
test("should be a kind of Fog::Compute::
|
6
|
+
test("should be a kind of Fog::Ovirt::Compute::OperatingSystems") { operating_systems.is_a? Fog::Ovirt::Compute::OperatingSystems }
|
7
7
|
end
|
8
8
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# rubocop:disable Metrics/BlockLength
|
2
|
-
Shindo.tests("Fog::Compute
|
3
|
-
servers = Fog::Compute
|
2
|
+
Shindo.tests("Fog::Ovirt::Compute.new | server model", ["ovirt"]) do
|
3
|
+
servers = Fog::Ovirt::Compute.new.servers
|
4
4
|
server = servers.last
|
5
5
|
|
6
6
|
tests("The server model should") do
|
@@ -42,7 +42,7 @@ Shindo.tests("Fog::Compute[:ovirt] | server model", ["ovirt"]) do
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
end
|
45
|
-
test("be a kind of Fog::Compute::
|
45
|
+
test("be a kind of Fog::Ovirt::Compute::Server") { server.is_a? Fog::Ovirt::Compute::Server }
|
46
46
|
end
|
47
47
|
end
|
48
48
|
# rubocop:enable Metrics/BlockLength
|
@@ -1,9 +1,9 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
servers = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new | servers collection", ["ovirt"]) do
|
2
|
+
servers = Fog::Ovirt::Compute.new.servers
|
3
3
|
|
4
4
|
tests("The servers collection") do
|
5
5
|
test("should not be empty") { !servers.empty? }
|
6
|
-
test("should be a kind of Fog::Compute::
|
6
|
+
test("should be a kind of Fog::Ovirt::Compute::Servers") { servers.is_a? Fog::Ovirt::Compute::Servers }
|
7
7
|
tests("should be able to reload itself").succeeds { servers.reload }
|
8
8
|
tests("should be able to get a model") do
|
9
9
|
tests("by instance uuid").succeeds { servers.get servers.first.id }
|
@@ -1,5 +1,5 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
templates = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new | template model", ["ovirt"]) do
|
2
|
+
templates = Fog::Ovirt::Compute.new.templates
|
3
3
|
template = templates.last
|
4
4
|
|
5
5
|
tests("The template model should") do
|
@@ -21,6 +21,6 @@ Shindo.tests("Fog::Compute[:ovirt] | template model", ["ovirt"]) do
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
24
|
-
test("be a kind of Fog::Compute::
|
24
|
+
test("be a kind of Fog::Ovirt::Compute::Template") { template.is_a? Fog::Ovirt::Compute::Template }
|
25
25
|
end
|
26
26
|
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
templates = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new | templates collection", ["ovirt"]) do
|
2
|
+
templates = Fog::Ovirt::Compute.new.templates
|
3
3
|
|
4
4
|
tests("The templates collection") do
|
5
|
-
test("should be a kind of Fog::Compute::
|
5
|
+
test("should be a kind of Fog::Ovirt::Compute::Templates") { templates.is_a? Fog::Ovirt::Compute::Templates }
|
6
6
|
end
|
7
7
|
end
|
@@ -1,11 +1,11 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new | client", ["ovirt"]) do
|
2
2
|
before do
|
3
3
|
@client_mock = Object.new
|
4
4
|
def @client_mock.foo
|
5
5
|
raise OVIRT::OvirtException, "Test"
|
6
6
|
end
|
7
7
|
|
8
|
-
@object_under_test = Fog::Compute::
|
8
|
+
@object_under_test = Fog::Ovirt::Compute::ExceptionWrapper.new(@client_mock)
|
9
9
|
end
|
10
10
|
|
11
11
|
tests("Raises the right type of exception")
|
@@ -1,5 +1,5 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
compute = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute | vm_destroy request", ["ovirt"]) do
|
2
|
+
compute = Fog::Ovirt::Compute.new
|
3
3
|
compute.create_vm(:name => "fog-" + Time.now.to_i.to_s, :cluster_name => "Default") if compute.servers.all(:search => "fog-*").empty?
|
4
4
|
vm_id = compute.servers.all(:search => "fog-*").last.id
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
compute = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute | datacenters request", ["ovirt"]) do
|
2
|
+
compute = Fog::Ovirt::Compute.new
|
3
3
|
|
4
4
|
tests("When listing all datacenters") do
|
5
5
|
response = compute.datacenters
|
@@ -1,5 +1,5 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
compute = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute | quotas request", ["ovirt"]) do
|
2
|
+
compute = Fog::Ovirt::Compute.new
|
3
3
|
|
4
4
|
tests("When listing all quotas") do
|
5
5
|
response = compute.quotas
|
@@ -1,5 +1,5 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
compute = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute | storage_domains request", ["ovirt"]) do
|
2
|
+
compute = Fog::Ovirt::Compute.new
|
3
3
|
|
4
4
|
tests("When listing all storage_domains") do
|
5
5
|
response = compute.storage_domains
|
@@ -1,5 +1,5 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
compute = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute | vm_update request", ["ovirt"]) do
|
2
|
+
compute = Fog::Ovirt::Compute.new
|
3
3
|
compute.create_vm(:name => "fog-" + Time.now.to_i.to_s, :cluster_name => "Default") if compute.servers.all(:search => "fog-*").empty?
|
4
4
|
vm = compute.servers.all(:search => "fog-*").last
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
compute = Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute | update_volume request", ["ovirt"]) do
|
2
|
+
compute = Fog::Ovirt::Compute.new
|
3
3
|
compute.create_vm(:name => "fog-" + Time.now.to_i.to_s, :cluster_name => "Default") if compute.servers.all(:search => "fog-*").empty?
|
4
4
|
vm_id = compute.servers.all(:search => "fog-*").last
|
5
5
|
|
@@ -1,11 +1,11 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new | client", ["ovirt"]) do
|
2
2
|
before do
|
3
3
|
@client_mock = Object.new
|
4
4
|
def @client_mock.foo
|
5
5
|
raise OVIRT::OvirtException, "Test"
|
6
6
|
end
|
7
7
|
|
8
|
-
@object_under_test = Fog::Compute::
|
8
|
+
@object_under_test = Fog::Ovirt::Compute::ExceptionWrapper.new(@client_mock)
|
9
9
|
end
|
10
10
|
|
11
11
|
tests("Raises the right type of exception")
|
@@ -1,5 +1,5 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
compute = Fog::Compute.new(:
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute v4 | vm_create request", "ovirt") do
|
2
|
+
compute = Fog::Ovirt::Compute.new(:api_version => "v4")
|
3
3
|
name_base = Time.now.to_i
|
4
4
|
|
5
5
|
tests("Create VM") do
|
@@ -1,5 +1,5 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
2
|
-
compute = Fog::Compute.new(:
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute v4 | vm_destroy request", ["ovirt"]) do
|
2
|
+
compute = Fog::Ovirt::Compute.new(:api_version => "v4")
|
3
3
|
compute.create_vm(:name => "fog-" + Time.now.to_i.to_s, :cluster_name => "Default") if compute.servers.all(:search => "fog-*").empty?
|
4
4
|
vm_id = compute.servers.all(:search => "fog-*").last.id
|
5
5
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new v4 | datacenters request", ["ovirt"]) do
|
2
2
|
compute = Fog::Compute.new(:provider => :ovirt, :api_version => "v4")
|
3
3
|
|
4
4
|
tests("When listing all datacenters") do
|
@@ -1,4 +1,4 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new v4 | storage_domains request", ["ovirt"]) do
|
2
2
|
compute = Fog::Compute.new(:provider => :ovirt, :api_version => "v4")
|
3
3
|
|
4
4
|
tests("When listing all storage_domains") do
|
@@ -1,4 +1,4 @@
|
|
1
|
-
Shindo.tests("Fog::Compute
|
1
|
+
Shindo.tests("Fog::Ovirt::Compute.new v4 | update_volume request", ["ovirt"]) do
|
2
2
|
compute = Fog::Compute.new(:provider => :ovirt, :api_version => "v4")
|
3
3
|
compute.create_vm(:name => "fog-" + Time.now.to_i.to_s, :cluster_name => "Default") if compute.servers.all(:search => "fog-*").empty?
|
4
4
|
vm_id = compute.servers.all(:search => "fog-*").last
|
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.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ori Rabin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -353,7 +353,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
353
353
|
- !ruby/object:Gem::Version
|
354
354
|
version: '0'
|
355
355
|
requirements: []
|
356
|
-
rubygems_version: 3.0.
|
356
|
+
rubygems_version: 3.0.3
|
357
357
|
signing_key:
|
358
358
|
specification_version: 4
|
359
359
|
summary: Module for the 'fog' gem to support Ovirt.
|