virttest.qemu_vm: add virtio-rng-device support

Signed-off-by: Xu Tian <xutian@redhat.com>
virttest: Add support for set up private openvswitch bridge in test machine

Add a class in test_setup.py to support set up private openvswitch bridge
in the host for our tests. Also fixed a problem that in clean up the
private bridge will not init with params, lead to the private bridge name will
always be the default value.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest.test_setup: add setup egp.pl on localhost support

Signed-off-by: Xu Tian <xutian@redhat.com>
shared.deps: add egd server source code

Signed-off-by: Xu Tian <xutian@redhat.com>
shared.cfg: add cfg to no virtio-rng device by default

Signed-off-by: Xu Tian <xutian@redhat.com>
virttest.qemu_vm: Add strict parameter for boot option

Sometimes we need do strict boot via strict=on to skip to boot from
un-selected devices.

Signed-off-by: Shuping Cui <scui@redhat.com>
virttest: add new function to utils_misc

get guest disk free space and memory free size

Signed-off-by: Xu Tian <xutian@redhat.com>
shared.cfg: Small fix, add a missing parameter

Signed-off-by: Shuping Cui <scui@redhat.com>
Support to create VM objects for migrate_vms.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest.utils_misc: Use RLock to protect _open_log_files

Signed-off-by: Feng Yang <fyang@redhat.com>
virt.shared.cfg: remove guest spicial configuration

Signed-off-by: Xu Tian <xutian@redhat.com>
utils_test.libvirt: Check gluster command before use it

1. Check if 'gluster' command exist on the host
2. Remove an unused variable

Signed-off-by: Yanbing Du <ydu@redhat.com>
Update interface xml defination.

Add link_state attribute.
Remove portgroup attribute, since it is already in source dict.
Change bandwidth defination to a class.
virttest.env_process: Add default value to kernel_extra_params related parameters

Add "" as default value for kernel_extra_params_add and kernel_extra_params_remove.
Otherwise it will report TypeError later when we try to add kernel options to them.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest.utils_test.libvirt: add utility for VM migration

Signed-off-by: Alex Jia <ajia@redhat.com>
virttest.nfs: support NFS client setup

Signed-off-by: Alex Jia <ajia@redhat.com>
virttest.qemu_devices: Fix the error caused by empty bus_extra_params

If bus_extra_params is empty string, it will raise error in the following
code. So update the code to fix it.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Add SLES-12.0 guest
Change interface driver defination to a class.
virttest.qemu_qtree: decode LUN when LUNs more that 255

Signed-off-by: Xu Tian <xutian@redhat.com>