← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1942358] [NEW] Use "objects_exist" in port forwarding plugin

 

Public bug reported:

This is a small optimization in [1]: instead of retrieving the actual
objects, we can just use "objects_exist". This method will reduce the DB
load and will provide the same functionality needed there.

[1]https://github.com/openstack/neutron/blob/6ae28ca1eba77653c1d42591a535abfcc0ec196c/neutron/services/portforwarding/pf_plugin.py#L177-L180

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

** 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/1942358

Title:
  Use "objects_exist" in port forwarding plugin

Status in neutron:
  In Progress

Bug description:
  This is a small optimization in [1]: instead of retrieving the actual
  objects, we can just use "objects_exist". This method will reduce the
  DB load and will provide the same functionality needed there.

  [1]https://github.com/openstack/neutron/blob/6ae28ca1eba77653c1d42591a535abfcc0ec196c/neutron/services/portforwarding/pf_plugin.py#L177-L180

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



Follow ups