'Notify hypervisor of change (for hypervisor pools).'

@wrap_exception()
def add_aggregate_host(self, context, aggregate, host, slave_info):

    try:
        self.driver.add_to_aggregate(context, aggregate, host, slave_info=slave_info)
    except NotImplementedError:
        LOG.debug('Hypervisor    driver    does    not    support    add_aggregate_host')
    except exception.AggregateError:
        with excutils.save_and_reraise_exception():
            self.driver.undo_aggregate_operation(context, aggregate.delete_host, aggregate, host)
