'Updates HostManager internal aggregates information.
:param aggregates: Aggregate(s) to update
:type aggregates: :class:`nova.objects.Aggregate`
or :class:`nova.objects.AggregateList`'

def update_aggregates(self, context, aggregates):

    self.scheduler_rpcapi.update_aggregates(context, aggregates)
