commit 2c01ad9c564dcc294fb954a62d86d1e334f52178
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.
Reviewed: https:/ /review. openstack. org/434679 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2c01ad9c564 dcc294fb954a62d 86d1e334f52178
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2c01ad9c564dcc2 94fb954a62d86d1 e334f52178
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
Change-Id: I9014c4e401134f