Comment 21 for bug 1597913

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/351793
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7c0f189309789ebcbd5c20c5a86835576ffb5db3
Submitter: Jenkins
Branch: master

commit 7c0f189309789ebcbd5c20c5a86835576ffb5db3
Author: Ihar Hrachyshka <email address hidden>
Date: Fri Aug 5 17:13:44 2016 +0200

    models: move AllowedAddressPair model under neutron/db/models

    This patch moves the module into the canonical place. It does it in
    backwards compatible way, by leaving the model available under the old
    location, only emitting a deprecation warning on access from there. In
    the future, the old module will be completely cleaned up.

    This patch also makes head.py file that is used to import and register
    all models in the tree to import everything from under neutron.db.models
    without explicitly naming each module. In that way, we can avoid the
    need to import each new module with models as long as it's located in
    the designated place. The file is a well known abuser in terms of git
    conflicts, and it's better to avoid manual work.

    Change-Id: I084031e6b3c8d9113cc6ee6e3967f0e1edaee0b5
    Partial-Bug: #1597913