]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Base infrastructure for QoS API tests
authorJohn Schwarz <jschwarz@redhat.com>
Tue, 30 Jun 2015 14:57:19 +0000 (17:57 +0300)
committerIhar Hrachyshka <ihrachys@redhat.com>
Thu, 23 Jul 2015 11:46:51 +0000 (13:46 +0200)
commite467fb3f5bc3ae925838ad3fc8a7a41185a9c4c1
treec265f9ff1b06be1b1433cdedb3ef86cbb705362b
parentd3708de0cb1dacc610bc9585a55dd260a862104d
Base infrastructure for QoS API tests

This introduces the basic methods in the tempest client, that allow the
testing of the QoS plugin. This also contains 2 (very) simple tests
which test creation and deletion of both policies and bandwidth rules,
as well as list/show for both resources. While creation is done
explicitly, deletion is done implicitly (all resources are deleted after
the test, during tearDown)

Minor fixes to the QoS plugin are included as well.

Change-Id: I0f34ed8464857859bcd519e301a49b0b067593b0
neutron/services/qos/qos_plugin.py
neutron/tests/api/base.py
neutron/tests/api/test_qos.py [new file with mode: 0644]
neutron/tests/tempest/services/network/json/network_client.py