blob: beb0f5a291e413fa2c136a9be28cb4964d448fc0 [file] [log] [blame]
Michael Johnson791fefb2019-09-13 10:48:05 -07001======================
2Octavia Tempest Plugin
3======================
4
Michael Johnson34139b02017-03-15 10:31:10 -07005Team and repository tags
6========================
7
ShangXiao4e620282018-06-13 01:38:21 -07008.. image:: https://governance.openstack.org/tc/badges/octavia-tempest-plugin.svg
9 :target: https://governance.openstack.org/tc/reference/tags/index.html
Michael Johnson34139b02017-03-15 10:31:10 -070010
11.. Change things from this point on
12
Bar RH36ece2d2017-12-20 02:15:05 +020013Tempest integration of Octavia
14==============================
Michael Johnson34139b02017-03-15 10:31:10 -070015
16This project contains the Tempest plugin for the Octavia project for
17OpenStack Load Balancing.
18
19For more information about Octavia see:
Bar RH36ece2d2017-12-20 02:15:05 +020020https://docs.openstack.org/octavia/latest/
Michael Johnson34139b02017-03-15 10:31:10 -070021
22For more information about Tempest plugins see:
Bar RH36ece2d2017-12-20 02:15:05 +020023https://docs.openstack.org/tempest/latest/plugin.html
Michael Johnson34139b02017-03-15 10:31:10 -070024
25* Free software: Apache license
ShangXiao4e620282018-06-13 01:38:21 -070026* Documentation: https://docs.openstack.org/octavia-tempest-plugin/latest/
caoyuan980f5de2019-04-23 19:39:04 +080027* Source: https://opendev.org/openstack/octavia-tempest-plugin
ShangXiao4e620282018-06-13 01:38:21 -070028* Bugs: https://storyboard.openstack.org/#!/project/openstack/octavia-tempest-plugin
Bar RH36ece2d2017-12-20 02:15:05 +020029
30Installing
31----------
32
Michael Johnson73c703e2023-02-28 00:32:21 +000033From the tempest directory, setup the tempest virtual environment for the
34Octavia tempest plugin::
Bar RH36ece2d2017-12-20 02:15:05 +020035
Michael Johnson73c703e2023-02-28 00:32:21 +000036 $ tox -e venv-tempest -- pip3 install -e <path to octavia-tempest-plugin>
37
38For example, when using a typical devstack setup::
39
40 $ cd /opt/stack/tempest
41 $ tox -e venv-tempest -- pip3 install -e /opt/stack/octavia-tempest-plugin
Bar RH36ece2d2017-12-20 02:15:05 +020042
43Running the tests
44-----------------
45
46To run all the tests from this plugin, call from the tempest repo::
47
Michael Johnson73c703e2023-02-28 00:32:21 +000048 $ tox -e all -- octavia_tempest_plugin
Bar RH36ece2d2017-12-20 02:15:05 +020049
50To run a single test case, call with full path, for example::
51
Michael Johnson73c703e2023-02-28 00:32:21 +000052 $ tox -e all -- octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest.test_basic_traffic
Bar RH36ece2d2017-12-20 02:15:05 +020053
54To retrieve a list of all tempest tests, run::
55
56 $ testr list-tests