Public bug reported:

There are duplicated table lookup in the _get_min_bw_request_group, 
_get_min_pps_request_group method.
If there is no minimum bandwidth rule or minimum packet rate rule, empty list 
([]) can be passed to the method.
Since empty list ([]) is False, the method lookup the table again, which is 
unnecessary.
This occurs longer time taking in port list api.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  Duplicated table lookup in extending port resource request

Status in neutron:
  New

Bug description:
  There are duplicated table lookup in the _get_min_bw_request_group, 
_get_min_pps_request_group method.
  If there is no minimum bandwidth rule or minimum packet rate rule, empty list 
([]) can be passed to the method.
  Since empty list ([]) is False, the method lookup the table again, which is 
unnecessary.
  This occurs longer time taking in port list api.

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to