svirt_attach_disk: Add test cases for pool volume

Add test cases for netfs pool vol with virt_use_nfs sebool set.
Add iscsi and disk pool vol with check rawio capabilitiy.

Signed-off-by: Wayne Sun <gsun@redhat.com>
svirt_attach_disk: Fix typo and TestNAError usage problem

Fix TestNAError implicit substitue problem and s/successed/succeeded/

Signed-off-by: Wayne Sun <gsun@redhat.com>

fix TestNAError usage problem
svirt_attach_disk: Modify rawio capabilitiy check with bit and

Run capsh --decode on host will met problem on rhel6, so change
to use 'bit and' with rawio capabilitiy value.

Bug on rhel6:
  $ capsh --decode=fffffffc00020000
will got endless output in stdout

Signed-off-by: Wayne Sun <gsun@redhat.com>
modify for gluster pool and volume test
timer_management: Re-write test and add more cases

1. No need test all VMs on the host, run cases against one VM is enough.
2. Merge functions which has similar structures and steps.
3. Add more cases to cover specific timer name and 'present' value.

Signed-off-by: Yanbing Du <ydu@redhat.com>
Tests cases for gluster network disks.
virsh_iface: Add acl test cases for virInterfacePtr group apis

Add acl test cases for 'write', 'save', 'start', 'stop' and 'delete'
in virInterfacePtr group.

Signed-off-by: Wayne Sun <gsun@redhat.com>
iface: Add acl case for iface list and dumpxml command

iface list and dumpxml command works by default with no permission
restriction, the commit add test for grant none to test both
command works as expected.

Signed-off-by: Wayne Sun <gsun@redhat.com>
net_list: Add acl test cases for net-list command

By default the access for network api 'read' and 'getattr' is granted
for unprivileged user, add test case for testing this.

Signed-off-by: Wayne Sun <gsun@redhat.com>
net_dumpxml: Add acl test cases for net-dumpxml command

By default the access for network api 'read' and 'getattr' is granted
for unprivileged user, add test case for testing this via net-dumpxml.

Signed-off-by: Wayne Sun <gsun@redhat.com>
nwfilter_dumpxml: Add acl test cases for nwfilter api 'read' and 'getattr'

By default, access for nwfilter api 'read' and 'getattr' is granted
for unprivileged user, add test cases for this via nwfilter-dumpxml
command.

Signed-off-by: Wayne Sun <gsun@redhat.com>
nwfilter_list: add acl test case for nwfilter api 'getattr'

By default, access for nwfilter api 'getattr' is granted for
unprivileged user, add test cases for this via nwfilter-list
command.

Signed-off-by: Wayne Sun <gsun@redhat.com>
secret_dumpxml: add acl test cases for secret api 'read' and 'getattr'

By default, access for secret api 'read' and 'getattr' is granted
for unprivileged user, add test cases for this via secret-dumpxml
command.

Signed-off-by: Wayne Sun <gsun@redhat.com>
secret_list: add acl test cases for secret api 'getattr'

By default, access for secret api 'getattr' is granted for
unprivileged user, add test cases for this via secret-list
command.

Signed-off-by: Wayne Sun <gsun@redhat.com>
pool_acl: add test cases for storage-pool api 'read' and 'getattr'

By default, access for storage-pool api 'read' and 'getattr' is
granted for unprivileged user, add test cases for this via pool list
and dumpxml command.

Signed-off-by: Wayne Sun <gsun@redhat.com>
virsh.dump: Cover --format option

Signed-off-by: Yanbing Du <ydu@redhat.com>
libvirt.tests: Add testcase for ethernet iommu group.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
nodedev_list: add acl test cases for node-device api 'getattr'

By default, access for node-device api 'getattr' is granted
for unprivileged user, add test cases for this via nodedev-list
command, and nodedev-list command also check connect api
'search-node-devices'.

Signed-off-by: Wayne Sun <gsun@redhat.com>
nodedev_list: fix the --cap net testing problem

When host with bond devices under /sys/class/net, the bond device
master is not show in nodedev-list result, but only the slave
device, ignore bonding master in check.

Signed-off-by: Wayne Sun <gsun@redhat.com>
nodedev_dumpxml: add acl test cases for node-device api 'read'

By default, access for node-device api 'read' is denied for
unprivileged user, add test cases for cover this via
nodedev-dumpxml command.

Signed-off-by: Wayne Sun <gsun@redhat.com>