[OVN] min-BW rule, defined in the LSP.options field, must be accompanied with a max-BW value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Triaged
|
High
|
Rodolfo Alonso |
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:/
[2]https:/
tags: | added: ovn qos |
Changed in neutron: | |
status: | New → Triaged |
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
Don't we have the relationships the other way around?
guaranteed bw - qos_min_rate in ovn - rate in tc
shaped bw - qos_max_rate in ovn - ceil in tc
But anyway I see your point. This must break setting ceil without rate. But while broken I guess this can be worked around by providing both in the API.
In a fix we can provide a minimal (0 if allowed) rate when there's no user input coming from the API.