OpenStack DNS As A Service (Designate) Functional Tests
Go to file
Lilach Avraham 9b0cec95fa [Designate] IPv6 detection check added
The current code assumes that the nameserver value configured
in tempest.conf is one of these two options only: IPV4 or IPV4:PORT
There is no handling for IPV6 addresses(with/without PORT).
(If IPV6 is set it causes traceback).

This patch adds support for IPV6.

Change-Id: I6ee56fcc1f00bc55012bcd1895bddce5acfa07d4
2023-07-14 10:58:45 +03:00
designate_tempest_plugin [Designate] IPv6 detection check added 2023-07-14 10:58:45 +03:00
doc Fix docs reqs for new pip 2021-06-16 01:08:41 +00:00
releasenotes Deprecate option for old api_export_size bug 2022-09-04 22:40:59 +09:00
tools Stop to use the __future__ module. 2020-06-02 20:10:30 +02:00
.gitignore Switch to stestr 2018-07-12 14:13:12 +07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:28:10 +00:00
.stestr.conf Switch to stestr 2018-07-12 14:13:12 +07:00
.zuul.yaml Remove stable/wallaby job from master gate 2023-06-09 01:55:51 +00:00
LICENSE Initial layout of Designate tempest plugin 2016-04-07 08:08:46 +01:00
README.rst Update the README file to use tox -e all 2023-02-28 18:16:41 +00:00
requirements.txt Add tempest tests for shared zones 2023-02-23 15:29:34 +00:00
setup.cfg setup.cfg: Replace dashes with underscores 2021-12-27 07:03:11 +00:00
setup.py Cleanup py27 support 2020-04-05 19:55:57 +00:00
test-requirements.txt Fix docs reqs for new pip 2021-06-16 01:08:41 +00:00
tox.ini Add Designate hacking checks to the tempest plugin 2023-02-15 22:14:16 +00:00

README.rst

Team and repository tags

image

Tempest Integration of Designate

This directory contains Tempest tests to cover the designate project, as well as a plugin to automatically load these tests into tempest.

See the tempest plugin docs for information on using it: https://docs.openstack.org/tempest/latest/plugin.html#using-plugins

See the designate docs for information on writing new tests etc: https://docs.openstack.org/designate-tempest-plugin/latest/#writing-new-tests

Running the tests

From the tempest directory, setup the tempest virtual environment for the designate tempest plugin:

$ tox -e venv-tempest -- pip3 install -e <path to designate-tempest-plugin>

For example, when using a typical devstack setup:

$ cd /opt/stack/tempest
$ tox -e venv-tempest -- pip3 install -e /opt/stack/designate-tempest-plugin

To run all tests from this plugin, install designate into your environment and from the tempest repo, run:

$ tox -e all -- designate

To run a single test case, run with the test case name, for example:

$ tox -e all -- designate_tempest_plugin.tests.api.v2.test_zones.ZonesTest.test_create_zones

To run all tempest tests including this plugin, run:

$ tox -e all