OpenStack DNS As A Service (Designate)
Go to file
Erik Olof Gunnar Andersson ff1986cbb7 Fix Producer shard range ignoring the last shard
We define the shard range like this in objects
> 'shard': fields.IntegerFields(nullable=True, minimum=0, maximum=4095),

The problem is that in code we handle it using range(0, 4095), but that
range does not include the final shard value of 4095.

Closes-bug: #2044278
Change-Id: I71b0b1b237b5d5f12209f431db19cda1b44a1112
(cherry picked from commit 54d2d2cf18)
2023-11-27 22:30:10 +00:00
api-ref/source Implement sharing of zones 2023-02-14 01:54:15 +00:00
contrib Add hacking check for line continuation backslash 2023-02-21 20:12:04 +00:00
designate Fix Producer shard range ignoring the last shard 2023-11-27 22:30:10 +00:00
devstack Add hacking check for line continuation backslash 2023-02-21 20:12:04 +00:00
doc Replace blockdiag with graphviz 2023-08-09 15:24:31 +00:00
etc/designate Add middleware to limit request body size to api-paste 2023-09-27 20:33:20 +00: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 Fix list zones if shared with multiple projects 2023-07-05 16:45:13 +00:00
roles Merge "Stop double compressing pdns logs" 2022-05-12 19:00:02 +00:00
tools Remove references to sys.version_info 2021-09-18 11:05:49 +08: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 stable/2023.1 2023-03-06 09:14:05 +00:00
.stestr.conf Switch to using stestr 2018-06-03 11:32:57 -04:00
.zuul.yaml Remove designate-tox-dnspython-latest from stable 2023-07-11 16:03:18 +00:00
CONTRIBUTING.rst Community Goal: Project PTL & Contrib Docs Update 2020-04-14 14:17:15 -06:00
LICENSE Add LICENSE file. 2013-06-18 16:13:03 -04:00
README.rst Moving to OFTC 2021-05-27 06:21:33 -06:00
bindep.txt Replace blockdiag with graphviz 2023-08-09 15:24:31 +00: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
requirements.txt Remove unused werkzeug requirement 2023-02-17 00:55:33 +00:00
setup.cfg Add oslo.policy.enforcer entry point 2023-01-31 19:05:25 +00:00
setup.py Cleanup py27 support 2020-04-05 08:11:51 +02:00
test-requirements.txt Bump hacking version 2022-06-16 09:31:18 +02:00
tox.ini Removed unsupported test B309 from bandit 2023-03-20 18:52:15 +00:00

README.rst

Team and repository tags

image

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:

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

Development

Designate follows the OpenStack Gerrit Workflow

Setup

Setup a working environment:

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:

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

tox -e py36

Execute only backend tests

tox -e py36 -- unit.backend

Execute only a single test

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

Contributing

Install the git-review package to make life easier

pip install git-review

Branch, work, & submit:

# 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