def list(self, bay_ident, marker=None, limit=None, sort_key=None,
             sort_dir=None, detail=False):
        if limit is not None:
            limit = int(limit)

        filters = utils.common_filters(marker, limit, sort_key, sort_dir)
        filters.append('bay_ident=%s' % bay_ident)

        path = ''
        if detail:
            path += 'detail'
        if filters:
            path += '?' + '&'.join(filters)

        if limit is None:
            return self._list(self._path(bay_ident=bay_ident), "services")
        else:
            return self._list_pagination(self._path(bay_ident=bay_ident),
                                         "services", limit=limit)
Retrieve a list of services.
dataset/ETHPy150Open openstack/python-magnumclient/magnumclient/v1/services.py/ServiceManager.list