OpenStack DNS As A Service (Designate)
Go to file
Pradeep Kumar Singh 53f4eb62ae Replace assertTrue(a in b) with assertIn(a, b)
Since python2.6 is no more supported, replacing
assertTrue(a in b) with assertIn(a, b) can be done.
This will give better message during the test failure
as a bonus.

Change-Id: I14b1801dd710eaf6d8433a6193eeaacd5d1c5a90
2015-07-29 09:45:44 +09:00
contrib Introduce a Production Guidelines document 2015-07-28 10:40:13 +01:00
designate Replace assertTrue(a in b) with assertIn(a, b) 2015-07-29 09:45:44 +09:00
doc Merge "Introduce a Production Guidelines document" 2015-07-28 14:57:57 +00:00
etc/designate Merge "Default to memcache for PM cache" 2015-07-15 17:03:59 +00:00
functionaltests Add functional tox env 2015-07-14 15:36:08 +01:00
rally-jobs Changes in rally-jobs/README.rst 2015-06-04 17:44:05 +03:00
tools Only print flake8 table if there is results 2015-07-20 16:26:03 +01:00
.coveragerc Add .coveragerc configuration file 2015-01-14 10:46:09 -08:00
.gitignore Test - add nicer formating to flake8 output 2015-07-08 18:29:30 +01:00
.gitreview Update .gitreview for repository move 2014-06-28 16:52:03 +01:00
.testr.conf Add functional tox env 2015-07-14 15:36:08 +01: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
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
openstack-common.conf port to oslo.service 2015-06-23 20:34:20 -07:00
README.md Update README.md doc build instructions 2015-01-13 16:41:28 -08:00
requirements.txt Updated from global requirements 2015-07-27 17:54:38 +00:00
setup.cfg Add tasks and periodic emits 2015-07-07 14:20:46 +00:00
setup.py Updated from global requirements 2015-07-17 16:12:05 +00:00
test-requirements.txt Updated from global requirements 2015-07-22 04:54:53 +00:00
tox.ini Add functional tox env 2015-07-14 15:36:08 +01:00

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