vagrant-libvirt 0.10.1 → 0.10.4
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 +1 -1
- data/lib/vagrant-libvirt/action/start_domain.rb +20 -14
- data/lib/vagrant-libvirt/config.rb +8 -2
- data/lib/vagrant-libvirt/driver.rb +8 -0
- data/lib/vagrant-libvirt/version +1 -1
- data/spec/unit/action/start_domain_spec/default_with_different_formatting.xml +37 -0
- data/spec/unit/action/start_domain_spec.rb +25 -0
- data/spec/unit/config_spec.rb +35 -2
- metadata +99 -83
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b5b3a11dacc2b43a80c7419af116d73d2a7e636c325296f22681f23a0d033a20
|
|
4
|
+
data.tar.gz: 408df37e3ec6a923f884f15a73778d33408ac59169f8152822b0634e384a09a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b890ae1fa0eb2f5ef7b212be83acc94eff485f673e3b1bdd40a1f16afbc035af0996a8e31db76148866cc51f5c9c9bf09cc61549e7c3767ba647a4db55265410
|
|
7
|
+
data.tar.gz: 211e8ce3e5cf1088e9137fc6ec26829e1fede30b1b714388c48369ddd6d9b7cc4b2aa147776f14f5faa120df0a7a1e9d3bbee13e8f58492b4d17fd3a64afd343
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Vagrant Libvirt Provider
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|
|
|
5
5
|
[](https://gitter.im/vagrant-libvirt/vagrant-libvirt?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
|
6
6
|
[](https://github.com/vagrant-libvirt/vagrant-libvirt/actions/workflows/unit-tests.yml)
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require 'diffy'
|
|
4
3
|
require 'log4r'
|
|
4
|
+
|
|
5
|
+
require 'equivalent-xml'
|
|
5
6
|
require 'rexml/document'
|
|
6
7
|
|
|
7
8
|
module VagrantPlugins
|
|
@@ -425,24 +426,29 @@ module VagrantPlugins
|
|
|
425
426
|
end
|
|
426
427
|
|
|
427
428
|
begin
|
|
428
|
-
|
|
429
|
+
# need to check whether the updated XML contains all the changes requested
|
|
429
430
|
|
|
430
|
-
# This normalizes the attribute order to be consistent across both XML docs to
|
|
431
|
-
# for subsequent comparison by diffy
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
431
|
+
# This normalizes the attribute order to be consistent across both XML docs to
|
|
432
|
+
# eliminate differences for subsequent comparison by diffy
|
|
433
|
+
applied_xml_descr = REXML::Document.new(libvirt_domain.xml_desc(1))
|
|
434
|
+
applied_xml = String.new
|
|
435
|
+
applied_xml_descr.write(applied_xml)
|
|
436
|
+
|
|
437
|
+
proposed = Nokogiri::XML(new_xml, &:noblanks)
|
|
438
|
+
applied = Nokogiri::XML(applied_xml, &:noblanks)
|
|
435
439
|
|
|
436
|
-
|
|
440
|
+
if !EquivalentXml.equivalent?(proposed, applied)
|
|
441
|
+
require 'diffy'
|
|
437
442
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
443
|
+
# pretty print the XML as even though there can be additional changes,
|
|
444
|
+
# the output with diffy appears to be clearer
|
|
445
|
+
pretty_proposed = StringIO.new
|
|
446
|
+
pretty_applied = StringIO.new
|
|
447
|
+
proposed.write_xml_to(pretty_proposed, indent: 2)
|
|
448
|
+
applied.write_xml_to(pretty_applied, indent: 2)
|
|
442
449
|
|
|
443
|
-
|
|
450
|
+
diff = Diffy::Diff.new(pretty_proposed.string, pretty_applied.string, :context => 3).to_s(:text)
|
|
444
451
|
|
|
445
|
-
unless diff.empty?
|
|
446
452
|
error_msg = "Libvirt failed to fully update the domain with the specified XML. Result differs from requested:\n" +
|
|
447
453
|
"--- requested\n+++ result\n#{diff}\n" +
|
|
448
454
|
"Typically this means there is a bug in the XML being sent, please log an issue"
|
|
@@ -782,7 +782,7 @@ module VagrantPlugins
|
|
|
782
782
|
finalize_id_ssh_key_file
|
|
783
783
|
|
|
784
784
|
uri += '+ssh://'
|
|
785
|
-
uri += "#{@username}@" if @username && @username != UNSET_VALUE
|
|
785
|
+
uri += "#{URI.encode_www_form_component(@username)}@" if @username && @username != UNSET_VALUE
|
|
786
786
|
|
|
787
787
|
uri += (@host && @host != UNSET_VALUE ? @host : 'localhost')
|
|
788
788
|
|
|
@@ -1089,6 +1089,8 @@ module VagrantPlugins
|
|
|
1089
1089
|
|
|
1090
1090
|
def merge(other)
|
|
1091
1091
|
super.tap do |result|
|
|
1092
|
+
result.boot_order = other.boot_order != [] ? other.boot_order : boot_order
|
|
1093
|
+
|
|
1092
1094
|
c = disks.dup
|
|
1093
1095
|
c += other.disks
|
|
1094
1096
|
result.disks = c
|
|
@@ -1213,7 +1215,11 @@ module VagrantPlugins
|
|
|
1213
1215
|
|
|
1214
1216
|
def host_devices(machine)
|
|
1215
1217
|
@host_devices ||= begin
|
|
1216
|
-
|
|
1218
|
+
(
|
|
1219
|
+
machine.provider.driver.list_host_devices.map { |iface| iface.name } +
|
|
1220
|
+
machine.provider.driver.list_networks.map { |net| net.bridge_name }
|
|
1221
|
+
).uniq.select do |dev|
|
|
1222
|
+
next if dev.empty?
|
|
1217
1223
|
dev != "lo" && !@host_device_exclude_prefixes.any? { |exclude| dev.start_with?(exclude) }
|
|
1218
1224
|
end
|
|
1219
1225
|
end
|
|
@@ -201,6 +201,14 @@ module VagrantPlugins
|
|
|
201
201
|
state
|
|
202
202
|
end
|
|
203
203
|
|
|
204
|
+
def list_host_devices
|
|
205
|
+
connection.client.list_all_interfaces
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
def list_networks
|
|
209
|
+
connection.client.list_all_networks
|
|
210
|
+
end
|
|
211
|
+
|
|
204
212
|
private
|
|
205
213
|
|
|
206
214
|
def get_ipaddress_from_system(mac)
|
data/lib/vagrant-libvirt/version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.10.
|
|
1
|
+
0.10.4
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<domain xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' type=''>
|
|
2
|
+
<name/>
|
|
3
|
+
<title/>
|
|
4
|
+
<description/>
|
|
5
|
+
<uuid/>
|
|
6
|
+
<memory/>
|
|
7
|
+
<vcpu>1</vcpu>
|
|
8
|
+
<cpu check="none" mode="host-model">
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
</cpu>
|
|
12
|
+
<os>
|
|
13
|
+
<type>hvm</type>
|
|
14
|
+
<kernel/>
|
|
15
|
+
<initrd/>
|
|
16
|
+
<cmdline/>
|
|
17
|
+
</os>
|
|
18
|
+
<features>
|
|
19
|
+
<acpi/>
|
|
20
|
+
<apic/>
|
|
21
|
+
<pae/>
|
|
22
|
+
</features>
|
|
23
|
+
<clock offset='utc'/>
|
|
24
|
+
<devices>
|
|
25
|
+
<serial type='pty'>
|
|
26
|
+
<target port='0'/>
|
|
27
|
+
</serial>
|
|
28
|
+
<console type='pty'>
|
|
29
|
+
<target port='0'/>
|
|
30
|
+
</console>
|
|
31
|
+
<input bus='ps2' type='mouse'/>
|
|
32
|
+
<graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc'/>
|
|
33
|
+
<video>
|
|
34
|
+
<model heads='1' type='cirrus' vram='16384'/>
|
|
35
|
+
</video>
|
|
36
|
+
</devices>
|
|
37
|
+
</domain>
|
|
@@ -50,6 +50,31 @@ describe VagrantPlugins::ProviderLibvirt::Action::StartDomain do
|
|
|
50
50
|
expect(subject.call(env)).to be_nil
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
context 'when xml is formatted differently' do
|
|
54
|
+
let(:test_file) { 'default_with_different_formatting.xml' }
|
|
55
|
+
let(:updated_domain_xml) {
|
|
56
|
+
new_xml = domain_xml.dup
|
|
57
|
+
new_xml.gsub!(/<cpu .*<\/cpu>/m, '<cpu check="none" mode="host-passthrough"/>')
|
|
58
|
+
new_xml
|
|
59
|
+
}
|
|
60
|
+
let(:vagrantfile_providerconfig) do
|
|
61
|
+
<<-EOF
|
|
62
|
+
libvirt.cpu_mode = "host-passthrough"
|
|
63
|
+
EOF
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
it 'should correctly detect the domain was updated' do
|
|
67
|
+
expect(ui).to_not receive(:error)
|
|
68
|
+
expect(libvirt_domain).to receive(:autostart=)
|
|
69
|
+
expect(connection).to receive(:define_domain).and_return(libvirt_domain)
|
|
70
|
+
expect(libvirt_domain).to receive(:xml_desc).and_return(domain_xml, updated_domain_xml)
|
|
71
|
+
expect(domain).to receive(:start)
|
|
72
|
+
|
|
73
|
+
expect(subject.call(env)).to be_nil
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
end
|
|
77
|
+
|
|
53
78
|
context 'when any setting changed' do
|
|
54
79
|
let(:vagrantfile_providerconfig) do
|
|
55
80
|
<<-EOF
|
data/spec/unit/config_spec.rb
CHANGED
|
@@ -197,6 +197,13 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
|
|
197
197
|
:env => {'LIBVIRT_DEFAULT_URI' => 'qemu:///custom'},
|
|
198
198
|
}
|
|
199
199
|
],
|
|
200
|
+
[ # when username explicitly set with @ symbol for domains
|
|
201
|
+
{:username => 'my_user@my_domain', :host => 'remote'},
|
|
202
|
+
{:uri => %r{qemu://remote/(system|session)}, :username => 'my_user@my_domain'},
|
|
203
|
+
{
|
|
204
|
+
:env => {'LIBVIRT_DEFAULT_URI' => 'qemu:///custom'},
|
|
205
|
+
}
|
|
206
|
+
],
|
|
200
207
|
[ # when username explicitly set with host but without ssh
|
|
201
208
|
{:username => 'my_user', :host => 'remote'},
|
|
202
209
|
{:uri => %r{qemu://remote/(system|session)}, :username => 'my_user'},
|
|
@@ -640,12 +647,20 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
|
|
640
647
|
instance_double(Libvirt::Interface),
|
|
641
648
|
instance_double(Libvirt::Interface),
|
|
642
649
|
] }
|
|
650
|
+
let(:libvirt_networks) { [
|
|
651
|
+
instance_double(Libvirt::Network),
|
|
652
|
+
instance_double(Libvirt::Network),
|
|
653
|
+
] }
|
|
654
|
+
let(:driver) { instance_double(::VagrantPlugins::ProviderLibvirt::Driver) }
|
|
643
655
|
before do
|
|
644
656
|
machine.config.vm.network :public_network, dev: 'eth0', ip: "192.168.2.157"
|
|
645
|
-
|
|
646
|
-
expect(
|
|
657
|
+
allow(machine.provider).to receive(:driver).and_return(driver)
|
|
658
|
+
expect(driver).to receive(:list_host_devices).and_return(host_devices)
|
|
659
|
+
expect(driver).to receive(:list_networks).and_return(libvirt_networks)
|
|
647
660
|
expect(host_devices[0]).to receive(:name).and_return('eth0')
|
|
648
661
|
expect(host_devices[1]).to receive(:name).and_return('virbr0')
|
|
662
|
+
expect(libvirt_networks[0]).to receive(:bridge_name).and_return('')
|
|
663
|
+
expect(libvirt_networks[1]).to receive(:bridge_name).and_return('virbr0')
|
|
649
664
|
end
|
|
650
665
|
|
|
651
666
|
it 'should validate use of existing device' do
|
|
@@ -854,5 +869,23 @@ describe VagrantPlugins::ProviderLibvirt::Config do
|
|
|
854
869
|
)
|
|
855
870
|
end
|
|
856
871
|
end
|
|
872
|
+
|
|
873
|
+
context 'boot_order' do
|
|
874
|
+
it 'should merge' do
|
|
875
|
+
one.boot 'network'
|
|
876
|
+
|
|
877
|
+
subject.finalize!
|
|
878
|
+
expect(subject.boot_order).to eq(['network'])
|
|
879
|
+
end
|
|
880
|
+
|
|
881
|
+
it 'should have last definition win' do
|
|
882
|
+
one.boot 'network'
|
|
883
|
+
two.boot 'hd'
|
|
884
|
+
two.boot 'cdrom'
|
|
885
|
+
|
|
886
|
+
subject.finalize!
|
|
887
|
+
expect(subject.boot_order).to eq(['hd', 'cdrom'])
|
|
888
|
+
end
|
|
889
|
+
end
|
|
857
890
|
end
|
|
858
891
|
end
|
metadata
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-libvirt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lukas Stanek
|
|
8
8
|
- Dima Vasilets
|
|
9
9
|
- Brian Pitts
|
|
10
10
|
- Darragh Bailey
|
|
11
|
-
autorequire:
|
|
11
|
+
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2022-08-
|
|
14
|
+
date: 2022-08-28 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: fog-libvirt
|
|
@@ -55,6 +55,20 @@ dependencies:
|
|
|
55
55
|
- - ">="
|
|
56
56
|
- !ruby/object:Gem::Version
|
|
57
57
|
version: '0'
|
|
58
|
+
- !ruby/object:Gem::Dependency
|
|
59
|
+
name: equivalent-xml
|
|
60
|
+
requirement: !ruby/object:Gem::Requirement
|
|
61
|
+
requirements:
|
|
62
|
+
- - ">="
|
|
63
|
+
- !ruby/object:Gem::Version
|
|
64
|
+
version: '0'
|
|
65
|
+
type: :runtime
|
|
66
|
+
prerelease: false
|
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
68
|
+
requirements:
|
|
69
|
+
- - ">="
|
|
70
|
+
- !ruby/object:Gem::Version
|
|
71
|
+
version: '0'
|
|
58
72
|
- !ruby/object:Gem::Dependency
|
|
59
73
|
name: diffy
|
|
60
74
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -290,6 +304,7 @@ files:
|
|
|
290
304
|
- spec/unit/action/start_domain_spec/default.xml
|
|
291
305
|
- spec/unit/action/start_domain_spec/default_added_tpm_path.xml
|
|
292
306
|
- spec/unit/action/start_domain_spec/default_added_tpm_version.xml
|
|
307
|
+
- spec/unit/action/start_domain_spec/default_with_different_formatting.xml
|
|
293
308
|
- spec/unit/action/start_domain_spec/existing.xml
|
|
294
309
|
- spec/unit/action/start_domain_spec/existing_added_nvram.xml
|
|
295
310
|
- spec/unit/action/start_domain_spec/nvram_domain.xml
|
|
@@ -319,7 +334,7 @@ licenses:
|
|
|
319
334
|
- MIT
|
|
320
335
|
metadata:
|
|
321
336
|
source_code_uri: https://github.com/vagrant-libvirt/vagrant-libvirt
|
|
322
|
-
post_install_message:
|
|
337
|
+
post_install_message:
|
|
323
338
|
rdoc_options: []
|
|
324
339
|
require_paths:
|
|
325
340
|
- lib
|
|
@@ -335,96 +350,97 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
335
350
|
version: '0'
|
|
336
351
|
requirements: []
|
|
337
352
|
rubygems_version: 3.0.9
|
|
338
|
-
signing_key:
|
|
353
|
+
signing_key:
|
|
339
354
|
specification_version: 4
|
|
340
355
|
summary: libvirt provider for Vagrant.
|
|
341
356
|
test_files:
|
|
357
|
+
- spec/acceptance/package_domain_spec.rb
|
|
358
|
+
- spec/acceptance/provider_settings_spec.rb
|
|
359
|
+
- spec/acceptance/two_disks_spec.rb
|
|
360
|
+
- spec/acceptance/additional_storage_spec.rb
|
|
361
|
+
- spec/acceptance/support-skeletons/package_complex/Vagrantfile.testbox
|
|
362
|
+
- spec/acceptance/support-skeletons/package_complex/scripts/sysprep.sh
|
|
363
|
+
- spec/acceptance/support-skeletons/package_simple/Vagrantfile.testbox
|
|
364
|
+
- spec/acceptance/simple_vm_provision_via_shell_spec.rb
|
|
365
|
+
- spec/acceptance/snapshots_spec.rb
|
|
366
|
+
- spec/acceptance/use_qemu_agent_for_connectivity_spec.rb
|
|
367
|
+
- spec/support/matchers/have_file_content.rb
|
|
368
|
+
- spec/support/binding_proc.rb
|
|
369
|
+
- spec/support/acceptance/context.rb
|
|
370
|
+
- spec/support/acceptance/configuration.rb
|
|
371
|
+
- spec/support/acceptance/isolated_environment.rb
|
|
372
|
+
- spec/support/environment_helper.rb
|
|
373
|
+
- spec/support/libvirt_context.rb
|
|
374
|
+
- spec/support/temporary_dir.rb
|
|
375
|
+
- spec/support/libvirt_acceptance_context.rb
|
|
376
|
+
- spec/support/sharedcontext.rb
|
|
342
377
|
- spec/unit/config_spec.rb
|
|
343
378
|
- spec/unit/action_spec.rb
|
|
344
|
-
- spec/unit/
|
|
345
|
-
- spec/unit/
|
|
346
|
-
- spec/unit/
|
|
347
|
-
- spec/unit/
|
|
348
|
-
- spec/unit/
|
|
349
|
-
- spec/unit/
|
|
350
|
-
- spec/unit/
|
|
351
|
-
- spec/unit/
|
|
352
|
-
- spec/unit/
|
|
353
|
-
- spec/unit/
|
|
354
|
-
- spec/unit/
|
|
355
|
-
- spec/unit/
|
|
356
|
-
- spec/unit/
|
|
357
|
-
- spec/unit/
|
|
358
|
-
- spec/unit/
|
|
359
|
-
- spec/unit/
|
|
360
|
-
- spec/unit/action/start_domain_spec/nvram_domain_removed.xml
|
|
361
|
-
- spec/unit/action/start_domain_spec/default.xml
|
|
362
|
-
- spec/unit/action/start_domain_spec/default_added_tpm_version.xml
|
|
363
|
-
- spec/unit/action/start_domain_spec/nvram_domain_other_setting.xml
|
|
364
|
-
- spec/unit/action/start_domain_spec/clock_timer_rtc.xml
|
|
365
|
-
- spec/unit/action/start_domain_spec/clock_timer_removed.xml
|
|
366
|
-
- spec/unit/action/start_domain_spec/clock_timer_rtc_tsc.xml
|
|
367
|
-
- spec/unit/action/start_domain_spec/nvram_domain.xml
|
|
368
|
-
- spec/unit/action/start_domain_spec/default_added_tpm_path.xml
|
|
369
|
-
- spec/unit/action/start_domain_spec/existing_added_nvram.xml
|
|
370
|
-
- spec/unit/action/prepare_nfs_settings_spec.rb
|
|
379
|
+
- spec/unit/cap/synced_folder_9p_spec.rb
|
|
380
|
+
- spec/unit/cap/synced_folder_virtiofs_spec.rb
|
|
381
|
+
- spec/unit/plugin_spec.rb
|
|
382
|
+
- spec/unit/driver_spec.rb
|
|
383
|
+
- spec/unit/templates/domain_custom_cpu_model.xml
|
|
384
|
+
- spec/unit/templates/domain_all_settings.xml
|
|
385
|
+
- spec/unit/templates/domain_spec.rb
|
|
386
|
+
- spec/unit/templates/domain_defaults.xml
|
|
387
|
+
- spec/unit/templates/domain_scsi_multiple_controllers_storage.xml
|
|
388
|
+
- spec/unit/templates/domain_cpu_mode_passthrough.xml
|
|
389
|
+
- spec/unit/templates/domain_scsi_bus_storage.xml
|
|
390
|
+
- spec/unit/templates/domain_scsi_device_storage.xml
|
|
391
|
+
- spec/unit/templates/tpm/version_1.2.xml
|
|
392
|
+
- spec/unit/templates/tpm/version_2.0.xml
|
|
393
|
+
- spec/unit/util/byte_number_spec.rb
|
|
394
|
+
- spec/unit/util/resolvers_spec.rb
|
|
371
395
|
- spec/unit/action/package_domain_spec.rb
|
|
372
|
-
- spec/unit/action/handle_box_image_spec.rb
|
|
373
|
-
- spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_0.xml
|
|
374
396
|
- spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_1.xml
|
|
375
|
-
- spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_2.xml
|
|
376
397
|
- spec/unit/action/create_domain_volume_spec/one_disk_in_storage.xml
|
|
377
|
-
- spec/unit/action/
|
|
378
|
-
- spec/unit/action/
|
|
398
|
+
- spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_2.xml
|
|
399
|
+
- spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_0.xml
|
|
379
400
|
- spec/unit/action/destroy_domain_spec.rb
|
|
380
|
-
- spec/unit/action/wait_till_up_spec.rb
|
|
381
|
-
- spec/unit/action/create_domain_volume_spec.rb
|
|
382
|
-
- spec/unit/action/halt_domain_spec.rb
|
|
383
401
|
- spec/unit/action/set_name_of_domain_spec.rb
|
|
384
|
-
- spec/unit/action/resolve_disk_settings_spec.rb
|
|
385
402
|
- spec/unit/action/remove_libvirt_image_spec.rb
|
|
386
|
-
- spec/unit/action/
|
|
387
|
-
- spec/unit/action/create_domain_spec/
|
|
388
|
-
- spec/unit/action/create_domain_spec/two_disk_settings.xml
|
|
389
|
-
- spec/unit/action/create_domain_spec/default_user_storage_pool.xml
|
|
390
|
-
- spec/unit/action/create_domain_spec/sysinfo_only_required.xml
|
|
403
|
+
- spec/unit/action/halt_domain_spec.rb
|
|
404
|
+
- spec/unit/action/create_domain_spec/additional_disks_domain.xml
|
|
391
405
|
- spec/unit/action/create_domain_spec/default_domain.xml
|
|
392
406
|
- spec/unit/action/create_domain_spec/sysinfo.xml
|
|
393
|
-
- spec/unit/action/create_domain_spec/
|
|
394
|
-
- spec/unit/
|
|
395
|
-
- spec/unit/
|
|
396
|
-
- spec/unit/
|
|
397
|
-
- spec/unit/
|
|
398
|
-
- spec/unit/
|
|
399
|
-
- spec/unit/
|
|
400
|
-
- spec/unit/
|
|
401
|
-
- spec/unit/
|
|
402
|
-
- spec/unit/
|
|
403
|
-
- spec/unit/
|
|
404
|
-
- spec/unit/
|
|
405
|
-
- spec/unit/
|
|
406
|
-
- spec/unit/
|
|
407
|
-
- spec/unit/
|
|
408
|
-
- spec/unit/
|
|
409
|
-
- spec/unit/
|
|
410
|
-
- spec/
|
|
411
|
-
- spec/
|
|
412
|
-
- spec/
|
|
413
|
-
- spec/
|
|
414
|
-
- spec/
|
|
415
|
-
- spec/
|
|
416
|
-
- spec/
|
|
417
|
-
- spec/
|
|
418
|
-
- spec/
|
|
419
|
-
- spec/
|
|
420
|
-
- spec/
|
|
421
|
-
- spec/
|
|
422
|
-
- spec/
|
|
423
|
-
- spec/
|
|
424
|
-
- spec/
|
|
425
|
-
- spec/
|
|
426
|
-
- spec/
|
|
427
|
-
- spec/
|
|
428
|
-
- spec/
|
|
429
|
-
- spec/
|
|
407
|
+
- spec/unit/action/create_domain_spec/default_user_storage_pool.xml
|
|
408
|
+
- spec/unit/action/create_domain_spec/custom_disk_settings.xml
|
|
409
|
+
- spec/unit/action/create_domain_spec/sysinfo_only_required.xml
|
|
410
|
+
- spec/unit/action/create_domain_spec/two_disk_settings.xml
|
|
411
|
+
- spec/unit/action/create_domain_volume_spec.rb
|
|
412
|
+
- spec/unit/action/resolve_disk_settings_spec/default_domain.xml
|
|
413
|
+
- spec/unit/action/resolve_disk_settings_spec/multi_volume_box.xml
|
|
414
|
+
- spec/unit/action/resolve_disk_settings_spec/default_no_aliases.xml
|
|
415
|
+
- spec/unit/action/resolve_disk_settings_spec/multi_volume_box_additional_storage.xml
|
|
416
|
+
- spec/unit/action/resolve_disk_settings_spec/multi_volume_box_additional_and_custom_no_aliases.xml
|
|
417
|
+
- spec/unit/action/resolve_disk_settings_spec/default_system_storage_pool.xml
|
|
418
|
+
- spec/unit/action/handle_box_image_spec.rb
|
|
419
|
+
- spec/unit/action/wait_till_up_spec.rb
|
|
420
|
+
- spec/unit/action/cleanup_on_failure_spec.rb
|
|
421
|
+
- spec/unit/action/clean_machine_folder_spec.rb
|
|
422
|
+
- spec/unit/action/resolve_disk_settings_spec.rb
|
|
423
|
+
- spec/unit/action/start_domain_spec.rb
|
|
424
|
+
- spec/unit/action/start_domain_spec/default_added_tpm_path.xml
|
|
425
|
+
- spec/unit/action/start_domain_spec/nvram_domain.xml
|
|
426
|
+
- spec/unit/action/start_domain_spec/default_added_tpm_version.xml
|
|
427
|
+
- spec/unit/action/start_domain_spec/default.xml
|
|
428
|
+
- spec/unit/action/start_domain_spec/clock_timer_rtc_tsc.xml
|
|
429
|
+
- spec/unit/action/start_domain_spec/nvram_domain_removed.xml
|
|
430
|
+
- spec/unit/action/start_domain_spec/nvram_domain_other_setting.xml
|
|
431
|
+
- spec/unit/action/start_domain_spec/clock_timer_removed.xml
|
|
432
|
+
- spec/unit/action/start_domain_spec/existing_added_nvram.xml
|
|
433
|
+
- spec/unit/action/start_domain_spec/clock_timer_rtc.xml
|
|
434
|
+
- spec/unit/action/start_domain_spec/existing.xml
|
|
435
|
+
- spec/unit/action/start_domain_spec/default_with_different_formatting.xml
|
|
436
|
+
- spec/unit/action/destroy_domain_spec/additional_disks_domain.xml
|
|
437
|
+
- spec/unit/action/destroy_domain_spec/box_multiple_disks.xml
|
|
438
|
+
- spec/unit/action/destroy_domain_spec/box_multiple_disks_and_additional_and_custom_disks_no_aliases.xml
|
|
439
|
+
- spec/unit/action/destroy_domain_spec/box_multiple_disks_and_additional_disks.xml
|
|
440
|
+
- spec/unit/action/destroy_domain_spec/box_multiple_disks_and_additional_and_custom_disks.xml
|
|
441
|
+
- spec/unit/action/destroy_domain_spec/cdrom_domain.xml
|
|
442
|
+
- spec/unit/action/create_domain_spec.rb
|
|
443
|
+
- spec/unit/action/prepare_nfs_settings_spec.rb
|
|
444
|
+
- spec/unit/action/shutdown_domain_spec.rb
|
|
445
|
+
- spec/unit/action/forward_ports_spec.rb
|
|
430
446
|
- spec/spec_helper.rb
|