← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1566676] [NEW] PD: Optimize get_ports query by filtering on subnet

 

Public bug reported:

Current code for prefix delegation gets all ports from DB and then for
each port it checks if it has a PD subnet. With this, we get unnecessary
ports(ports without PD subnet) and again we need to check for subnet in
these ports.

We can optimize this by querying the DB by filtering on subnet.

** Affects: neutron
     Importance: Undecided
     Assignee: venkata anil (anil-venkata)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => venkata anil (anil-venkata)

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

Title:
  PD: Optimize get_ports query by filtering on subnet

Status in neutron:
  In Progress

Bug description:
  Current code for prefix delegation gets all ports from DB and then for
  each port it checks if it has a PD subnet. With this, we get
  unnecessary ports(ports without PD subnet) and again we need to check
  for subnet in these ports.

  We can optimize this by querying the DB by filtering on subnet.

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


Follow ups