Tempest plugin for Octavia
Go to file
Michael Johnson 6fbfed03d3 Add skip_if_not_implemented to the service client
This patch adds a decorator that wraps the service client methods adding
the ability to raise a skipException if a call to the API returns a
NotImplementedError or UnsupportedOptionError exception.

This is useful for running the tests against provider drivers that do
not support all of the Octavia API features.

Change-Id: I17d4be65130fadf97d6170d22fb07c72672b7573
2020-08-04 21:53:06 +00:00
devstack Add devstack plugin support 2020-02-18 14:40:49 -05:00
doc Switch to newer openstackdocstheme and reno versions 2020-05-28 14:46:21 +02:00
octavia_tempest_plugin Add skip_if_not_implemented to the service client 2020-08-04 21:53:06 +00:00
playbooks/act_stby_iptables Enable KVM libvirt type on all scenario jobs 2020-02-19 18:56:27 +01:00
releasenotes Merge "Add tags API tests" 2020-08-04 21:42:25 +00:00
zuul.d Merge "Gate on octavia-v2-dsvm-tls-barbican jobs" 2020-07-17 20:17:04 +00:00
.coveragerc Initial setup of the octavia-tempest-plugin repo 2017-05-11 18:32:01 +00:00
.gitignore Create api+scenario tests for pools 2018-05-18 16:08:21 -07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:35:19 +00:00
.mailmap Initial setup of the octavia-tempest-plugin repo 2017-05-11 18:32:01 +00:00
.stestr.conf Create api+scenario tests for pools 2018-05-18 16:08:21 -07:00
CONTRIBUTING.rst Update links in README.rst 2018-08-13 10:13:30 +02:00
HACKING.rst Update links in README.rst 2018-08-13 10:13:30 +02:00
LICENSE Initial setup of the octavia-tempest-plugin repo 2017-05-11 18:32:01 +00:00
README.rst Generate PDF documentation 2019-09-13 10:48:40 -07:00
babel.cfg Initial setup of the octavia-tempest-plugin repo 2017-05-11 18:32:01 +00:00
requirements.txt Add skip_if_not_implemented to the service client 2020-08-04 21:53:06 +00:00
setup.cfg Add py38 package metadata 2020-05-28 11:47:50 +08:00
setup.py Updated from global requirements 2017-06-06 01:53:58 +00:00
test-requirements.txt Fix hacking min version to 3.0.1 2020-05-12 20:03:20 -05:00
tox.ini Apply Octavia hacking checks to the tempest plugin 2020-06-30 10:52:55 -07:00

README.rst

Octavia Tempest Plugin

Team and repository tags

image

Tempest integration of Octavia

This project contains the Tempest plugin for the Octavia project for OpenStack Load Balancing.

For more information about Octavia see: https://docs.openstack.org/octavia/latest/

For more information about Tempest plugins see: https://docs.openstack.org/tempest/latest/plugin.html

Installing

Clone this repository to the destination machine, and call from the repo:

$ pip install -e .

Running the tests

To run all the tests from this plugin, call from the tempest repo:

$ tox -e all-plugin -- octavia_tempest_plugin

To run a single test case, call with full path, for example:

$ tox -e all-plugin -- octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest.test_basic_traffic

To retrieve a list of all tempest tests, run:

$ testr list-tests