@require_admin_context
def cluster_get_all(context, is_up=None, get_services=False, services_summary=False, read_deleted='no', name_match_level=None, **filters):
 query = _cluster_query(context, is_up, get_services, services_summary, read_deleted, name_match_level, **filters)
 return ([] if (not query) else query.all())

@ require_admin_context def cluster_get_all ( context , is_up = None , get_services = False , services_summary = False , read_deleted = 'no' , name_match_level = None , ** filters ) : query = _cluster_query ( context , is_up , get_services , services_summary , read_deleted , name_match_level , ** filters ) return ( [ ] if ( not query ) else query . all ( ) )
get all clusters that match the criteria .