neutron/neutron/services/qos
Sławek Kapłoński e2226fe373 Improve validation of supported QoS rules
New way of validation of QoS policy can be applied on port/network based on
port_types. It can validate if port can support rule by rule_type and also by
rule parameters or some values of parameters.

For example bandwidth_limit_rule can have parameter "direction" with
possible values "ingress" and "egress". Some of mechanism drivers can support
only one of those directions.

If user will try to apply policy with rule unsupported by port_type then it
will get error message and policy will not be applied.
Such validation is made during:
* port create
* port update
* network update
* QoS rule create
* QoS rule update

Co-Authored-By: Miguel Angel Ajo <majopela@redhat.com>

Implements blueprint qos-rules-validation
Closes-Bug: #1586056

Change-Id: I75bd18b3a1875daa5639dd141fb7bbd6e1c54118
2017-04-02 16:33:11 +00:00
..
drivers Improve validation of supported QoS rules 2017-04-02 16:33:11 +00:00
notification_drivers Transition qos notification driver into qos driver 2017-01-25 14:13:36 +01:00
__init__.py QoS service plugin stub 2015-06-29 17:51:10 +03:00
qos_consts.py Improve validation of supported QoS rules 2017-04-02 16:33:11 +00:00
qos_plugin.py Improve validation of supported QoS rules 2017-04-02 16:33:11 +00:00