← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1188562] Re: nicira plugin: subnet loaded twice in add_router_interface

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1188562

Title:
  nicira plugin: subnet loaded twice in add_router_interface

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  In add_router_interface: https://github.com/openstack/quantum/blob/master/quantum/plugins/nicira/QuantumPlugin.py#L1605
  The subnet is loaded from the database at: https://github.com/openstack/quantum/blob/master/quantum/plugins/nicira/QuantumPlugin.py#L1635

  and then again (if the router gateway is set) at:
  https://github.com/openstack/quantum/blob/master/quantum/plugins/nicira/QuantumPlugin.py#L1645

  The second query can be avoided.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1188562/+subscriptions