network: introduce networkAllocatePort
network: introduce networkAllocatePort

Separate network port allocation code from the domain driver network
callback implementation.

Reviewed-by: Laine Stump <c23361c43fbf79fed83e8b76173707b083d6caf5@laine.org>
Signed-off-by: Daniel P. Berrangé <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>

fabianfreyer/libvirt,eskultety/libvirt,jardasgit/libvirt,crobinso/libvirt,andreabolognani/libvirt,jardasgit/libvirt,crobinso/libvirt,libvirt/libvirt,jardasgit/libvirt,jfehlig/libvirt,eskultety/libvirt,andreabolognani/libvirt,zippy2/libvirt,crobinso/libvirt,fabianfreyer/libvirt,olafhering/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,zippy2/libvirt,libvirt/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,nertpinx/libvirt,eskultety/libvirt,andreabolognani/libvirt,crobinso/libvirt,jfehlig/libvirt,libvirt/libvirt,jfehlig/libvirt,jardasgit/libvirt,zippy2/libvirt,libvirt/libvirt,nertpinx/libvirt,olafhering/libvirt,eskultety/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,nertpinx/libvirt,zippy2/libvirt,andreabolognani/libvirt,olafhering/libvirt,jfehlig/libvirt,nertpinx/libvirt,olafhering/libvirt,eskultety/libvirt