Added function to link new resource
If network exists, when create a server, a network is linked to it