neutron/neutron/plugins/ml2/drivers/openvswitch/mech_driver
Ihar Hrachyshka 12f7abd398 Introduce mechanism to determine supported qos rule types for a plugin
Every plugin that supports some of QoS rules will define a property
called supported_qos_rule_types of list type.

For ml2, determine supported qos rule types as a subset of rule types
supported by all drivers. (In the future, we may expand the list to
include all types supported by at least one of enabled drivers. This
would require synchronized work with nova scheduler though.)

For ml2, tests are limited, and should be expanded to check that common
subset of qos rules is calculated properly when intersection != the list
of each plugins. For now, it's enough since we don't have more than one
rule type planned for Liberty.

Added API test for the resource.

Partially-Implements: blueprint ml2-qos
Co-Authored-By: Irena Berezovsky <irenab.dev@gmail.com>
Co-Authored-By: John Schwarz <jschwarz@redhat.com>
Change-Id: I0d18ae256877a129e203110003fcadd1d63590b4
2015-07-27 16:48:48 +03:00
..
__init__.py Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
mech_openvswitch.py Introduce mechanism to determine supported qos rule types for a plugin 2015-07-27 16:48:48 +03:00