'List all endpoint groups.'

@controller.protected()
def list_endpoint_groups(self, request):

    refs = self.catalog_api.list_endpoint_groups()
    return EndpointGroupV3Controller.wrap_collection(request.context_dict, refs)
