def get_records(self, name):
        """Return all the records for the given name in the cache.

        Args:
            name (string): The name which the required models are stored under.

        Returns:
            list: A list of :class:`cinder_data.model.CinderModel` models.
        """
        if name in self._cache:
            return self._cache[name].values()
        else:
            return []