'Deletes internal HostManager information about a specific aggregate.'

def delete_aggregate(self, aggregate):

    if (aggregate.id in self.aggs_by_id):
        del self.aggs_by_id[aggregate.id]
    for host in self.host_aggregates_map:
        if (aggregate.id in self.host_aggregates_map[host]):
            self.host_aggregates_map[host].remove(aggregate.id)
