fog-libvirt 0.4.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/fog-libvirt.gemspec +7 -16
- data/lib/fog/bin/libvirt.rb +2 -2
- data/lib/fog/libvirt.rb +1 -3
- data/lib/fog/libvirt/compute.rb +6 -4
- data/lib/fog/libvirt/models/compute/README.md +16 -0
- data/lib/fog/libvirt/models/compute/interface.rb +2 -2
- data/lib/fog/libvirt/models/compute/interfaces.rb +3 -3
- data/lib/fog/libvirt/models/compute/network.rb +3 -3
- data/lib/fog/libvirt/models/compute/networks.rb +3 -3
- data/lib/fog/libvirt/models/compute/nic.rb +2 -2
- data/lib/fog/libvirt/models/compute/nics.rb +3 -3
- data/lib/fog/libvirt/models/compute/node.rb +2 -2
- data/lib/fog/libvirt/models/compute/nodes.rb +3 -3
- data/lib/fog/libvirt/models/compute/pool.rb +2 -2
- data/lib/fog/libvirt/models/compute/pools.rb +3 -3
- data/lib/fog/libvirt/models/compute/server.rb +149 -9
- data/lib/fog/libvirt/models/compute/servers.rb +3 -3
- data/lib/fog/libvirt/models/compute/templates/server.xml.erb +55 -0
- data/lib/fog/libvirt/models/compute/templates/volume.xml.erb +4 -4
- data/lib/fog/libvirt/models/compute/util/uri.rb +2 -2
- data/lib/fog/libvirt/models/compute/util/util.rb +2 -2
- data/lib/fog/libvirt/models/compute/volume.rb +11 -9
- data/lib/fog/libvirt/models/compute/volumes.rb +3 -3
- data/lib/fog/libvirt/requests/compute/clone_volume.rb +3 -3
- data/lib/fog/libvirt/requests/compute/create_domain.rb +2 -2
- data/lib/fog/libvirt/requests/compute/create_volume.rb +2 -2
- data/lib/fog/libvirt/requests/compute/define_domain.rb +2 -2
- data/lib/fog/libvirt/requests/compute/define_pool.rb +2 -2
- data/lib/fog/libvirt/requests/compute/destroy_interface.rb +2 -2
- data/lib/fog/libvirt/requests/compute/destroy_network.rb +2 -2
- data/lib/fog/libvirt/requests/compute/dhcp_leases.rb +2 -2
- data/lib/fog/libvirt/requests/compute/get_node_info.rb +2 -2
- data/lib/fog/libvirt/requests/compute/libversion.rb +18 -0
- data/lib/fog/libvirt/requests/compute/list_domains.rb +9 -3
- data/lib/fog/libvirt/requests/compute/list_interfaces.rb +2 -2
- data/lib/fog/libvirt/requests/compute/list_networks.rb +11 -3
- data/lib/fog/libvirt/requests/compute/list_pool_volumes.rb +2 -2
- data/lib/fog/libvirt/requests/compute/list_pools.rb +2 -2
- data/lib/fog/libvirt/requests/compute/list_volumes.rb +16 -8
- data/lib/fog/libvirt/requests/compute/pool_action.rb +2 -2
- data/lib/fog/libvirt/requests/compute/update_autostart.rb +18 -0
- data/lib/fog/libvirt/requests/compute/update_display.rb +2 -2
- data/lib/fog/libvirt/requests/compute/upload_volume.rb +2 -2
- data/lib/fog/libvirt/requests/compute/vm_action.rb +2 -2
- data/lib/fog/libvirt/requests/compute/volume_action.rb +2 -2
- data/lib/fog/libvirt/version.rb +1 -1
- data/minitests/server/server_test.rb +64 -0
- data/minitests/server/user_data_iso_test.rb +8 -8
- data/tests/libvirt/compute_tests.rb +2 -1
- data/tests/libvirt/models/compute/interface_tests.rb +1 -1
- data/tests/libvirt/models/compute/interfaces_tests.rb +1 -1
- data/tests/libvirt/models/compute/network_tests.rb +1 -1
- data/tests/libvirt/models/compute/networks_tests.rb +1 -1
- data/tests/libvirt/models/compute/nic_tests.rb +1 -1
- data/tests/libvirt/models/compute/pool_tests.rb +1 -1
- data/tests/libvirt/models/compute/pools_tests.rb +1 -1
- data/tests/libvirt/models/compute/server_tests.rb +4 -1
- data/tests/libvirt/models/compute/servers_tests.rb +1 -1
- data/tests/libvirt/models/compute/volume_tests.rb +1 -1
- data/tests/libvirt/models/compute/volumes_tests.rb +2 -1
- data/tests/libvirt/requests/compute/update_autostart_tests.rb +12 -0
- metadata +27 -15
@@ -0,0 +1,18 @@
|
|
1
|
+
module Fog
|
2
|
+
module Libvirt
|
3
|
+
class Compute
|
4
|
+
class Real
|
5
|
+
def update_autostart(uuid, value)
|
6
|
+
domain = client.lookup_domain_by_uuid(uuid)
|
7
|
+
domain.autostart = value
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
class Mock
|
12
|
+
def update_autostart(uuid, value)
|
13
|
+
value
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/fog/libvirt/version.rb
CHANGED
@@ -0,0 +1,64 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class ServerTest < Minitest::Test
|
4
|
+
def setup
|
5
|
+
@compute = Fog::Compute[:libvirt]
|
6
|
+
@server = @compute.servers.new(:name => "test")
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_addresses_calls_compat_version_for_no_dhcp_leases_support
|
10
|
+
network = Libvirt::Network.new
|
11
|
+
@compute.expects(:networks).returns([network])
|
12
|
+
network.expects(:dhcp_leases).raises(NoMethodError)
|
13
|
+
@server.expects(:addresses_ip_command).returns(true)
|
14
|
+
|
15
|
+
@server.send(:addresses)
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_addresses_calls_compat_version_for_older_libvirt
|
19
|
+
network = Libvirt::Network.new
|
20
|
+
@compute.expects(:libversion).returns(1002007)
|
21
|
+
@compute.expects(:networks).returns([network])
|
22
|
+
network.expects(:dhcp_leases).returns(true)
|
23
|
+
@server.expects(:addresses_ip_command).returns(true)
|
24
|
+
|
25
|
+
@server.send(:addresses)
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_addresses_calls_compat_version_for_newer_libvirt
|
29
|
+
network = Libvirt::Network.new
|
30
|
+
@compute.expects(:libversion).returns(1002008)
|
31
|
+
@compute.expects(:networks).returns([network])
|
32
|
+
network.expects(:dhcp_leases).returns(true)
|
33
|
+
@server.expects(:addresses_dhcp).returns(true)
|
34
|
+
|
35
|
+
@server.send(:addresses)
|
36
|
+
end
|
37
|
+
|
38
|
+
def test_ssh_ip_command_success
|
39
|
+
fog_ssh = MiniTest::Mock.new
|
40
|
+
result = MiniTest::Mock.new
|
41
|
+
result.expect(:status, 0)
|
42
|
+
result.expect(:stdout, "any_ip")
|
43
|
+
fog_ssh.expect(:run, [result], [String])
|
44
|
+
uri = ::Fog::Libvirt::Util::URI.new('qemu+ssh://localhost:22?keyfile=nofile')
|
45
|
+
Fog::SSH.stub(:new, fog_ssh) do
|
46
|
+
@server.send(:ssh_ip_command, "test command", uri)
|
47
|
+
end
|
48
|
+
fog_ssh.verify
|
49
|
+
end
|
50
|
+
|
51
|
+
def test_local_ip_command_success
|
52
|
+
proc_info = MiniTest::Mock.new
|
53
|
+
proc_info.expect(:each_line, "127.0.0.1")
|
54
|
+
proc_info.expect(:pid, 0)
|
55
|
+
status = MiniTest::Mock.new
|
56
|
+
status.expect(:exitstatus, 0)
|
57
|
+
Process.stubs(:waitpid2).returns([0, status])
|
58
|
+
IO.stub(:popen, true, proc_info) do
|
59
|
+
@server.send(:local_ip_command, "test command")
|
60
|
+
end
|
61
|
+
proc_info.verify
|
62
|
+
status.verify
|
63
|
+
end
|
64
|
+
end
|
@@ -34,10 +34,10 @@ class UserDataIsoTest < Minitest::Test
|
|
34
34
|
def test_volume_is_created_during_user_data_iso_generation
|
35
35
|
iso_path = "iso_file_path"
|
36
36
|
@server.stubs(:system).returns(true)
|
37
|
-
Fog::Compute::
|
37
|
+
Fog::Libvirt::Compute::Volumes.any_instance.expects(:create).
|
38
38
|
with(has_entries(:name => @server.cloud_init_volume_name)).
|
39
39
|
returns(@compute.volumes.new)
|
40
|
-
Fog::Compute::
|
40
|
+
Fog::Libvirt::Compute::Volume.any_instance.stubs(:upload_image)
|
41
41
|
|
42
42
|
@server.create_user_data_iso
|
43
43
|
end
|
@@ -45,8 +45,8 @@ class UserDataIsoTest < Minitest::Test
|
|
45
45
|
def test_volume_is_uploaded_during_user_data_iso_generation
|
46
46
|
iso_path = "iso_file_path"
|
47
47
|
@server.stubs(:system).returns(true)
|
48
|
-
Fog::Compute::
|
49
|
-
Fog::Compute::
|
48
|
+
Fog::Libvirt::Compute::Volumes.any_instance.stubs(:create).returns(@compute.volumes.new)
|
49
|
+
Fog::Libvirt::Compute::Volume.any_instance.expects(:upload_image).returns(true)
|
50
50
|
|
51
51
|
@server.create_user_data_iso
|
52
52
|
end
|
@@ -54,8 +54,8 @@ class UserDataIsoTest < Minitest::Test
|
|
54
54
|
def test_iso_file_is_set_during_user_data_iso_generation
|
55
55
|
iso_path = "iso_file_path"
|
56
56
|
@server.stubs(:system).returns(true)
|
57
|
-
Fog::Compute::
|
58
|
-
Fog::Compute::
|
57
|
+
Fog::Libvirt::Compute::Volumes.any_instance.stubs(:create).returns(@compute.volumes.new)
|
58
|
+
Fog::Libvirt::Compute::Volume.any_instance.stubs(:upload_image)
|
59
59
|
|
60
60
|
@server.create_user_data_iso
|
61
61
|
assert_equal @server.cloud_init_volume_name, @server.iso_file
|
@@ -65,8 +65,8 @@ class UserDataIsoTest < Minitest::Test
|
|
65
65
|
@server.stubs(:system).returns(true)
|
66
66
|
volume = @compute.volumes.new
|
67
67
|
volume.stubs(:path).returns("/srv/libvirt/#{@server.cloud_init_volume_name}")
|
68
|
-
Fog::Compute::
|
69
|
-
Fog::Compute::
|
68
|
+
Fog::Libvirt::Compute::Volumes.any_instance.stubs(:create).returns(volume)
|
69
|
+
Fog::Libvirt::Compute::Volume.any_instance.stubs(:upload_image)
|
70
70
|
|
71
71
|
@server.create_user_data_iso
|
72
72
|
assert_equal '/srv/libvirt', @server.iso_dir
|
@@ -9,7 +9,8 @@ Shindo.tests('Fog::Compute[:libvirt]', ['libvirt']) do
|
|
9
9
|
end
|
10
10
|
|
11
11
|
tests("Compute requests") do
|
12
|
-
%w{ create_domain create_volume define_domain define_pool destroy_interface destroy_network get_node_info
|
12
|
+
%w{ create_domain create_volume define_domain define_pool destroy_interface destroy_network get_node_info
|
13
|
+
update_autostart list_domains
|
13
14
|
list_interfaces list_networks list_pools list_pool_volumes list_volumes pool_action vm_action volume_action
|
14
15
|
dhcp_leases }.each do |request|
|
15
16
|
test("it should respond to #{request}") { compute.respond_to? request }
|
@@ -21,7 +21,7 @@ Shindo.tests('Fog::Compute[:libvirt] | interface model', ['libvirt']) 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::Libvirt::Compute::Interface') { interface.kind_of? Fog::Libvirt::Compute::Interface }
|
25
25
|
end
|
26
26
|
|
27
27
|
end
|
@@ -4,7 +4,7 @@ Shindo.tests('Fog::Compute[:libvirt] | interfaces collection', ['libvirt']) do
|
|
4
4
|
|
5
5
|
tests('The interfaces collection') do
|
6
6
|
test('should not be empty') { not interfaces.empty? }
|
7
|
-
test('should be a kind of Fog::Compute::
|
7
|
+
test('should be a kind of Fog::Libvirt::Compute::Interfaces') { interfaces.kind_of? Fog::Libvirt::Compute::Interfaces }
|
8
8
|
tests('should be able to reload itself').succeeds { interfaces.reload }
|
9
9
|
tests('should be able to get a model') do
|
10
10
|
tests('by instance name').succeeds { interfaces.get interfaces.first.name }
|
@@ -25,7 +25,7 @@ Shindo.tests('Fog::Compute[:libvirt] | network model', ['libvirt']) do
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
28
|
-
test('be a kind of Fog::Compute::
|
28
|
+
test('be a kind of Fog::Libvirt::Compute::Network') { network.kind_of? Fog::Libvirt::Compute::Network }
|
29
29
|
end
|
30
30
|
|
31
31
|
end
|
@@ -3,7 +3,7 @@ Shindo.tests('Fog::Compute[:libvirt] | networks collection', ['libvirt']) do
|
|
3
3
|
networks = Fog::Compute[:libvirt].networks
|
4
4
|
|
5
5
|
tests('The networks collection') do
|
6
|
-
test('should be a kind of Fog::Compute::
|
6
|
+
test('should be a kind of Fog::Libvirt::Compute::Networks') { networks.kind_of? Fog::Libvirt::Compute::Networks }
|
7
7
|
tests('should be able to reload itself').succeeds { networks.reload }
|
8
8
|
tests('should be able to get a model') do
|
9
9
|
tests('by instance id').succeeds { networks.get networks.first.uuid }
|
@@ -25,7 +25,7 @@ Shindo.tests('Fog::Compute[:libvirt] | nic model', ['libvirt']) do
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
28
|
-
test('be a kind of Fog::Compute::
|
28
|
+
test('be a kind of Fog::Libvirt::Compute::Nic') { nic.kind_of? Fog::Libvirt::Compute::Nic }
|
29
29
|
end
|
30
30
|
|
31
31
|
end
|
@@ -21,7 +21,7 @@ Shindo.tests('Fog::Compute[:libvirt] | interface model', ['libvirt']) 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::Libvirt::Compute::Pool') { pool.kind_of? Fog::Libvirt::Compute::Pool }
|
25
25
|
end
|
26
26
|
|
27
27
|
end
|
@@ -4,7 +4,7 @@ Shindo.tests('Fog::Compute[:libvirt] | pools request', ['libvirt']) do
|
|
4
4
|
|
5
5
|
tests('The pools collection') do
|
6
6
|
test('should not be empty') { not pools.empty? }
|
7
|
-
test('should be a kind of Fog::Compute::
|
7
|
+
test('should be a kind of Fog::Libvirt::Compute::Pools') { pools.kind_of? Fog::Libvirt::Compute::Pools }
|
8
8
|
tests('should be able to reload itself').succeeds { pools.reload }
|
9
9
|
tests('should be able to get a model') do
|
10
10
|
tests('by instance id').succeeds { pools.get pools.first.uuid }
|
@@ -5,6 +5,8 @@ Shindo.tests('Fog::Compute[:libvirt] | server model', ['libvirt']) do
|
|
5
5
|
|
6
6
|
tests('The server model should') do
|
7
7
|
tests('have the action') do
|
8
|
+
test('autostart') { server.respond_to? 'autostart' }
|
9
|
+
test('update_autostart') { server.respond_to? 'update_autostart' }
|
8
10
|
test('reload') { server.respond_to? 'reload' }
|
9
11
|
%w{ start stop destroy reboot suspend }.each do |action|
|
10
12
|
test(action) { server.respond_to? action }
|
@@ -42,6 +44,7 @@ Shindo.tests('Fog::Compute[:libvirt] | server model', ['libvirt']) do
|
|
42
44
|
:volumes,
|
43
45
|
:active,
|
44
46
|
:boot_order,
|
47
|
+
:hugepages,
|
45
48
|
:state]
|
46
49
|
tests("The server model should respond to") do
|
47
50
|
attributes.each do |attribute|
|
@@ -55,6 +58,6 @@ Shindo.tests('Fog::Compute[:libvirt] | server model', ['libvirt']) do
|
|
55
58
|
end
|
56
59
|
end
|
57
60
|
end
|
58
|
-
test('be a kind of Fog::Compute::
|
61
|
+
test('be a kind of Fog::Libvirt::Compute::Server') { server.kind_of? Fog::Libvirt::Compute::Server }
|
59
62
|
end
|
60
63
|
end
|
@@ -4,7 +4,7 @@ Shindo.tests('Fog::Compute[:libvirt] | servers collection', ['libvirt']) do
|
|
4
4
|
|
5
5
|
tests('The servers collection') do
|
6
6
|
test('should not be empty') { not servers.empty? }
|
7
|
-
test('should be a kind of Fog::Compute::
|
7
|
+
test('should be a kind of Fog::Libvirt::Compute::Servers') { servers.kind_of? Fog::Libvirt::Compute::Servers }
|
8
8
|
tests('should be able to reload itself').succeeds { servers.reload }
|
9
9
|
tests('should be able to get a model') do
|
10
10
|
tests('by instance uuid').succeeds { servers.get servers.first.id }
|
@@ -24,7 +24,7 @@ Shindo.tests('Fog::Compute[:libvirt] | volume model', ['libvirt']) do
|
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
27
|
-
test('be a kind of Fog::Compute::
|
27
|
+
test('be a kind of Fog::Libvirt::Compute::Volume') { volume.kind_of? Fog::Libvirt::Compute::Volume }
|
28
28
|
end
|
29
29
|
|
30
30
|
tests('Cloning volumes should') do
|
@@ -4,11 +4,12 @@ Shindo.tests('Fog::Compute[:libvirt] | volumes collection', ['libvirt']) do
|
|
4
4
|
|
5
5
|
tests('The volumes collection') do
|
6
6
|
test('should not be empty') { not volumes.empty? }
|
7
|
-
test('should be a kind of Fog::Compute::
|
7
|
+
test('should be a kind of Fog::Libvirt::Compute::Volumes') { volumes.kind_of? Fog::Libvirt::Compute::Volumes }
|
8
8
|
tests('should be able to reload itself').succeeds { volumes.reload }
|
9
9
|
tests('should be able to get a model') do
|
10
10
|
tests('by instance uuid').succeeds { volumes.get volumes.first.id }
|
11
11
|
end
|
12
|
+
test('filtered should be empty') { volumes.all(:name => "does-not-exist").empty? }
|
12
13
|
end
|
13
14
|
|
14
15
|
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
Shindo.tests('Fog::Compute[:libvirt] | update_autostart request', ['libvirt']) do
|
2
|
+
|
3
|
+
servers = Fog::Compute[:libvirt].servers
|
4
|
+
|
5
|
+
tests('The response should') do
|
6
|
+
test('should not be empty') { not servers.empty? }
|
7
|
+
server = servers.first
|
8
|
+
tests('should be false').succeeds { server.autostart == false }
|
9
|
+
server.update_autostart(true)
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
metadata
CHANGED
@@ -1,22 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-libvirt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- geemus (Wesley Beary)
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.27'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 1.27.4
|
@@ -24,9 +21,6 @@ dependencies:
|
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '1.27'
|
30
24
|
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
26
|
version: 1.27.4
|
@@ -87,7 +81,7 @@ dependencies:
|
|
87
81
|
- !ruby/object:Gem::Version
|
88
82
|
version: '0'
|
89
83
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
84
|
+
name: net-ssh
|
91
85
|
requirement: !ruby/object:Gem::Requirement
|
92
86
|
requirements:
|
93
87
|
- - ">="
|
@@ -100,6 +94,20 @@ dependencies:
|
|
100
94
|
- - ">="
|
101
95
|
- !ruby/object:Gem::Version
|
102
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: minitest
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '5.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '5.0'
|
103
111
|
- !ruby/object:Gem::Dependency
|
104
112
|
name: minitest-stub-const
|
105
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -259,6 +267,7 @@ files:
|
|
259
267
|
- lib/fog/libvirt/requests/compute/destroy_network.rb
|
260
268
|
- lib/fog/libvirt/requests/compute/dhcp_leases.rb
|
261
269
|
- lib/fog/libvirt/requests/compute/get_node_info.rb
|
270
|
+
- lib/fog/libvirt/requests/compute/libversion.rb
|
262
271
|
- lib/fog/libvirt/requests/compute/list_domains.rb
|
263
272
|
- lib/fog/libvirt/requests/compute/list_interfaces.rb
|
264
273
|
- lib/fog/libvirt/requests/compute/list_networks.rb
|
@@ -267,11 +276,13 @@ files:
|
|
267
276
|
- lib/fog/libvirt/requests/compute/list_volumes.rb
|
268
277
|
- lib/fog/libvirt/requests/compute/mock_files/domain.xml
|
269
278
|
- lib/fog/libvirt/requests/compute/pool_action.rb
|
279
|
+
- lib/fog/libvirt/requests/compute/update_autostart.rb
|
270
280
|
- lib/fog/libvirt/requests/compute/update_display.rb
|
271
281
|
- lib/fog/libvirt/requests/compute/upload_volume.rb
|
272
282
|
- lib/fog/libvirt/requests/compute/vm_action.rb
|
273
283
|
- lib/fog/libvirt/requests/compute/volume_action.rb
|
274
284
|
- lib/fog/libvirt/version.rb
|
285
|
+
- minitests/server/server_test.rb
|
275
286
|
- minitests/server/user_data_iso_test.rb
|
276
287
|
- minitests/test_helper.rb
|
277
288
|
- tests/helper.rb
|
@@ -295,12 +306,13 @@ files:
|
|
295
306
|
- tests/libvirt/requests/compute/create_domain_tests.rb
|
296
307
|
- tests/libvirt/requests/compute/define_domain_tests.rb
|
297
308
|
- tests/libvirt/requests/compute/dhcp_leases_tests.rb
|
309
|
+
- tests/libvirt/requests/compute/update_autostart_tests.rb
|
298
310
|
- tests/libvirt/requests/compute/update_display.rb
|
299
311
|
homepage: http://github.com/fog/fog-libvirt
|
300
312
|
licenses:
|
301
313
|
- MIT
|
302
314
|
metadata: {}
|
303
|
-
post_install_message:
|
315
|
+
post_install_message:
|
304
316
|
rdoc_options:
|
305
317
|
- "--charset=UTF-8"
|
306
318
|
require_paths:
|
@@ -309,16 +321,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
309
321
|
requirements:
|
310
322
|
- - ">="
|
311
323
|
- !ruby/object:Gem::Version
|
312
|
-
version:
|
324
|
+
version: 2.0.0
|
313
325
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
314
326
|
requirements:
|
315
327
|
- - ">="
|
316
328
|
- !ruby/object:Gem::Version
|
317
329
|
version: '0'
|
318
330
|
requirements: []
|
319
|
-
|
320
|
-
|
321
|
-
signing_key:
|
331
|
+
rubygems_version: 3.1.4
|
332
|
+
signing_key:
|
322
333
|
specification_version: 2
|
323
334
|
summary: Module for the 'fog' gem to support libvirt
|
324
335
|
test_files:
|
@@ -343,4 +354,5 @@ test_files:
|
|
343
354
|
- tests/libvirt/requests/compute/create_domain_tests.rb
|
344
355
|
- tests/libvirt/requests/compute/define_domain_tests.rb
|
345
356
|
- tests/libvirt/requests/compute/dhcp_leases_tests.rb
|
357
|
+
- tests/libvirt/requests/compute/update_autostart_tests.rb
|
346
358
|
- tests/libvirt/requests/compute/update_display.rb
|