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
virsh: Add 'ti_file' to snapshot_dumpxml func

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
utils_net: add method dellink for Interface class

Implement dellink method in Interface using netlink.
Update arch to define the Constant for util_net.

Signed-off-by: Xiangmin Han <xhan@redhat.com>
virttest.qemu_vm: update regrex pattern for maxcpus option of smp device

In latest upstream qemu-kvm, help info for smp device changed like
    '-smp [cpus=]n[,maxcpus=cpus][,'
updated regrex pattern to make 'vcpu_maxcpus' param works for latest
qemu-kvm build.

Signed-off-by: Xu Tian <xutian@redhat.com>
shared.cfg: recorrect guest OS name

Signed-off-by: Xu Tian <xutian@redhat.com>
Merge pull request #1662 from xutian/fix_max_vcpus

virttest.qemu_vm: update regrex pattern for maxcpus option of smp device
Merge pull request #1652 from Xiangmin/add_dellink_for_utils_net

utils_net: add method dellink for Interface class
nic_hotplug.one_pci.nic_e1000: small fix to the escape character

Signed-off-by: Cong Li <coli@redhat.com>
Add APIs: mkdir, cp-a, equal, download, checksum-device, checksums-out
Merge pull request #1670 from shi2wei3/file_dir_APIs

Add APIs: mkdir, cp-a, equal, download, checksum-device, checksums-out
Merge pull request #1654 from liyangfnst/snp_dumpxml

virsh: Add 'to_file' to snapshot_dumpxml func
Merge pull request #1665 from xutian/fix_ubt_guestname

shared.cfg: recorrect guest OS name
Merge pull request #1668 from CongSmile/nic_hotplug.one_pci.nic_e1000

nic_hotplug.one_pci.nic_e1000: small fix to the escape character
Merge pull request #1669 from vanbogithub/bfan-next

virttest.utils_libguestfs: Add libguestfs function
virttest.qemu_vm: Fix setting qemu dst binary for gzip migration

Turns out our qemu migration dst code is being ignored
when the migration protocol is exec gzip. Let's fix that
by setting the dst before the branch that rules out said
type of migration.

CC: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #1675 from autotest/fix-qemu-dst-setting

virttest.qemu_vm: Fix setting qemu dst binary for gzip migration
Merge pull request #1626 from kylazhang/virsh-command

Modify secret-list and add net-update wrapper
virttest: fix compatibility with python2.4.

Signed-off-by: Jiří Župka <jzupka@redhat.com>