Bug 1292166

Summary: Backport: get_networks performance hindered by segment lookups
Product: Red Hat OpenStack Reporter: Haim Daniel <hdaniel>
Component: openstack-neutronAssignee: lpeer <lpeer>
Status: CLOSED DUPLICATE QA Contact: Ofer Blaut <oblaut>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: amuller, chrisw, dcadzow, lpeer, nyechiel, yeylon
Target Milestone: ---Keywords: FeatureBackport
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-16 23:31:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Haim Daniel 2015-12-16 15:52:23 UTC
During the get_networks method of ML2, we iterate over each network and do a database call to lookup the segments for that network. This scales the number of database calls linearly with the number of retrieved networks.

Comment 2 Assaf Muller 2015-12-16 23:31:05 UTC

*** This bug has been marked as a duplicate of bug 1292167 ***