OpenStack DNS As A Service (Designate)
Find a file
Omer 035453ffd1 Restructure Designate CI jobs
So far the Designate and Designate tempest plugin CI jobs definition
was different than most other OSP components. Some of the jobs were
defined in the Designate repository and other in the tempest plugin,
without any clear indication to the correct repository for the job type.
By adopting a modular approach similar to other OpenStack projects, we'll reduce maintenance overhead and allow contributors to focus on
enhancing Designate rather than debugging CI structure issues.

Goals of this restructure process:
  * Create a clear separation of job definitions between designate and
    designate-tempest-plugin repositories
  * Organize configurations into multiple files instead of single,
    monolithic one

Closes-Bug: #2106143
Change-Id: I1c00c3789b3411ee657b2fef53eb5c1aa32083b7
Signed-off-by: Omer <oschwart@redhat.com>
2025-09-08 13:44:31 +00:00
api-ref/source fix blacklist list api-ref 2024-09-25 23:41:36 +09:00
contrib Merge "vagrant: Drop reference to removed glance-registry" 2024-06-30 17:15:45 +00:00
designate Merge "Drop hacking check for old code structure" 2025-09-03 10:15:23 +00:00
devstack Fix uwsgi config for grenade jobs 2025-05-30 13:27:34 +02:00
doc Drop description about unsupported messaging bus 2025-08-24 15:41:55 +09:00
etc/designate Ignore generated sample config file 2024-11-09 17:38:52 +09:00
playbooks Add fips jobs 2021-11-05 18:10:48 +00:00
rally-jobs Add validation to improve pep8 check for designate project 2017-11-20 12:26:16 +00:00
releasenotes Merge "Remove next pagination link for floating IP list" 2025-09-03 10:12:23 +00:00
roles Merge "Stop double compressing pdns logs" 2022-05-12 19:00:02 +00:00
tools Bump hacking 2024-01-17 12:37:51 +09:00
zuul.d Restructure Designate CI jobs 2025-09-08 13:44:31 +00:00
.coveragerc Fix coverage issues with greenlet 2023-11-08 00:56:11 +00:00
.gitignore Ignore generated sample config file 2024-11-09 17:38:52 +09:00
.gitreview OpenDev Migration Patch 2019-04-19 19:42:14 +00:00
.stestr.conf Switch to using stestr 2018-06-03 11:32:57 -04:00
bindep.txt Replace blockdiag with graphviz 2023-07-28 20:00:07 +00:00
CONTRIBUTING.rst Community Goal: Project PTL & Contrib Docs Update 2020-04-14 14:17:15 -06:00
designate.sublime-project Add __pycache__ to ST2 Ignore 2015-07-09 20:19:53 +01:00
LICENSE Add LICENSE file. 2013-06-18 16:13:03 -04:00
pyproject.toml Add pyproject.toml to support pip 23.1 2025-05-13 12:33:42 +01:00
README.rst Remove tags from README 2025-04-28 22:27:32 +00:00
requirements.txt Merge "Drop workaround for eventlet < 0.36.0" 2024-11-19 17:42:58 +00:00
setup.cfg Merge "Add designate-manage service clean cmd" 2025-07-03 17:35:36 +00:00
setup.py Cleanup py27 support 2020-04-05 08:11:51 +02:00
test-requirements.txt Fix bashate errors 2024-06-01 05:06:51 +00:00
tox.ini Drop hacking check for old code structure 2025-08-30 07:06:09 +09:00

===================
OpenStack Designate
===================

Designate is an OpenStack project, providing DNSaaS.

IRC: #openstack-dns @ oftc

Installation: https://docs.openstack.org/designate/latest/

API
---

To learn how to use Designate's API, consult the documentation available
online at:

- `DNS API Reference <https://docs.openstack.org/api-ref/dns/>`__

For more information on OpenStack APIs, SDKs and CLIs in general, refer to:

- `OpenStack for App Developers <https://www.openstack.org/appdev/>`__
- `Development resources for OpenStack clouds
  <https://developer.openstack.org/>`__

Development
===========

Designate follows the `OpenStack Gerrit Workflow`_

Setup
-----

Setup a working environment:

.. code-block:: bash

    git clone https://opendev.org/openstack/designate
    cd designate
    virtualenv .venv
    . .venv/bin/activate
    pip install -r requirements.txt -r test-requirements.txt
    pip install -e .

Building Docs
-------------

To build the documentation from the restructured text source, do the following:

.. code-block:: bash

    tox -e docs

Now point your browser at doc/build/html/index.html
(the official documentation is published to `docs.openstack.org`_  by the
maintainers.

Testing
-------

Execute all unit tests

.. code-block:: shell

    tox -e py3

Execute only backend tests

.. code-block:: shell

    tox -e py3 -- unit.backend

Execute only a single test

.. code-block:: shell

    tox -e py3 -- unit.backend.test_pdns4.PDNS4BackendTestCase.test_create_zone_success

Contributing
------------
Install the git-review package to make life easier

.. code-block:: shell

    pip install git-review


Branch, work, & submit:

.. code-block:: shell

    # cut a new branch, tracking master
    git checkout --track -b bug/id origin/master
    # work work work
    git add stuff
    git commit
    # rebase/squash to a single commit before submitting
    git rebase -i
    # submit
    git-review

Other Information
-----------------

* Free software: Apache license
* Documentation: https://docs.openstack.org/designate/latest/
* Release notes: https://docs.openstack.org/releasenotes/designate/
* Source: https://opendev.org/openstack/designate
* Bugs: https://bugs.launchpad.net/designate
* Blueprints: https://blueprints.launchpad.net/designate


.. _OpenStack Gerrit Workflow: https://docs.openstack.org/infra/manual/developers.html#development-workflow
.. _docs.openstack.org: https://docs.openstack.org/designate/latest/