Add virsh node-memory-tune commands function wrapper

Signed-off-by: Alex Jia <ajia@redhat.com>
Add node memory tuning test configuration and cases

Signed-off-by: Alex Jia <ajia@redhat.com>
libvirt.tests: Fix virsh node-memory-tune testcases.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Add JeOS.19.x86_64

Add kickstart and configuration files for the new version
of JeOS, based on Fedora 19.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
run: Update JeOS to version 19

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
downloads: Add JeOS 19 download file

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
bootstrap: Download JeOS 19 image rather than 17

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
libvirt-tests: Improve snapshot tests in libvirt.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
libvirt-snapshot: Improve virsh_snapshot test.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Update snapshot-delete function in virsh module.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
libvirt-tests: fix cleanup part in test for snapshot_disk.

Wrong path in snapshot_external_disk cause the error in cleanup.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
Add more options to improve nodedev-dumpxml test.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Improve nodedev-detach-reatach test.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Add --paused option test for snapshot-revert.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
run: add libvirt specific options install and remove

Running the libvirt tests requires configured guest in libvirt.
This introduce new options, the first one is '--install' which
will install the guest using import method.

There is also second new option '--remove' which will remove the
guest from libvirt without deleting the disk file.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
virsh_list: Adjust test to SKIP remote test

Following other tests (destroy, domid, reboot, setvcpus, undefine,
vncdisplay, dominfo, dommemstat, domstate) - adjust the defaults for
the local_ip to be "LOCAL.EXAMPLE.COM" and the remote_ip to be
"REMOTE.EXAMPLE.COM" in order to cause the test to be skipped if
the defaults weren't changed.

Signed-off-by: John Ferlan <jferlan@redhat.com>
virsh_shutdown: Adjust test to SKIP remote test

Following other tests (destroy, domid, reboot, setvcpus, undefine,
vncdisplay, dominfo, dommemstat, domstate) - adjust the defaults for
the local_ip to be "LOCAL.EXAMPLE.COM" and the remote_ip to be
"REMOTE.EXAMPLE.COM" in order to cause the test to be skipped if
the defaults weren't changed.
virttest: Move utils_koji to staging

This is yet another library that we want to move to
autotest proper, since it is in fact already there.
So it needs to be in virttest.staging rather than virttest.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
virttest.staging.utils_koji: Retry file downloads

In order to make the code a little more robust, so
we can achieve better success rates in flaky networking
infrastructures, if we had a failure downloading a file
from Brew or Koji, retry during a timeout (30 seconds),
in fixed time intervals (3 seconds). If at the end of
this timeout we still didn't get it, give up and throw
an error.

As the code uses frequently the terminology 'get' for
this rather than 'download', I opted for an internal
method _get() that encapsulates all the process nicely.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
general: More docstring fixes

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>