minimum_packet_rate qos rule type is not visible in the GET /v2.0/qos/rule-types response
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Rodolfo Alonso |
Bug Description
The GET /v2.0/qos/
It is reproduced on recent neutron and neutron-lib master in a devstack.
stack@master0:
e7b70521d0 Merge "Use elevated context to update router's external gateway"
stack@master0:
c5fd706 Merge "Add "connectivity" property to "MechanismDriver""
Example outputs from this system:
stack@master0:~$ openstack network qos rule type list
+------
| Type |
+------
| minimum_bandwidth |
| bandwidth_limit |
+------
stack@master0:~$ openstack network qos rule list qp3-bw-pps
+------
| ID | QoS Policy ID | Type | Max Kbps | Max Burst Kbits | Min Kbps | DSCP mark | Direction |
+------
| 27a29b90-
| 2872f1cd-
| 3aa02806-
+------
tags: | added: api |
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
importance: | Undecided → High |
importance: | High → Medium |
Changed in neutron: | |
status: | Won't Fix → Confirmed |
Hello Balazs:
What driver were you using? Was that OVN+SR-IOV? I'm saying that because of the output.
Since [1], we return only the QoS rule types accepted by all loaded mechanism drivers. That means, for example, if you are using OVN, the supported rule set won't have the "packet_rate_limit" rule type.
However, you can create a rule of any type. When you try to assign an unsupported rule to a driver, the API will raise an exception.
However, if we use several drivers, what we should do is to return not the common subset (intersection) but the joined set (union). But this is an opinion.
Regards.
[1]https:/ /review. opendev. org/c/openstack /neutron/ +/468982