neutron/neutron/tests/tempest
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
..
common Use string exception casting everywhere 2015-06-22 09:13:56 -04:00
services Introduce mechanism to determine supported qos rule types for a plugin 2015-07-27 16:48:48 +03:00
README.rst Move API tests to neutron.test.api 2015-03-31 23:05:07 +00:00
__init__.py Initial copy of api tests from tempest 2015-03-09 21:24:55 +00:00
auth.py Update api tests from tempest 2015-03-13 18:46:40 +00:00
config.py Update api tests from tempest 2015-03-13 18:46:40 +00:00
exceptions.py Initial copy of api tests from tempest 2015-03-09 21:24:55 +00:00
manager.py Initial copy of api tests from tempest 2015-03-09 21:24:55 +00:00
test.py Python3: do not use urllib.urlencode 2015-07-02 16:32:46 +02:00

README.rst

WARNING

The files under this path were copied from tempest as part of the move of the api tests, and they will be removed as the required functionality is transitioned from tempest to tempest-lib. While it exists, only neutron.tests.api and neutron.tests.retargetable should be importing files from this path. neutron.tests.tempest.config uses the global cfg.CONF instance and importing it outside of the api tests has the potential to break Neutron's use of cfg.CONF.