Add APIs: file-architecture filesize stat lstat lstatlist
fix pep8
Add APIs: touch umask
Merge pull request #125 from shi2wei3/file_dir_APIs

Add APIs: file-architecture filesize stat lstat lstatlist touch umask
Add libvirt API acl test case for virsh restore

Update virsh restore test case for test API 'start' and 'write' in
virDomainPtr set.

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

Update virsh console test case for test API 'open-device' in
virDomainPtr set.

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

Update virsh restore test case for test API 'dump' in virDomainPtr set.

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

Update virsh sendkey test case for test API 'send-input' in virDomainPtr
set.

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

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

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

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

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.

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>