libvirt.test: Attach iface to domain

Attach a iface to domain, test if domain
can be login with the iface.

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>