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>
Merge pull request #341 from waynesun09/acl_nodedev_misc

Add acl test cases for node-device api 'read' and 'getattr'