utils_test.libvirt: Fix pre_pool for iscsi_get_sessions.

 * Let iscsi.get_iscsi_sessions return tuple of target and address
 * Before cleanup of pool in PoolVolumeTest, we should check
   whether pool exists.
 * As iscsi.iscsi_get_sessions returns ip_addr and port,
   we should remove port for pool-operations.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Signed-off-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Yanbing Du <ydu@redhat.com>
virttest.utils_libguestfs.py: Add function do_mount()

Mount lvm or physical partation
utils_netperf: Fix self.netperf_path typo issue

When compiling netperf from source, the variable to be set in the Client
class should be netperf_path and not netserver_path. This fix was done
before pushing the util_netperf feature, but somehow lost.

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
virttest.utils_libguestfs: Add some blockdev commands of guestfish

(1)canonical_device_name
(2)device_index
(3)disk_format
(4)disk_has_backing_file
(5)disk_virtual_size
Merge pull request #1586 from zqad/netperf_fix

utils_netperf: Fix self.netperf_path typo issue
virttest.utils_netperf: PEP8 Fix

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
qemu_vm: Add monotonic start time

For tests that would like to fetch the monotonic start time, expose it
through the start_monotonic_time member.

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
virttest.utils_params_unittest: Supress bogus pylint error

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1583 from vanbogithub/bfan-next

virttest.utils_libguestfs.py: Add function do_mount()
virt-test: Add sphinx documentation

After some work with the virt-test wiki, it has been
converted to the sphinx format. Although many of the
rough edges and outdated docs were put into shape,
there's still a lot to be done. It's good to have
it out there and integrated early, where we can
work on it.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1595 from autotest/documentation

virt-test: Add sphinx documentation
Add travis CI jobs

Make it possible to run the virttest unittests under travis.

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

The conf script generated by sphinx-quickstart has its
quirks, so let's fix them.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
.travis.yml: Install autotest before running virttest unittests

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1598 from autotest/travis

Travis
travis: Runner and travis.yml fixes

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
travis.yml: Specify which module is going to be tested

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
.travis.yml: More updates

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
.travis.yml: Update install commands

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
.travis.yml: Use system site packages

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