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)
Reviewed: https:/ /review. openstack. org/439811 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=1960f384aac bdb540a140210f0 6ea1098f9b023d
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 1960f384aacbdb5 40a140210f06ea1 098f9b023d
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 4db908ed989e009 5d0ca95b7c9 94fb954a62d86d1 e334f52178)
Change-Id: I9014c4e401134f
(cherry picked from commit 2c01ad9c564dcc2