vagrant-libvirt 0.4.0 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +251 -33
- data/lib/vagrant-libvirt/action.rb +7 -1
- data/lib/vagrant-libvirt/action/clean_machine_folder.rb +30 -0
- data/lib/vagrant-libvirt/action/create_domain.rb +28 -11
- data/lib/vagrant-libvirt/action/create_domain_volume.rb +57 -55
- data/lib/vagrant-libvirt/action/create_network_interfaces.rb +0 -3
- data/lib/vagrant-libvirt/action/create_networks.rb +11 -4
- data/lib/vagrant-libvirt/action/destroy_domain.rb +1 -1
- data/lib/vagrant-libvirt/action/forward_ports.rb +36 -37
- data/lib/vagrant-libvirt/action/halt_domain.rb +25 -9
- data/lib/vagrant-libvirt/action/handle_box_image.rb +170 -77
- data/lib/vagrant-libvirt/action/is_running.rb +1 -3
- data/lib/vagrant-libvirt/action/is_suspended.rb +4 -4
- data/lib/vagrant-libvirt/action/set_boot_order.rb +6 -2
- data/lib/vagrant-libvirt/action/wait_till_up.rb +1 -25
- data/lib/vagrant-libvirt/cap/{mount_p9.rb → mount_9p.rb} +2 -2
- data/lib/vagrant-libvirt/cap/mount_virtiofs.rb +37 -0
- data/lib/vagrant-libvirt/cap/{synced_folder.rb → synced_folder_9p.rb} +4 -5
- data/lib/vagrant-libvirt/cap/synced_folder_virtiofs.rb +109 -0
- data/lib/vagrant-libvirt/config.rb +34 -2
- data/lib/vagrant-libvirt/driver.rb +3 -1
- data/lib/vagrant-libvirt/errors.rb +24 -1
- data/lib/vagrant-libvirt/plugin.rb +14 -5
- data/lib/vagrant-libvirt/templates/domain.xml.erb +7 -6
- data/lib/vagrant-libvirt/templates/private_network.xml.erb +1 -1
- data/lib/vagrant-libvirt/util/byte_number.rb +71 -0
- data/lib/vagrant-libvirt/util/network_util.rb +21 -3
- data/lib/vagrant-libvirt/version +1 -1
- data/locales/en.yml +12 -0
- data/spec/spec_helper.rb +9 -1
- data/spec/support/binding_proc.rb +24 -0
- data/spec/support/matchers/have_file_content.rb +63 -0
- data/spec/unit/action/clean_machine_folder_spec.rb +58 -0
- data/spec/unit/action/create_domain_spec.rb +15 -5
- data/spec/unit/action/create_domain_spec/additional_disks_domain.xml +54 -0
- data/spec/unit/action/create_domain_spec/default_domain.xml +49 -0
- data/spec/unit/action/create_domain_volume_spec.rb +104 -0
- data/spec/unit/action/create_domain_volume_spec/one_disk_in_storage.xml +21 -0
- data/spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_0.xml +21 -0
- data/spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_1.xml +21 -0
- data/spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_2.xml +21 -0
- data/spec/unit/action/destroy_domain_spec.rb +1 -1
- data/spec/unit/action/forward_ports_spec.rb +202 -0
- data/spec/unit/action/halt_domain_spec.rb +90 -0
- data/spec/unit/action/handle_box_image_spec.rb +441 -0
- data/spec/unit/action/wait_till_up_spec.rb +11 -15
- data/spec/unit/config_spec.rb +12 -9
- data/spec/unit/templates/domain_all_settings.xml +8 -0
- data/spec/unit/templates/domain_spec.rb +20 -1
- data/spec/unit/util/byte_number_spec.rb +26 -0
- metadata +52 -18
@@ -12,7 +12,7 @@ describe VagrantPlugins::ProviderLibvirt::Action::WaitTillUp do
|
|
12
12
|
include_context 'libvirt'
|
13
13
|
include_context 'unit'
|
14
14
|
|
15
|
-
let (:driver) {
|
15
|
+
let (:driver) { VagrantPlugins::ProviderLibvirt::Driver.new env[:machine] }
|
16
16
|
|
17
17
|
describe '#call' do
|
18
18
|
before do
|
@@ -47,27 +47,26 @@ describe VagrantPlugins::ProviderLibvirt::Action::WaitTillUp do
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
context '
|
50
|
+
context 'multiple timeouts waiting for IP' do
|
51
51
|
before do
|
52
|
-
allow(domain).to receive(:wait_for).and_return(true)
|
53
52
|
allow(env).to receive(:[]).and_call_original
|
54
|
-
allow(env).to receive(:[]).with(:interrupted).and_return(false
|
55
|
-
allow(
|
53
|
+
allow(env).to receive(:[]).with(:interrupted).and_return(false)
|
54
|
+
allow(logger).to receive(:debug)
|
55
|
+
allow(logger).to receive(:info)
|
56
56
|
end
|
57
|
-
|
57
|
+
|
58
|
+
it 'should abort after hitting limit' do
|
59
|
+
expect(domain).to receive(:wait_for).at_least(300).times.and_raise(::Fog::Errors::TimeoutError)
|
58
60
|
expect(app).to_not receive(:call)
|
59
61
|
expect(ui).to receive(:info).with('Waiting for domain to get an IP address...')
|
60
|
-
expect(ui).
|
61
|
-
expect(logger).to receive(:debug).with(/Searching for IP for MAC address: .*/)
|
62
|
-
expect(logger).to receive(:info).with('Got IP address 192.168.121.2')
|
63
|
-
expect(logger).to receive(:info).with(/Time for getting IP: .*/)
|
62
|
+
expect(ui).to_not receive(:info).with('Waiting for SSH to become available...')
|
64
63
|
expect(env[:machine].communicate).to_not receive(:ready?)
|
65
|
-
expect
|
64
|
+
expect {subject.call(env) }.to raise_error(::Fog::Errors::TimeoutError)
|
66
65
|
end
|
67
66
|
end
|
68
67
|
end
|
69
68
|
|
70
|
-
context 'when machine boots and
|
69
|
+
context 'when machine boots and ip available' do
|
71
70
|
before do
|
72
71
|
allow(domain).to receive(:wait_for).and_return(true)
|
73
72
|
allow(env).to receive(:[]).and_call_original
|
@@ -77,12 +76,9 @@ describe VagrantPlugins::ProviderLibvirt::Action::WaitTillUp do
|
|
77
76
|
it 'should call the next hook' do
|
78
77
|
expect(app).to receive(:call)
|
79
78
|
expect(ui).to receive(:info).with('Waiting for domain to get an IP address...')
|
80
|
-
expect(ui).to receive(:info).with('Waiting for SSH to become available...')
|
81
79
|
expect(logger).to receive(:debug).with(/Searching for IP for MAC address: .*/)
|
82
80
|
expect(logger).to receive(:info).with('Got IP address 192.168.121.2')
|
83
81
|
expect(logger).to receive(:info).with(/Time for getting IP: .*/)
|
84
|
-
expect(logger).to receive(:info).with(/Time for SSH ready: .*/)
|
85
|
-
expect(env[:machine].communicate).to receive(:ready?).and_return(true)
|
86
82
|
expect(subject.call(env)).to be_nil
|
87
83
|
end
|
88
84
|
end
|
data/spec/unit/config_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'support/binding_proc'
|
2
2
|
|
3
3
|
require 'spec_helper'
|
4
4
|
require 'support/sharedcontext'
|
@@ -103,7 +103,7 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
|
103
103
|
:id_ssh_key_file => nil,
|
104
104
|
},
|
105
105
|
{
|
106
|
-
:setup =>
|
106
|
+
:setup => ProcWithBinding.new {
|
107
107
|
expect(File).to_not receive(:file?)
|
108
108
|
}
|
109
109
|
}
|
@@ -116,7 +116,7 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
|
116
116
|
:id_ssh_key_file => "/home/tests/.ssh/id_rsa",
|
117
117
|
},
|
118
118
|
{
|
119
|
-
:setup =>
|
119
|
+
:setup => ProcWithBinding.new {
|
120
120
|
expect(File).to receive(:file?).with("/home/tests/.ssh/id_rsa").and_return(true)
|
121
121
|
}
|
122
122
|
}
|
@@ -263,7 +263,7 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
|
263
263
|
{:connect_via_ssh => true},
|
264
264
|
{:uri => 'qemu+ssh://localhost/system?no_verify=1', :id_ssh_key_file => nil},
|
265
265
|
{
|
266
|
-
:setup =>
|
266
|
+
:setup => ProcWithBinding.new {
|
267
267
|
expect(File).to receive(:file?).with("/home/tests/.ssh/id_rsa").and_return(false)
|
268
268
|
}
|
269
269
|
}
|
@@ -272,7 +272,7 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
|
272
272
|
{:connect_via_ssh => true},
|
273
273
|
{:uri => 'qemu+ssh://localhost/system?no_verify=1&keyfile=/home/tests/.ssh/id_rsa', :id_ssh_key_file => '/home/tests/.ssh/id_rsa'},
|
274
274
|
{
|
275
|
-
:setup =>
|
275
|
+
:setup => ProcWithBinding.new {
|
276
276
|
expect(File).to receive(:file?).with("/home/tests/.ssh/id_rsa").and_return(true)
|
277
277
|
}
|
278
278
|
}
|
@@ -294,7 +294,7 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
|
294
294
|
end
|
295
295
|
|
296
296
|
if !opts[:setup].nil?
|
297
|
-
opts[:setup].
|
297
|
+
opts[:setup].apply_binding(binding)
|
298
298
|
end
|
299
299
|
|
300
300
|
inputs.each do |k, v|
|
@@ -358,11 +358,15 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
|
358
358
|
{:connect_via_ssh => true, :host => 'remote', :username => 'myuser'},
|
359
359
|
"ssh 'remote' -l 'myuser' -W %h:%p",
|
360
360
|
],
|
361
|
+
[ # remote contains port
|
362
|
+
{:connect_via_ssh => true, :host => 'remote:2222'},
|
363
|
+
"ssh 'remote' -p 2222 -W %h:%p",
|
364
|
+
],
|
361
365
|
[ # include user and default ssh key exists
|
362
366
|
{:connect_via_ssh => true, :host => 'remote', :username => 'myuser'},
|
363
367
|
"ssh 'remote' -l 'myuser' -i '/home/tests/.ssh/id_rsa' -W %h:%p",
|
364
368
|
{
|
365
|
-
:setup =>
|
369
|
+
:setup => ProcWithBinding.new {
|
366
370
|
expect(File).to receive(:file?).with("/home/tests/.ssh/id_rsa").and_return(true)
|
367
371
|
}
|
368
372
|
}
|
@@ -390,7 +394,6 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
|
390
394
|
[
|
391
395
|
{:uri => 'qemu+ssh://remote/system?keyfile=/some/path/to/keyfile'},
|
392
396
|
"ssh 'remote' -i '/some/path/to/keyfile' -W %h:%p",
|
393
|
-
{:allow_failure => "keyfile not yet inferred from uri"},
|
394
397
|
],
|
395
398
|
|
396
399
|
# provide custom template
|
@@ -417,7 +420,7 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
|
417
420
|
end
|
418
421
|
|
419
422
|
if !opts[:setup].nil?
|
420
|
-
opts[:setup].
|
423
|
+
opts[:setup].apply_binding(binding)
|
421
424
|
end
|
422
425
|
|
423
426
|
inputs.each do |k, v|
|
@@ -34,6 +34,7 @@
|
|
34
34
|
<pae/>
|
35
35
|
<hyperv>
|
36
36
|
<BBB state='on' />
|
37
|
+
<spinlocks state='on' retries='4096' />
|
37
38
|
</hyperv>
|
38
39
|
</features>
|
39
40
|
<clock offset='variable'>
|
@@ -47,6 +48,11 @@
|
|
47
48
|
<source file='/var/lib/libvirt/images/test.qcow2'/>
|
48
49
|
<target dev='vda' bus='ide'/>
|
49
50
|
</disk>
|
51
|
+
<disk type='file' device='disk'>
|
52
|
+
<driver name='qemu' type='qcow2' cache='unsafe' io='threads' copy_on_read='on' discard='unmap' detect_zeroes='on'/>
|
53
|
+
<source file='/var/lib/libvirt/images/test2.qcow2'/>
|
54
|
+
<target dev='vdb' bus='ide'/>
|
55
|
+
</disk>
|
50
56
|
<disk type='file' device='disk'>
|
51
57
|
<driver name='qemu' type='qcow2' cache='default'/>
|
52
58
|
<source file='/var/lib/libvirt/images/test-disk1.qcow2'/>
|
@@ -59,11 +65,13 @@
|
|
59
65
|
</disk>
|
60
66
|
|
61
67
|
<disk type='file' device='cdrom'>
|
68
|
+
<driver name='qemu' type='raw' />
|
62
69
|
<source file=''/>
|
63
70
|
<target dev='hda' bus='ide'/>
|
64
71
|
<readonly/>
|
65
72
|
</disk>
|
66
73
|
<disk type='file' device='cdrom'>
|
74
|
+
<driver name='qemu' type='raw' />
|
67
75
|
<source file=''/>
|
68
76
|
<target dev='hdb' bus='ide'/>
|
69
77
|
<readonly/>
|
@@ -9,6 +9,13 @@ describe 'templates/domain' do
|
|
9
9
|
class DomainTemplateHelper < VagrantPlugins::ProviderLibvirt::Config
|
10
10
|
include VagrantPlugins::ProviderLibvirt::Util::ErbTemplate
|
11
11
|
|
12
|
+
attr_accessor :domain_volumes
|
13
|
+
|
14
|
+
def initialize
|
15
|
+
super
|
16
|
+
@domain_volumes = []
|
17
|
+
end
|
18
|
+
|
12
19
|
def finalize!
|
13
20
|
super
|
14
21
|
end
|
@@ -36,6 +43,7 @@ describe 'templates/domain' do
|
|
36
43
|
domain.clock_offset = 'variable'
|
37
44
|
domain.clock_timer(name: 't1')
|
38
45
|
domain.clock_timer(name: 't2', track: 'b', tickpolicy: 'c', frequency: 'd', mode: 'e', present: 'yes')
|
46
|
+
domain.hyperv_feature(name: 'spinlocks', state: 'on', retries: '4096')
|
39
47
|
domain.cputopology(sockets: '1', cores: '3', threads: '2')
|
40
48
|
domain.machine_type = 'pc-compatible'
|
41
49
|
domain.machine_arch = 'x86_64'
|
@@ -44,11 +52,22 @@ describe 'templates/domain' do
|
|
44
52
|
domain.boot('cdrom')
|
45
53
|
domain.boot('hd')
|
46
54
|
domain.emulator_path = '/usr/bin/kvm-spice'
|
47
|
-
domain.instance_variable_set('@domain_volume_path', '/var/lib/libvirt/images/test.qcow2')
|
48
55
|
domain.instance_variable_set('@domain_volume_cache', 'deprecated')
|
49
56
|
domain.disk_bus = 'ide'
|
50
57
|
domain.disk_device = 'vda'
|
51
58
|
domain.disk_driver(:cache => 'unsafe', :io => 'threads', :copy_on_read => 'on', :discard => 'unmap', :detect_zeroes => 'on')
|
59
|
+
domain.domain_volumes.push({
|
60
|
+
:dev => 1.vdev.to_s,
|
61
|
+
:cache => 'unsafe',
|
62
|
+
:bus => domain.disk_bus,
|
63
|
+
:path => '/var/lib/libvirt/images/test.qcow2'
|
64
|
+
})
|
65
|
+
domain.domain_volumes.push({
|
66
|
+
:dev => 2.vdev.to_s,
|
67
|
+
:cache => 'unsafe',
|
68
|
+
:bus => domain.disk_bus,
|
69
|
+
:path => '/var/lib/libvirt/images/test2.qcow2'
|
70
|
+
})
|
52
71
|
domain.storage(:file, path: 'test-disk1.qcow2')
|
53
72
|
domain.storage(:file, path: 'test-disk2.qcow2', io: 'threads', copy_on_read: 'on', discard: 'unmap', detect_zeroes: 'on')
|
54
73
|
domain.disks.each do |disk|
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
require 'vagrant-libvirt/util/byte_number'
|
4
|
+
|
5
|
+
|
6
|
+
describe ByteNumber do
|
7
|
+
describe '#ByteNumber to Gigrabyte' do
|
8
|
+
it 'should return bigger size' do
|
9
|
+
expect( ByteNumber.new("10737423360").to_GB).to eq(11)
|
10
|
+
expect( ByteNumber.new("737423360").to_GB).to eq(1)
|
11
|
+
expect( ByteNumber.new("110737423360").to_GB).to eq(104)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
describe '#ByteNumber from Gigrabyte' do
|
16
|
+
it 'should convert' do
|
17
|
+
expect( ByteNumber.from_GB(5).to_i).to eq(5368709120)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
describe '#ByteNumber pow' do
|
22
|
+
it 'should be work like interger' do
|
23
|
+
expect( ByteNumber.new(5).pow(5).to_i).to eq(5**5)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
metadata
CHANGED
@@ -1,31 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-libvirt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Stanek
|
8
8
|
- Dima Vasilets
|
9
9
|
- Brian Pitts
|
10
|
+
- Darragh Bailey
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
13
|
-
date: 2021-
|
14
|
+
date: 2021-06-11 00:00:00.000000000 Z
|
14
15
|
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
16
|
-
name: contextual_proc
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
18
|
-
requirements:
|
19
|
-
- - ">="
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :development
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
version: '0'
|
29
16
|
- !ruby/object:Gem::Dependency
|
30
17
|
name: rspec-core
|
31
18
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,6 +111,20 @@ dependencies:
|
|
124
111
|
- - "~>"
|
125
112
|
- !ruby/object:Gem::Version
|
126
113
|
version: '2.1'
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: rexml
|
116
|
+
requirement: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
type: :runtime
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
127
128
|
- !ruby/object:Gem::Dependency
|
128
129
|
name: nokogiri
|
129
130
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,6 +158,7 @@ email:
|
|
157
158
|
- ls@elostech.cz
|
158
159
|
- pronix.service@gmail.com
|
159
160
|
- brian@polibyte.com
|
161
|
+
- daragh.bailey@gmail.com
|
160
162
|
executables: []
|
161
163
|
extensions: []
|
162
164
|
extra_rdoc_files: []
|
@@ -165,6 +167,7 @@ files:
|
|
165
167
|
- README.md
|
166
168
|
- lib/vagrant-libvirt.rb
|
167
169
|
- lib/vagrant-libvirt/action.rb
|
170
|
+
- lib/vagrant-libvirt/action/clean_machine_folder.rb
|
168
171
|
- lib/vagrant-libvirt/action/create_domain.rb
|
169
172
|
- lib/vagrant-libvirt/action/create_domain_volume.rb
|
170
173
|
- lib/vagrant-libvirt/action/create_network_interfaces.rb
|
@@ -197,10 +200,12 @@ files:
|
|
197
200
|
- lib/vagrant-libvirt/action/start_domain.rb
|
198
201
|
- lib/vagrant-libvirt/action/suspend_domain.rb
|
199
202
|
- lib/vagrant-libvirt/action/wait_till_up.rb
|
200
|
-
- lib/vagrant-libvirt/cap/
|
203
|
+
- lib/vagrant-libvirt/cap/mount_9p.rb
|
204
|
+
- lib/vagrant-libvirt/cap/mount_virtiofs.rb
|
201
205
|
- lib/vagrant-libvirt/cap/nic_mac_addresses.rb
|
202
206
|
- lib/vagrant-libvirt/cap/public_address.rb
|
203
|
-
- lib/vagrant-libvirt/cap/
|
207
|
+
- lib/vagrant-libvirt/cap/synced_folder_9p.rb
|
208
|
+
- lib/vagrant-libvirt/cap/synced_folder_virtiofs.rb
|
204
209
|
- lib/vagrant-libvirt/config.rb
|
205
210
|
- lib/vagrant-libvirt/driver.rb
|
206
211
|
- lib/vagrant-libvirt/errors.rb
|
@@ -211,6 +216,7 @@ files:
|
|
211
216
|
- lib/vagrant-libvirt/templates/private_network.xml.erb
|
212
217
|
- lib/vagrant-libvirt/templates/public_interface.xml.erb
|
213
218
|
- lib/vagrant-libvirt/util.rb
|
219
|
+
- lib/vagrant-libvirt/util/byte_number.rb
|
214
220
|
- lib/vagrant-libvirt/util/collection.rb
|
215
221
|
- lib/vagrant-libvirt/util/erb_template.rb
|
216
222
|
- lib/vagrant-libvirt/util/error_codes.rb
|
@@ -223,13 +229,26 @@ files:
|
|
223
229
|
- lib/vagrant-libvirt/version.rb
|
224
230
|
- locales/en.yml
|
225
231
|
- spec/spec_helper.rb
|
232
|
+
- spec/support/binding_proc.rb
|
226
233
|
- spec/support/environment_helper.rb
|
227
234
|
- spec/support/libvirt_context.rb
|
235
|
+
- spec/support/matchers/have_file_content.rb
|
228
236
|
- spec/support/sharedcontext.rb
|
237
|
+
- spec/unit/action/clean_machine_folder_spec.rb
|
229
238
|
- spec/unit/action/create_domain_spec.rb
|
239
|
+
- spec/unit/action/create_domain_spec/additional_disks_domain.xml
|
240
|
+
- spec/unit/action/create_domain_spec/default_domain.xml
|
230
241
|
- spec/unit/action/create_domain_spec/default_system_storage_pool.xml
|
231
242
|
- spec/unit/action/create_domain_spec/default_user_storage_pool.xml
|
243
|
+
- spec/unit/action/create_domain_volume_spec.rb
|
244
|
+
- spec/unit/action/create_domain_volume_spec/one_disk_in_storage.xml
|
245
|
+
- spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_0.xml
|
246
|
+
- spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_1.xml
|
247
|
+
- spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_2.xml
|
232
248
|
- spec/unit/action/destroy_domain_spec.rb
|
249
|
+
- spec/unit/action/forward_ports_spec.rb
|
250
|
+
- spec/unit/action/halt_domain_spec.rb
|
251
|
+
- spec/unit/action/handle_box_image_spec.rb
|
233
252
|
- spec/unit/action/set_name_of_domain_spec.rb
|
234
253
|
- spec/unit/action/start_domain_spec.rb
|
235
254
|
- spec/unit/action/start_domain_spec/clock_timer_rtc.xml
|
@@ -245,6 +264,7 @@ files:
|
|
245
264
|
- spec/unit/templates/domain_spec.rb
|
246
265
|
- spec/unit/templates/tpm/version_1.2.xml
|
247
266
|
- spec/unit/templates/tpm/version_2.0.xml
|
267
|
+
- spec/unit/util/byte_number_spec.rb
|
248
268
|
homepage: https://github.com/vagrant-libvirt/vagrant-libvirt
|
249
269
|
licenses:
|
250
270
|
- MIT
|
@@ -272,7 +292,13 @@ summary: libvirt provider for Vagrant.
|
|
272
292
|
test_files:
|
273
293
|
- spec/unit/action/start_domain_spec.rb
|
274
294
|
- spec/unit/action/create_domain_spec.rb
|
295
|
+
- spec/unit/action/forward_ports_spec.rb
|
275
296
|
- spec/unit/action/wait_till_up_spec.rb
|
297
|
+
- spec/unit/action/clean_machine_folder_spec.rb
|
298
|
+
- spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_2.xml
|
299
|
+
- spec/unit/action/create_domain_volume_spec/one_disk_in_storage.xml
|
300
|
+
- spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_1.xml
|
301
|
+
- spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_0.xml
|
276
302
|
- spec/unit/action/start_domain_spec/default_added_tpm_version.xml
|
277
303
|
- spec/unit/action/start_domain_spec/clock_timer_rtc.xml
|
278
304
|
- spec/unit/action/start_domain_spec/default.xml
|
@@ -280,8 +306,14 @@ test_files:
|
|
280
306
|
- spec/unit/action/destroy_domain_spec.rb
|
281
307
|
- spec/unit/action/create_domain_spec/default_system_storage_pool.xml
|
282
308
|
- spec/unit/action/create_domain_spec/default_user_storage_pool.xml
|
309
|
+
- spec/unit/action/create_domain_spec/additional_disks_domain.xml
|
310
|
+
- spec/unit/action/create_domain_spec/default_domain.xml
|
311
|
+
- spec/unit/action/handle_box_image_spec.rb
|
283
312
|
- spec/unit/action/set_name_of_domain_spec.rb
|
313
|
+
- spec/unit/action/halt_domain_spec.rb
|
314
|
+
- spec/unit/action/create_domain_volume_spec.rb
|
284
315
|
- spec/unit/config_spec.rb
|
316
|
+
- spec/unit/util/byte_number_spec.rb
|
285
317
|
- spec/unit/provider_spec.rb
|
286
318
|
- spec/unit/templates/domain_defaults.xml
|
287
319
|
- spec/unit/templates/domain_all_settings.xml
|
@@ -290,6 +322,8 @@ test_files:
|
|
290
322
|
- spec/unit/templates/tpm/version_2.0.xml
|
291
323
|
- spec/unit/templates/domain_custom_cpu_model.xml
|
292
324
|
- spec/support/libvirt_context.rb
|
325
|
+
- spec/support/matchers/have_file_content.rb
|
293
326
|
- spec/support/environment_helper.rb
|
327
|
+
- spec/support/binding_proc.rb
|
294
328
|
- spec/support/sharedcontext.rb
|
295
329
|
- spec/spec_helper.rb
|