NSX: Fetch gateway device id mappings more efficiently

Bug #1320278 reported by Salvatore Orlando
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Salvatore Orlando

Bug Description

In: https://github.com/openstack/neutron/blob/master/neutron/plugins/vmware/plugins/base.py#L2008

a query is performed for each gateway device.
This could be optimized into a single query.

Tags: vmware
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/93942

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/93942
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=92738a05e535dc2fc76c7938045f4769edcb019e
Submitter: Jenkins
Branch: master

commit 92738a05e535dc2fc76c7938045f4769edcb019e
Author: Salvatore Orlando <email address hidden>
Date: Fri May 16 08:12:18 2014 -0700

    NSX: Do a single query for all gateway devices

    When creating a network gateway, do a single query for all
    gateway devices, rather than a distinct query for each device.

    Change-Id: I9e66539eb36ae75d3dcdd8a9073d2a2f69447e98
    Closes-Bug: 1320278

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.