OpenStack DNS As A Service (Designate)
Find a file
Erik Olof Gunnar Andersson 268bab6413 Simplify olso.log setup
Switching to log.get_default_log_levels, and implement
_EXTRA_DEFAULT_LOG_LEVELS on top for anything designate specific.

Change-Id: I20c89e0ddfde39c1a43c2e32a5dad67d180e38c3
2018-08-05 21:17:53 -07:00
api-ref/source Merge "Remove the deprecated "giturl" option" 2018-02-03 14:16:52 +00:00
contrib Merge "Move pep8 checks to py3 by default" 2018-04-18 03:12:38 +00:00
designate Simplify olso.log setup 2018-08-05 21:17:53 -07:00
devstack Start replacing designate legacy jobs 2018-05-16 14:18:58 +00:00
doc Merge "[Docs] Fix the incorrect designate service name" 2018-06-14 09:26:28 +00:00
etc/designate Allow to check pep8 along with D000 2018-05-23 11:01:57 +07:00
playbooks Start replacing designate legacy jobs 2018-05-16 14:18:58 +00:00
rally-jobs Add validation to improve pep8 check for designate project 2017-11-20 12:26:16 +00:00
releasenotes Use listener pools in designate-sink 2018-06-26 20:37:36 +03:00
roles/bind-logs-conf Start replacing designate legacy jobs 2018-05-16 14:18:58 +00:00
tools Switch to using stestr 2018-06-03 11:32:57 -04: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 repository move 2014-06-28 16:52:03 +01:00
.stestr.conf Switch to using stestr 2018-06-03 11:32:57 -04:00
.zuul.yaml Reenable py3.6 tempest jobs + add py36 tox 2018-07-23 17:07:28 +01:00
babel.cfg Setup for translation 2014-07-04 16:40:02 +02:00
CONTRIBUTING.rst Added CONTRIBUTING.rst file to the project 2018-07-06 10:50:46 +08: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
lower-constraints.txt Remove testrepository 2018-07-11 17:44:40 +07:00
README.rst Allow to check pep8 along with D000 2018-05-23 11:01:57 +07:00
requirements.txt Allow newer versions of Flask 2018-06-28 13:36:01 +02:00
setup.cfg Follow the new PTI for document build 2018-03-27 10:30:57 +08:00
setup.py Updated from global requirements 2017-03-08 23:22:13 +00:00
test-requirements.txt Remove testrepository 2018-07-11 17:44:40 +07:00
tox.ini Reenable py3.6 tempest jobs + add py36 tox 2018-07-23 17:07:28 +01:00

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

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

.. Change things from this point on

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

Designate is an OpenStack project, providing DNSaaS.

IRC: #openstack-dns

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


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

Designate follows the `OpenStack Gerrit Workflow`_

Setup
-----

Setup a working environment:

.. code-block:: bash

    git clone https://git.openstack.org/openstack/designate
    cd designate
    virtualenv .venv
    . .venv/bin/activate
    pip install -r requirements.txt -r test-requirements.txt
    python setup.py develop

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

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

.. code-block:: bash

    cd doc
    pip install -r requirements.txt
    sphinx-build  source/ build/html/

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

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

Testing
-------

Execute a single test using py27
(test is CentralServiceTest.test_count_domains)

.. code-block:: shell

    tox -e py27 -- designate.tests.test_central.test_service.CentralServiceTest.test_count_zones_policy_check



* Free software: Apache license
* Documentation: https://docs.openstack.org/designate/latest/
* Release notes: https://docs.openstack.org/releasenotes/designate/
* Source: https://git.openstack.org/cgit/openstack/designate
* Bugs: https://bugs.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/