Removed deprecated powerdns 3 driver

This driver was replaced by the pdns 4 driver
many cycles ago and is being permanently removed.

Change-Id: Ic34cee5fde21f838b6dd6b54fcdd767ec8b0bc18
This commit is contained in:
Erik Olof Gunnar Andersson
2019-05-05 13:31:51 -07:00
parent 52ad1c4c13
commit 660eacbce4
41 changed files with 50 additions and 1579 deletions

View File

@@ -1,78 +0,0 @@
..
Copyright 2013 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
.. _backend-powerdns:
PowerDNS Backend
================
.. warning:: This backend will not work with PowerDNS version 4 or greater. Use the ``pdns4`` backend.
PowerDNS Configuration
----------------------
You need to configure PowerDNS to use the MySQL backend.
1. First enable the MySQL backend:
.. code-block:: ini
launch = gmysql
2. Configure the MySQL database settings:
.. code-block:: ini
gmysql-host=<host>
gmysql-port=
gmysql-dbname=<dbname>
gmysql-user=<username>
gmysql-password=<password>
gmysql-dnssec=yes
#gmysql-socket=<socket path>
.. note::
PowerDNS can connect via socket or host/port.
3. Configure the PowerDNS Backend using this sample target snippet
.. literalinclude:: sample_yaml_snippets/powerdns.yaml
:language: yaml
4. Then update the pools in designate
.. code-block:: console
$ designate-manage pool update
See :ref:`designate_manage_pool` for further details on
the ``designate-manage pool`` command, and :ref:`pools`
for information about the yaml file syntax
4. Setup the database schema.
.. code-block:: console
$ designate-manage powerdns sync <pool_id>
See :ref:`designate_manage_powerdns` for further details on
the ``designate-manage powerdns`` command
5. Restart PowerDNS and it should be ready to serve queries
using the MySQL database as the backing store.

View File

@@ -1,16 +0,0 @@
targets:
- type: powerdns
description: PowerDNS Database Cluster
# List out the designate-mdns servers from which PowerDNS servers should
# request zone transfers (AXFRs) from.
masters:
- host: 192.0.2.1
port: 5354
# PowerDNS Configuration options
options:
host: 192.0.2.1
port: 53
# connects and logs in to the PowerDNS database designate_pdns
connection: 'mysql+pymysql://designate:password@127.0.0.1/designate_pdns?charset=utf8'

View File

@@ -45,7 +45,6 @@ config=None
[backends]
backend-impl-bind9=Bind9
backend-impl-powerdns-mysql=Power DNS (MySQL)
backend-impl-pdns4=Power DNS 4
backend-impl-designate=Designate to Designate
backend-impl-dynect=DynECT
@@ -67,15 +66,9 @@ config=backends/sample_yaml_snippets/bind.yaml
[backends.backend-impl-pdns4]
[backends.backend-impl-powerdns-mysql]
notes=This has been replaced by the pdns4 backend for future releases
[backends.backend-impl-designate]
status=untested
[backends.backend-impl-powerdns-pgsql]
status=untested
[backends.backend-impl-dynect]
status=untested

View File

@@ -223,53 +223,3 @@ Show what version of the database schema is currently in place
show this help message and exit
.. _designate_manage_powerdns:
designate-manage powerdns
=========================
.. _designate_manage_powerdns_sync:
designate-manage powerdns sync
------------------------------
.. code-block:: console
usage: designate-manage powerdns sync [-h] [--revision REVISION] POOL_ID
Update the designate powerdns database schema
**Required arguments:**
``POOL_ID``
The pool that should be upgraded or migrated
**Optional arguments:**
``-h, --help``
show this help message and exit
``--revision REVISION``
The version that the designate powerdns database should be synced to.
(Defaults to latest version)
.. _designate_manage_powerdns_version:
designate-manage powerdns version
-------------------------------------------
.. code-block:: console
usage: designate-manage powerdns version [-h] POOL_ID
Show what version of the powerdns database schema is currently in place
**Required arguments:**
``POOL_ID``
The pool that should be upgraded or migrated
**Optional arguments:**
``-h, --help``
show this help message and exit

View File

@@ -69,10 +69,10 @@ Backend Fake
:undoc-members:
:show-inheritance:
Backend Powerdns
================
Backend PowerDNS 4
==================
.. automodule:: designate.backend.impl_powerdns
.. automodule:: designate.backend.impl_pdns4
:members:
:undoc-members:
:show-inheritance:

View File

@@ -5,7 +5,7 @@ Designate, a DNSaaS component for OpenStack
Designate is a multi-tenant DNSaaS service for OpenStack. It provides a REST
API with integrated Keystone authentication. It can be configured to
auto-generate records based on Nova and Neutron actions. Designate supports
a variety of DNS servers including Bind9 and PowerDNS.
a variety of DNS servers including Bind9 and PowerDNS 4.
Contents
~~~~~~~~