def stub_delete_aggregate(context, aggregate): raise exception.AggregateNotFound(aggregate_id=aggregate)
def stub_update_aggregate(context, aggregate, metadata): raise exception.AggregateNotFound(aggregate_id=aggregate)
def stub_add_host_to_aggregate(context, aggregate, host): raise exception.AggregateNotFound(aggregate_id=aggregate)
def stub_remove_host_from_aggregate(context, aggregate, host): raise exception.AggregateNotFound(aggregate_id=aggregate)
def stub_get_aggregate(context, id): raise exception.AggregateNotFound(aggregate_id=2)