neutron-lib/neutron_lib/services
Bence Romsics 6f3fb7fc81 Extend qos DriverBase with validate_rule_for_port()
The openvswitch qos driver supports the min-bw qos rule only on
networks backed by physnets. Currently the qos driver interface does
not have a method that takes both the policy/rule and the network/port,
therefore we don't have enough information in the driver to tell if
we support the min-bw rule for a port or not. This change introduces
validate_rule_for_port(..., rule, port) so we have all the information
to tell.

The base method validate_rule_for_port() is concrete and returns True
for backwards compatibility.

Change-Id: I58a47bb895bede219cfeebbf0665aaf01660ce89
Needed-By: https://review.opendev.org/705695
Partial-Bug: #1861442
Related-Bug: #1819029
2020-02-05 14:21:10 +01:00
..
logapi rehome neutron.objects.logapi.event_types 2019-03-26 11:51:01 -06:00
qos Extend qos DriverBase with validate_rule_for_port() 2020-02-05 14:21:10 +01:00
trunk rehome trunk service constants 2019-02-21 13:59:33 -07:00
__init__.py Rehome ServicePluginBase 2017-01-13 11:58:09 -07:00
base.py Remove library "six" 2020-01-22 13:16:45 +00:00
constants.py Add conntrack helper to parent resource mapping 2019-06-06 17:44:41 +02:00