Comment 25 for bug 1665215

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

Reviewed: https://review.openstack.org/439811
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1960f384aacbdb540a140210f06ea1098f9b023d
Submitter: Jenkins
Branch: stable/ocata

commit 1960f384aacbdb540a140210f06ea1098f9b023d
Author: Kevin Benton <email address hidden>
Date: Wed Feb 15 21:36:12 2017 -0800

    Avoid segment DB lookup in _expand_segment on port

    The port context already has a network attached to it that contains
    all of the segments for that network. In all cases the segments the
    port wants to lookup should be present here so we can just iterate
    over them without a separate DB query.

    Partial-Bug: #1665215
    Change-Id: I9014c4e401134f4db908ed989e0095d0ca95b7c9
    (cherry picked from commit 2c01ad9c564dcc294fb954a62d86d1e334f52178)