adding support for listing hosts and vms for service