

def after(self, state):
    reservations = state.request.context.get('reservations')
    if (not reservations):
        return
    neutron_context = state.request.context.get('neutron_context')
    with neutron_context.session.begin():
        for reservation in reservations:
            quota.QUOTAS.commit_reservation(neutron_context, reservation.reservation_id)
        resource_registry.set_resources_dirty(neutron_context)

dataset/ETHPy150Open openstack/neutron/neutron/pecan_wsgi/hooks/quota_enforcement.py QuotaEnforcementHook.after/original