neutron/neutron/common
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
..
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
_deprecate.py debtcollector for globals 2016-08-30 10:18:19 -04:00
cache_utils.py policy: cache extracted parent fields for OwnerCheck 2016-11-12 16:43:43 +00:00
config.py Add a ReST client for placement API 2017-01-17 16:41:46 -06:00
constants.py Merge "Add more protocols to the iptables module map" 2017-02-10 02:31:02 +00:00
eventlet_utils.py Adopt privsep and read routing table with pyroute2 2016-12-21 17:52:58 +02:00
exceptions.py Improve validation of supported QoS rules 2017-04-02 16:33:11 +00:00
ipv6_utils.py Correct the msg ipv6 enable in system 2017-01-09 11:37:58 +00:00
profiler.py Spin off context module 2017-03-06 16:25:29 +00:00
rpc.py Reconcile quitting_rpc_timeout with backoff RPC client 2017-03-21 01:26:31 +00:00
test_lib.py Revert "Removed test_lib module" 2015-06-29 08:27:41 +00:00
topics.py RPC Callback rolling upgrades reporting, and integration 2016-03-01 11:20:48 +01:00
utils.py Merge "Throttle SIGHUPs to keepalived" 2017-03-28 23:28:50 +00:00