OpenStack DNS As A Service (Designate)
Go to file
Jens Harbott 16297a3014 Fix servicing IPv6 based TCP connections
When a connection is received via IPv6, the address is a 4-tuple
instead of a 2-tuple for IPv4, so handle this accordingly.

Also handle the end of the TCP connection gracefully instead of
emitting an "Invalid packet" warning every time.

[1] https://docs.python.org/2/library/socket.html

Change-Id: I935bbea1d58af8a5b41b5d29f12de4dcb7cf6301
Closes-Bug: 1734101
(cherry picked from commit 5e45b15419)
2018-11-28 12:08:18 +00:00
api-ref/source Fix doc generation for Python3 2017-06-04 21:58:11 +08:00
contrib Move default DNS driver to bind9 2017-10-19 13:15:43 +00:00
designate Fix servicing IPv6 based TCP connections 2018-11-28 12:08:18 +00:00
devstack Move default DNS driver to bind9 2017-10-19 13:15:43 +00:00
doc Improve and update docs 2017-08-03 08:41:54 +07:00
etc/designate Change correctly producer-task conf 2017-07-31 10:46:07 +07:00
playbooks/legacy Migrate to Zuul v3 2018-01-04 14:22:19 +00:00
rally-jobs Grammar mistakes have been corrected 2015-08-22 21:32:18 +05:30
releasenotes Remove deprecated cfg in notification and add format-v6 test 2017-07-17 06:21:50 +00:00
tools Refactor NSD4 UT for using upstream eventlet 2017-04-27 17:11:16 +07:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-18 17:56:48 +05:30
.gitignore Add etc/designate/*.yaml to .gitignore 2016-06-08 21:52:19 +00:00
.gitreview Update .gitreview for stable/pike 2017-08-14 17:51:01 +00:00
.testr.conf Add functional tox env 2015-07-14 15:36:08 +01:00
.zuul.yaml Remove install-guide-jobs 2018-08-30 05:07:39 +00:00
LICENSE Add LICENSE file. 2013-06-18 16:13:03 -04:00
README.rst Update URLs in documents according to document migration 2017-07-13 15:32:08 +08:00
babel.cfg Setup for translation 2014-07-04 16:40:02 +02: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 Updated from global requirements 2017-07-27 20:20:17 +00:00
setup.cfg Update the documentation link 2017-07-14 05:24:26 +00:00
setup.py Updated from global requirements 2017-03-08 23:22:13 +00:00
test-requirements.txt Updated from global requirements 2017-07-27 20:20:17 +00:00
tox.ini Removing removed bandit plugins to fix gate 2018-08-20 17:43:05 +00:00

README.rst

Team and repository tags

image

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:

git clone https://github.com/openstack/designate.git
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:

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

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

Testing

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

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