Comment 21 for bug 1445412

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

Reviewed: https://review.openstack.org/174843
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=9701bd479529ccc243e48fdb944c284d2921c376
Submitter: Jenkins
Branch: master

commit 9701bd479529ccc243e48fdb944c284d2921c376
Author: Kevin Benton <email address hidden>
Date: Fri Apr 17 04:46:11 2015 -0700

    L3 DB: Defer port DB subnet lookups

    _populate_subnets_for_ports was being called multiple
    times for different interface types during the get_routers
    process.

    This patch eliminates those extra queries by deferring the
    subnet information population until after all of the interfaces
    have been looked up. Includes a function rename as well to
    indicate that a function is only used internally.

    Change-Id: Ib46f685d72eb61ecbaa2869e28fb173cd6d49552
    Partial-bug: #1445412