summaryrefslogtreecommitdiff
path: root/designate/conf/api.py
diff options
context:
space:
mode:
authorErik Olof Gunnar Andersson <eandersson@blizzard.com>2019-08-25 11:13:32 -0700
committerErik Olof Gunnar Andersson <eandersson@blizzard.com>2019-09-20 15:10:46 -0700
commita09064a5d15859703b97d61a1f014681a17799c6 (patch)
treeb9a0da477b65f4decd13ee6bb0b66b9de7059816 /designate/conf/api.py
parent23f6a79aef1303d25f8eb1c9d5090fe7f4326d46 (diff)
downloaddesignate-a09064a5d15859703b97d61a1f014681a17799c6.tar.gz
Refactored service layer
Service layer has been simplified by removing abstraction and making the implementation more in line with other OpenStack projects. Moved Heartbeat code out of Service class and into the console scripts. We only need one instance of the Heartbeat Emitter. Cleaned up the WSGI code by making use of the reusable oslo_service.wsgi code. * Added Heartbeat to designate-sink. * Cleaned up and refactored Service layers. * Fixed various bugs e.g. errors on shutdown. * Removed deprecated options host, port etc. * Simplified Heartbeat implementation. Closes-Bug: #1442141 Change-Id: I536b92407bf6ca5bddf4c048909cd13d4e094d26
Diffstat (limited to 'designate/conf/api.py')
-rw-r--r--designate/conf/api.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/designate/conf/api.py b/designate/conf/api.py
index cb8dd02c..d9c40c26 100644
--- a/designate/conf/api.py
+++ b/designate/conf/api.py
@@ -33,14 +33,6 @@ API_OPTS = [
'the hostname, port, and any paths that are added'
'to the base of Designate is URLs,'
'For example http://dns.openstack.example.com/dns'),
- cfg.IPOpt('api_host',
- deprecated_for_removal=True,
- deprecated_reason="Replaced by 'listen' option",
- help='API Bind Host'),
- cfg.PortOpt('api_port',
- deprecated_for_removal=True,
- deprecated_reason="Replaced by 'listen' option",
- help='API Port Number'),
cfg.ListOpt('listen',
default=['0.0.0.0:9001'],
help='API host:port pairs to listen on'),