why not simple nic.allowed_networks = [] ?