commit ad6983141d7f6acc6df7802ac1906c0bcde0a5f7
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.
Conflicts:
neutron/plugins/ml2/driver_context.py
Partial-Bug: #1665215
Change-Id: I9014c4e401134f4db908ed989e0095d0ca95b7c9
(cherry picked from commit 2c01ad9c564dcc294fb954a62d86d1e334f52178)
Reviewed: https:/ /review. openstack. org/439813 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=ad6983141d7 f6acc6df7802ac1 906c0bcde0a5f7
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit ad6983141d7f6ac c6df7802ac1906c 0bcde0a5f7
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.
Conflicts: plugins/ ml2/driver_ context. py
neutron/
Partial-Bug: #1665215 4db908ed989e009 5d0ca95b7c9 94fb954a62d86d1 e334f52178)
Change-Id: I9014c4e401134f
(cherry picked from commit 2c01ad9c564dcc2