Remove limit of 1000 hosts, and make it use pagination

Change-Id: I28bdc52e838dc1e28a5965b3954556755d28fb82
Signed-off-by: Pablo <Pablo.Iranzo@gmail.com>