logic to create required network in libvirt