Add libvirt API acl test case for virsh blockcopy

Update virsh blockcopy test case for test API 'block-write' and 'write'
in virDomainPtr set.

Revert update on utils_libvirtd with deprecated function.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh undefine

Update virsh undefine test case for test API 'write', 'save' and
'delete' in virDomainPtr set. The 'write' and 'save' is for define
command, 'delete' is for undefine command.
The define acl case is add here since virsh.define test case
not direct use virsh.command for testing. It will only be run
with 'setup_libvirt_polkit' as 'yes'.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh suspend

Update virsh suspend test case for test API 'suspend' in virDomainPtr
set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh reset

Update virsh reset test case for test API 'reset' in virDomainPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh shutdown

Update virsh shutdown test case for test API 'ini-control' in
virDomainPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh destroy

Update virsh destroy test case for test API 'stop' in virDomainPtr
set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh domfstrim

Update virsh domfstrim test case for test API 'fs-trim' in virDomainPtr
set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh snapshot-create-as

Update virsh snapshot-create-as test case for test API 'snapshot' in
virDomainPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh find-storage-pool-sources

Update virsh find-storage-pool-sources test case for test API
'detect-storage-pools' in virConnectPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh net-define and net-undefine

Update virsh_net_define_undefine test case for test API
'save', 'write' and 'delete' in virNetworkPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh net-destroy

Update virsh net-destroy test case for test API 'stop' in virNetworkPtr
set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh net-start

Update virsh net-start test case for test API 'start' in virNetworkPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh nwfilter-define

Update virsh nwfilter-define test case for test API 'write' and
'save' in virNWFilterPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh nwfilter-undefine

Update virsh nwfilter-undefine test case for test API 'delete' in
virNWFilterPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh nodedev-detach

Update virsh nodedev-detach test case for test API 'read' and
'detach' in virNodeDevicePtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh nodedev-create and nodedev-destroy

Update virsh nodedev_create_destroy test case for test API 'write',
'start' and 'stop' in virNodeDevicePtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh vol-create

Update virsh vol-create test case for test API 'create' in
virStorageVolPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh vol-wipe

Update virsh vol-wipe test case for test API 'format' in
virStorageVolPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh vol-resize

Update virsh vol-resize test case for test API 'resize' in
virStorageVolPtr set.

Signed-off-by: Wayne Sun <gsun@redhat.com>
Add libvirt API acl test case for virsh vol-download and vol-upload

Update virsh vol_download_upload test case for test API 'data-write'
and 'data-read' in virStorageVolPtr set.

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