def list(self, sort_by=None):
        hosts = self._get('/os-hosts', 'hosts')
        if sort_by:
            hosts = sorted(hosts, key=lambda l: l[sort_by])
        return hosts
List all hosts.
dataset/ETHPy150Open openstack/python-blazarclient/climateclient/v1/hosts.py/ComputeHostClientManager.list