Skip to content

Commit fee5204

Browse files
committed
Improve cases for hotplug.attach_interface to create guest XML by the framework
1.Add some parameters to allow the framework provide guest xml 2.Add "only Linux" to limit guest type Signed-off-by: Yiqian Wei <yiwei@redhat.com>
1 parent a857564 commit fee5204

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

libvirt/tests/cfg/virtual_network/hotplug/attach_detach_interface/attach_interface_with_model.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
- virtual_network.hotplug.attach_interface.model:
22
type = attach_interface_with_model
3+
only Linux
4+
create_vm_libvirt = yes
5+
use_no_reboot = yes
6+
kill_vm_libvirt = yes
7+
ovmf:
8+
kill_vm_libvirt_options = --nvram
39
start_vm = no
410
timeout = 240
511
outside_ip = 'www.redhat.com'

libvirt/tests/cfg/virtual_network/hotplug/attach_detach_interface/attach_interface_with_options_and_vm_status.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
- virtual_network.hotplug.attach_interface.options_and_vm_status:
22
type = attach_interface_with_options_and_vm_status
3+
only Linux
4+
create_vm_libvirt = yes
5+
kill_vm_libvirt = yes
6+
ovmf:
7+
kill_vm_libvirt_options = --nvram
38
login_timeout = 360
49
iface_type = "network"
510
iface_source = "default"

0 commit comments

Comments
 (0)