OpenStack DNS As A Service (Designate)
Find a file
OpenStack Release Bot 4e86673171 Update .gitreview for unmaintained/victoria
Change-Id: I83d48ba7d2a741fac3557a6956ac337f5615c431
2024-03-05 18:40:25 +00:00
api-ref/source Switch to newer openstackdocstheme and reno versions 2020-05-20 08:13:38 +02:00
contrib Update hacking for Python3 2020-04-01 21:52:38 +00:00
designate Fix Producer shard range ignoring the last shard 2023-11-27 22:32:01 +00:00
devstack Fix pdns4 devstack plugin 2020-09-30 00:15:47 +00:00
doc Remove broken and outdated related doc page 2020-06-29 14:51:32 +10:00
etc/designate Add middleware to limit request body size to api-paste 2023-09-27 20:51:59 +00:00
playbooks Native Zuul v3 designate-grenade-pdns4 job 2020-08-23 16:54:43 +02:00
rally-jobs Add validation to improve pep8 check for designate project 2017-11-20 12:26:16 +00:00
releasenotes Use ids when removing sink managed records 2023-04-14 02:39:51 +00:00
roles Update Zuul Jobs 2019-03-25 15:32:40 +00:00
tools Stop to use the __future__ module. 2020-06-05 13:40:51 +02:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-18 17:56:48 +05:30
.gitignore Remove testrepository 2018-07-11 17:44:40 +07:00
.gitreview Update .gitreview for unmaintained/victoria 2024-03-05 18:40:25 +00:00
.stestr.conf Switch to using stestr 2018-06-03 11:32:57 -04:00
.zuul.yaml CI: Move queue configuration into project-template 2022-10-23 13:45:57 +02: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
ipa-requirements.txt add support for FreeIPA backend - phase 5 - requirements 2014-05-07 17:16:12 -06:00
LICENSE Add LICENSE file. 2013-06-18 16:13:03 -04:00
README.rst Updated Readme 2019-10-03 00:36:42 -07:00
requirements.txt Fix l-c testing for ubuntu focal 2020-09-16 15:45:18 -05:00
setup.cfg Remove translation sections from setup.cfg 2020-06-20 22:04:03 +08:00
setup.py Cleanup py27 support 2020-04-05 08:11:51 +02:00
test-requirements.txt Use unittest.mock instead of third party mock 2020-05-29 11:35:40 -05:00
tox.ini [stable-only] Cap virtualenv/setuptools 2023-07-17 17:12:31 +02: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 @ freenode

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 py36

Execute only backend tests

.. code-block:: shell

    tox -e py36 -- unit.backend

Execute only a single test

.. code-block:: shell

    tox -e py36 -- 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/