← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2103412] [NEW] Extend port resource request when not using qos minimum rules

 

Public bug reported:

In the method [1], if there is no minimum bandwidth rule and minimum packet rate rule in the port's qos policy, port['resource_request'] is set to None in the end.
In the system not using minimum bandwidth rule and minimum packet rate rule, it doesn't have to make db calls, and this will reduce port retrieval time.
Therefore, I suggest check presence of minimum rules first, and do resource_request extension.

[1]
https://github.com/openstack/neutron/blob/master/neutron/services/qos/qos_plugin.py#L276

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

Title:
  Extend port resource request when not using qos minimum rules

Status in neutron:
  New

Bug description:
  In the method [1], if there is no minimum bandwidth rule and minimum packet rate rule in the port's qos policy, port['resource_request'] is set to None in the end.
  In the system not using minimum bandwidth rule and minimum packet rate rule, it doesn't have to make db calls, and this will reduce port retrieval time.
  Therefore, I suggest check presence of minimum rules first, and do resource_request extension.

  [1]
  https://github.com/openstack/neutron/blob/master/neutron/services/qos/qos_plugin.py#L276

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