Improved validation mechanism for QoS rules with port types
Currently neutron API can return what rules are supported, in the context of ML2: by returning the minimum subset of rules supported by all mechanism drivers.
Mechanism drivers in ML2 plugin can specify a list of QoS rule types which are supported. For example openvswitch mech_driver will report "bandwidth_
There are two problems with such simple check:
- if rules are created or policy is applied to port there is no validation at all. It means that for example policy with dscp_marking rule can be applied to port bound with linuxbridge or sriov mech_drivers without any errors.
- there is no possibility that mechanism driver will support some rules only with specific parameters. For example bandwidth_
We propose changes to how supported rule types are calculated and how validation works.
Blueprint information
- Status:
- Complete
- Approver:
- Miguel Angel Ajo
- Priority:
- Low
- Drafter:
- Slawek Kaplonski
- Direction:
- Approved
- Assignee:
- Slawek Kaplonski
- Definition:
- Approved
- Series goal:
- None
- Implementation:
-
Implemented
- Milestone target:
-
pike-3
- Started by
- Ihar Hrachyshka
- Completed by
- Ihar Hrachyshka
Related branches
Related bugs
Bug #1586056: [RFE] Improved validation mechanism for QoS rules with port types | Fix Released |
Sprints
Whiteboard
Nov-16-
Oct-27-
Sep-08-2016(armax): deferred to Ocata
July-29-
https:/
Gerrit topic: https:/
Addressed by: https:/
Improve validation of supported QoS rules
Addressed by: https:/
[WIP] Improve validation of supported QoS rules - this one is based on new QoS driver instead of notification driver
Gerrit topic: https:/
Addressed by: https:/
[WIP] Improve validation of supported QoS rules
Work Items
Dependency tree

* Blueprints in grey have been implemented.