← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2015376] [NEW] [OVN] min-BW rule, defined in the LSP.options field, must be accompanied with a max-BW value

 

Public bug reported:

The QoS values defined in the LSP.options field are directly translated to a TC command and set in the interface. There are 3 values [1]:
* qos_min_rate
* qos_max_rate
* qos_burst

Neutron is currently using "qos_min_rate" only. The max-BW and DSCP QoS
rules are defined with QoS registers that match an input/output port
traffic.

As specified in [2], the "rate" parameter ("qos_max_rate") is mandatory.
The "ceil" parameter ("qos_min_rate") is not. Neutron needs to provide a
default "qos_max_rate" for any port where "qos_min_rate" is configured
(as commented, we are only using "qos_min_rate").

[1]https://github.com/ovn-org/ovn/blob/1bec9e3ddd8500793b52e11c3dc1f41ef1f48591/ovn-nb.xml#L1155-L1168
[2]https://man7.org/linux/man-pages/man8/tc-htb.8.html

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

Title:
   [OVN] min-BW rule, defined in the LSP.options field, must be
  accompanied with a max-BW value

Status in neutron:
  New

Bug description:
  The QoS values defined in the LSP.options field are directly translated to a TC command and set in the interface. There are 3 values [1]:
  * qos_min_rate
  * qos_max_rate
  * qos_burst

  Neutron is currently using "qos_min_rate" only. The max-BW and DSCP
  QoS rules are defined with QoS registers that match an input/output
  port traffic.

  As specified in [2], the "rate" parameter ("qos_max_rate") is
  mandatory. The "ceil" parameter ("qos_min_rate") is not. Neutron needs
  to provide a default "qos_max_rate" for any port where "qos_min_rate"
  is configured (as commented, we are only using "qos_min_rate").

  [1]https://github.com/ovn-org/ovn/blob/1bec9e3ddd8500793b52e11c3dc1f41ef1f48591/ovn-nb.xml#L1155-L1168
  [2]https://man7.org/linux/man-pages/man8/tc-htb.8.html

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