virttest.utils_libguestfs: Enhancements of virt_edit interface.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_net: raise a right error for bring down interface

Signed-off-by: Yanbing Du <ydu@redhat.com>
utils_test.libvirt: Fix a regex

In some case, interface may has no MAC address:
$virsh iface-list
Name                 State      MAC Address
--------------------------------------------
brlo                 inactive
eth0                 active     44:37:e6:4a:42:d1

So fix the regex to get empty MAC address.

Signed-off-by: Yanbing Du <ydu@redhat.com>
Modify secret-list and add net-update wrapper

1. Variable options is added twice in secret-list and keep the code
style simple and consistent with other APIs

2. Add net_update() API to support libvirt testcase virsh_net_update.py
virttest.libvirt_vm: Add functions to get device details.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test: Add functions for remote disk operations.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test: Support lvm for RemoteDiskManager.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test.libvirt: Add attaching operations for libvirt vm.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
utils_test.init: Add function for RemoteDiskManager.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest: Libvirt polkit config support in env_process

Libvirt polkit driver supports administrators to setup fine grained
permission rules across client users, managed objects and API operations.

For support libvirt polkit configuration with basic user/objects/API
testing, add LibvirtPolkitConfig class in test_setup and perform the
config in env_process beforce case run start.

Reference:
http://libvirt.org/aclpolkit.html
http://libvirt.org/acl.html#perms

Signed-off-by: Wayne Sun <gsun@redhat.com>
virttest: Add support of unprivileged virsh session

For fine grained unprivileged user API permission testing, virsh session
should be started by unprivileged user. This patch update virsh_exec in
command, VirshPersistent and VirshSession for support once, persistent
and remote unprivileged virsh session.

If unprivileged_user specified in cfg file:
For one time and persistent session, the virsh_exec will be:
su - unprivileged_user -c 'virsh -c qemu:///system'

For remote persistent session, the virsh_exec will be:
ssh -o UserKnownHostsFile=/dev/null -o PreferredAuthentications=password
-p 22 remote_user@remote_ip "virsh -c qemu:///system"

Signed-off-by: Wayne Sun <gsun@redhat.com>
Merge pull request #1609 from yumingfei/virt_edit

virttest.utils_libguestfs: Enhancements of virt_edit interface.
utils_test: Replace autotest with new autotest-local.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virsh: Add 'ti_file' to snapshot_dumpxml func

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Add function for checking disk type in vm xml.
.travis.yml: Notify the IRC channel of every Travis CI job result

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

.travis.yml: Notify the IRC channel of every Travis CI job result
Merge remote-tracking branch 'upstream/master'
Merge pull request #1655 from rbian/master

Add function for checking disk type in vm xml.
Merge pull request #1653 from yumingfei/stress_update

utils_test: Replace autotest with new autotest-local.