def METHOD_NAME(iface_type, target_dev, **iface_args):
    """
    Create iface for test
    """
    source_map = {'network': {'network': DEFAULT_NET},
                  'direct': {'dev': iface_args['host_iface_name'],
                             'mode': 'bridge'}}
    iface_attrs = {'model': 'virtio',
                   'source': source_map[iface_type],
                   'target': {'dev': target_dev},
                   'type_name': iface_type}
    return libvirt_vmxml.create_vm_device_by_type('interface', iface_attrs)