resources: add server resources helpers
resources: add server resources helpers

Signed-off-by: Christian Brauner <48455ab3070520a2d174545c7239d6d0fabd9a83@ubuntu.com>

mjeanson/lxd,stgraber/lxd,atxwebs/lxd,hallyn/lxd,atxwebs/lxd,Skarlso/lxd,Skarlso/lxd,erikmack/lxd,stgraber/lxd,mjeanson/lxd,hallyn/lxd,jsavikko/lxd,lxc/lxd,stgraber/lxd,lxc/lxd,erikmack/lxd,hallyn/lxd,atxwebs/lxd,lxc/lxd,hallyn/lxd,pcdummy/lxd,hallyn/lxd,atxwebs/lxd,lxc/lxd,stgraber/lxd,lxc/lxd,lxc/lxd,stgraber/lxd,Skarlso/lxd,stgraber/lxd,jsavikko/lxd,Skarlso/lxd,hallyn/lxd,erikmack/lxd,mjeanson/lxd,stgraber/lxd,lxc/lxd,pcdummy/lxd,jsavikko/lxd,pcdummy/lxd