def index(self, req):
        context = _get_context(req)
        authorize(context)
        aggregates = self.api.get_aggregate_list(context)
        return {'aggregates': [self._marshall_aggregate(a)['aggregate']
                               for a in aggregates]}
Get the diff to the last time the  state of objects was measured.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/legacy_v2/contrib/aggregates.py/AggregateController.index--crossover with--dataset/ETHPy150Open pympler/pympler/pympler/tracker.py/ObjectTracker.get_diff