提交 5e28a7cd 编写于 作者: Z zhencliu

Added configuration for remote image hotplug/hotunplug

  1. Added cfg/remote_block_hotplug.cfg
  2. ceph and iscsi were supported
Signed-off-by: NZhenchao Liu <zhencliu@redhat.com>
上级 912ec5fa
# Network storage backends:
# iscsi_direct
# ceph
# The following testing scenarios are covered:
# hotplug/hotunplug a remote virtio-scsi image
# hotplug/hotunplug a remote virtio-blk image
- block_hotplug_with_remote_storage: install setup image_copy unattended_install.cdrom
no RHEL.3.9
only iscsi_direct ceph
virt_test_type = qemu
type = block_hotplug
bootindex_image1 = 0
images += " stg0"
boot_drive_stg0 = no
image_name_stg0 = images/storage0
image_size_stg0 = 1G
remove_image_stg0 = yes
force_create_image_stg0 = yes
get_disk_cmd = "ls /dev/[hsv]d[a-z]* | sort"
disk_op_cmd = "dd if=%s of=/dev/null bs=1k count=1000 iflag=direct &&"
disk_op_cmd += " dd if=/dev/zero of=%s bs=1k count=1000 oflag=direct"
kill_vm = yes
repeat_times = 1
need_plug = yes
iscsi_direct:
check_disk_size = no
lun_stg0 = 1
variants:
- fmt_qcow2:
image_format_stg0 = qcow2
- fmt_raw:
image_format_stg0 = raw
- fmt_luks:
image_format_stg0 = luks
image_secret_stg0 = hotplug
variants:
- with_block:
drive_format_stg0 = virtio
- with_scsi:
drive_format_stg0 = scsi-hd
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册