← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2085447] [NEW] Fast exit ``_ensure_external_network_default_value_callback`` if network not external

 

Public bug reported:

The method ``_ensure_external_network_default_value_callback`` [1] can
fast exit if the network request is not for an external network. That
will save one DB query [2].

[1]https://github.com/openstack/neutron/blob/9347c427b5354b608c61b11d29aebff889cd0213/neutron/services/auto_allocate/db.py#L43-L79
[2]https://github.com/openstack/neutron/blob/9347c427b5354b608c61b11d29aebff889cd0213/neutron/services/auto_allocate/db.py#L72-L73

** Affects: neutron
     Importance: Low
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: New

** Changed in: neutron
   Importance: Undecided => Low

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

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

Title:
  Fast exit ``_ensure_external_network_default_value_callback`` if
  network not external

Status in neutron:
  New

Bug description:
  The method ``_ensure_external_network_default_value_callback`` [1] can
  fast exit if the network request is not for an external network. That
  will save one DB query [2].

  [1]https://github.com/openstack/neutron/blob/9347c427b5354b608c61b11d29aebff889cd0213/neutron/services/auto_allocate/db.py#L43-L79
  [2]https://github.com/openstack/neutron/blob/9347c427b5354b608c61b11d29aebff889cd0213/neutron/services/auto_allocate/db.py#L72-L73

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



Follow ups