Takashi Kajinami 626c60fc30 Replace deprecated assertDictContainsSubset
The method is deprecated since Python 3.2[1] and shows the following
DeprecationWarning.

/usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning:
assertDictContainsSubset is deprecated
  warnings.warn('assertDictContainsSubset is deprecated',

[1] https://docs.python.org/3/whatsnew/3.2.html#unittest

Closes-Bug: #1938103
Change-Id: Ib1f000a7d5d0f94d7b844f8086a9798f28a44643
2021-09-05 01:14:45 +09:00
2020-04-01 21:52:38 +00:00
2021-07-27 23:59:28 +00:00
2019-03-25 15:32:40 +00:00
2020-10-14 13:32:58 +00:00
2018-07-11 17:44:40 +07:00
2019-04-19 19:42:14 +00:00
2018-06-03 11:32:57 -04:00
2021-06-14 21:45:29 +00:00
2013-06-18 16:13:03 -04:00
2021-05-27 06:21:33 -06:00
2021-07-12 23:09:35 +00:00
2020-04-05 08:11:51 +02:00
2020-12-13 14:07:52 +01:00

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

Description
OpenStack DNS As A Service (Designate)
Readme 56 MiB
Languages
Python 93.7%
Shell 3.4%
PHP 2.6%
HTML 0.2%