'Show a list of all cinder services.'

def list(self):

    ctxt = context.get_admin_context()
    clusters = objects.ClusterList.get_all(ctxt, services_summary=True)
    print_format = '%-36s    %-16s    %-10s    %-5s    %-20s    %-7s    %-12s    %-20s'
    print((print_format % (_('Name'), _('Binary'), _('Status'), _('State'), _('Heartbeat'), _('Hosts'), _('Down    Hosts'), _('Updated    At'))))
    for cluster in clusters:
        art = self._state_repr(cluster.is_up)
        status = ('disabled' if cluster.disabled else 'enabled')
        heartbeat = self._normalize_time(cluster.last_heartbeat)
        updated_at = self._normalize_time(cluster.updated_at)
        print((print_format % (cluster.name, cluster.binary, status, art, heartbeat, cluster.num_hosts, cluster.num_down_hosts, updated_at)))
