Libvirt APIs for creating virtual networks