OpenStack DNS As A Service (Designate)
Find a file
Michael Johnson af7445fa0a Add an designate-api-wsgi compatibility script
This patch adds an designate-api-wsgi script that gets installed with
Designate for backward compatibility on the stable branches.
The pbr wsgi_scripts function no longer generates this script
automatically due to recent changes in setuptools.

This is a stable branch only patch.

Change-Id: I19b3307a4097fa6569cf694acdfb4b0f4687b0ff
(cherry picked from commit 5f4d6c4c6b)
2025-05-07 22:03:13 +00:00
api-ref/source Add new API for zone move 2023-12-15 22:31:27 +00:00
bin Add an designate-api-wsgi compatibility script 2025-05-07 22:03:13 +00:00
contrib pyupgrade changes for Python3.8+ 2023-11-03 11:19:07 +00:00
designate Support "-" in region name for FIP's 2025-04-09 10:39:48 +02:00
devstack devstack: Fix manage.py execution with GLOBAL_VENV 2024-10-21 22:11:57 +09:00
doc Add support for catalog zones 2024-01-22 15:22:13 +01:00
etc/designate Add support for catalog zones 2024-01-22 15:22:13 +01: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 Add an designate-api-wsgi compatibility script 2025-05-07 22:03:13 +00:00
roles Merge "Stop double compressing pdns logs" 2022-05-12 19:00:02 +00:00
tools pyupgrade changes for Python3.8+ 2023-11-03 11:19:07 +00:00
.coveragerc Fix coverage issues with greenlet 2023-11-08 00:56:11 +00:00
.gitignore Remove testrepository 2018-07-11 17:44:40 +07:00
.gitreview Update .gitreview for stable/2024.1 2024-03-15 09:55:55 +00:00
.stestr.conf Switch to using stestr 2018-06-03 11:32:57 -04:00
.zuul.yaml Stable-only: Switch neutron job to stable version 2024-10-23 01:12:48 +09: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
README.rst Update Unit Test README 2023-06-04 20:48:31 -07:00
requirements.txt Make edgegrid-python optional 2024-01-22 21:47:31 +09:00
setup.cfg Add an designate-api-wsgi compatibility script 2025-05-07 22:03:13 +00:00
setup.py Cleanup py27 support 2020-04-05 08:11:51 +02:00
test-requirements.txt Merge "Stop using deprecated zake coordination driver" 2024-01-30 02:26:23 +00:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/2024.1 2024-03-15 09:55:57 +00:00

========================
Team and repository tags
========================

.. image:: https://governance.openstack.org/tc/badges/designate.svg
    :target: https://governance.openstack.org/tc/reference/tags/index.html

.. Change things from this point on

===================
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/