OpenStack DNS As A Service (Designate)
Go to file
Kiall Mac Innes f8e5161569 Retry transactions on database deadlocks
Retry transactions upon database deadlocks, helping to ensure all
requests are processed even while there is contention on the
domain.serial column.

Additionally, due to the copy.deepcopy() introduced in the retry decorator, code which previously relied in the input values to central being mutated in place (only the tests, as everything else was over RPC so couldn't have been mutated in place) can no longer rely on this behavior.

Change-Id: Id470608d7cc6c34c133803ba34b9bf242dc5e6ae
Closes-Bug: 1408336
2015-02-24 13:19:48 +00:00
contrib Pass SSL CA Cert to client 2015-02-23 12:40:59 +01:00
designate Retry transactions on database deadlocks 2015-02-24 13:19:48 +00:00
doc Use fully qualified domain names in the mx record examples 2015-02-23 11:01:55 -06:00
etc/designate Merge "Add memcache support to Pool Manager" 2015-02-23 17:08:58 +00:00
rally-jobs Change SLA check for Designate 2014-12-24 18:22:42 +04:00
tools Add pretty_tox subunit wrapper 2015-01-30 20:25:08 +00:00
.coveragerc Add .coveragerc configuration file 2015-01-14 10:46:09 -08:00
.gitignore Add .coveragerc configuration file 2015-01-14 10:46:09 -08:00
.gitreview Update .gitreview for repository move 2014-06-28 16:52:03 +01:00
.testr.conf Update testr config for better logging 2014-07-26 15:11:58 -07:00
LICENSE Add LICENSE file. 2013-06-18 16:13:03 -04:00
MANIFEST.in Add pool_manager migrate.cfg in MANIFEST.in 2015-01-27 16:24:26 +08:00
README.md Update README.md doc build instructions 2015-01-13 16:41:28 -08:00
babel.cfg Setup for translation 2014-07-04 16:40:02 +02:00
designate.sublime-project Added policy checking for all all_tenent=True contexts 2014-08-12 21:50:33 +01:00
ipa-requirements.txt add support for FreeIPA backend - phase 5 - requirements 2014-05-07 17:16:12 -06:00
openstack-common.conf Add memcache support to Pool Manager 2015-02-19 14:58:56 -06:00
requirements.txt Updated from global requirements 2015-02-20 13:50:36 +00:00
setup.cfg Add noop cache support to Pool Manager 2015-02-20 13:32:05 -06:00
setup.py Partial sync with global-requirements 2014-06-07 18:48:34 +01:00
test-requirements.txt Updated from global requirements 2015-02-10 17:00:21 +00:00
tox.ini Added docs env to tox 2015-02-13 17:27:36 +00:00

README.md

Introduction

Designate is an OpenStack inspired DNSaaS.

Docs: http://docs.openstack.org/developer/designate and some below for now. Bugs / Blueprints: http://launchpad.net/designate

IRC: #openstack-dns

Installation: http://docs.openstack.org/developer/designate/getting-started.html

Development

Designate follows the OpenStack Gerrit Workflow

Setup

Setup a working environment:

git clone git@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 the documentation

To build the documentation from the restructred 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.py:CentralServiceTest.test_count_domains