diff options
Diffstat (limited to 'designate/conf')
-rw-r--r-- | designate/conf/agent.py | 50 | ||||
-rw-r--r-- | designate/conf/bind9.py | 35 | ||||
-rw-r--r-- | designate/conf/denominator.py | 10 | ||||
-rw-r--r-- | designate/conf/djbdns.py | 21 | ||||
-rw-r--r-- | designate/conf/gdnsd.py | 15 | ||||
-rw-r--r-- | designate/conf/knot2.py | 10 |
6 files changed, 112 insertions, 29 deletions
diff --git a/designate/conf/agent.py b/designate/conf/agent.py index 16f5b47b..faa846ff 100644 --- a/designate/conf/agent.py +++ b/designate/conf/agent.py @@ -24,27 +24,57 @@ AGENT_GROUP = cfg.OptGroup( AGENT_OPTS = [ cfg.IntOpt('workers', - help='Number of agent worker processes to spawn'), + help='Number of agent worker processes to spawn', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.IntOpt('threads', default=1000, - help='Number of agent greenthreads to spawn'), + help='Number of agent greenthreads to spawn', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.ListOpt('listen', default=['0.0.0.0:%d' % DEFAULT_AGENT_PORT], - help='Agent host:port pairs to listen on'), + help='Agent host:port pairs to listen on', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.IntOpt('tcp_backlog', default=100, - help='The Agent TCP Backlog'), + help='The Agent TCP Backlog', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.FloatOpt('tcp_recv_timeout', default=0.5, - help='Agent TCP Receive Timeout'), + help='Agent TCP Receive Timeout', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.ListOpt('allow_notify', default=[], - help='List of IP addresses allowed to NOTIFY The Agent'), + help='List of IP addresses allowed to NOTIFY The Agent', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.ListOpt('masters', default=[], - help='List of masters for the Agent, format ip:port'), + help='List of masters for the Agent, format ip:port', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.StrOpt('backend_driver', default='bind9', - help='The backend driver to use, e.g. bind9, djbdns, knot2'), + help='The backend driver to use, e.g. bind9, djbdns, knot2', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.StrOpt('transfer_source', - help='An IP address to be used to fetch zones transferred in'), + help='An IP address to be used to fetch zones transferred in', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.FloatOpt('notify_delay', default=0.0, help='Delay after a NOTIFY arrives for a zone that the Agent ' - 'will pause and drop subsequent NOTIFYs for that zone'), + 'will pause and drop subsequent NOTIFYs for that zone', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), ] diff --git a/designate/conf/bind9.py b/designate/conf/bind9.py index beee8696..6d6b0f2a 100644 --- a/designate/conf/bind9.py +++ b/designate/conf/bind9.py @@ -21,16 +21,37 @@ BIND9_GROUP = cfg.OptGroup( ) BINS9_OPTS = [ - cfg.StrOpt('rndc_host', default='127.0.0.1', help='RNDC Host'), - cfg.IntOpt('rndc_port', default=953, help='RNDC Port'), + cfg.StrOpt('rndc_host', default='127.0.0.1', help='RNDC Host', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), + cfg.IntOpt('rndc_port', default=953, help='RNDC Port', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.StrOpt('rndc_config_file', - help='RNDC Config File'), - cfg.StrOpt('rndc_key_file', help='RNDC Key File'), - cfg.IntOpt('rndc_timeout', default=0, min=0, help='RNDC command timeout'), + help='RNDC Config File', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), + cfg.StrOpt('rndc_key_file', help='RNDC Key File', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), + cfg.IntOpt('rndc_timeout', default=0, min=0, help='RNDC command timeout', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.StrOpt('zone_file_path', default='$state_path/zones', - help='Path where zone files are stored'), + help='Path where zone files are stored', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.StrOpt('query_destination', default='127.0.0.1', - help='Host to query when finding zones'), + help='Host to query when finding zones', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), ] diff --git a/designate/conf/denominator.py b/designate/conf/denominator.py index 946fb1f8..d7a8c66c 100644 --- a/designate/conf/denominator.py +++ b/designate/conf/denominator.py @@ -22,9 +22,15 @@ DENOMINATOR_GROUP = cfg.OptGroup( DENOMINATOR_OPTS = [ cfg.StrOpt('name', default='fake', - help='Name of the affected provider'), + help='Name of the affected provider', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.StrOpt('config_file', default='/etc/denominator.conf', - help='Path to Denominator configuration file'), + help='Path to Denominator configuration file', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), ] diff --git a/designate/conf/djbdns.py b/designate/conf/djbdns.py index b18ee353..f00c479c 100644 --- a/designate/conf/djbdns.py +++ b/designate/conf/djbdns.py @@ -24,25 +24,36 @@ DJDNS_OPTS = [ cfg.StrOpt( 'tcpclient_cmd_name', help='tcpclient executable path or rootwrap command name', - default='tcpclient' + default='tcpclient', deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.' ), cfg.StrOpt( 'axfr_get_cmd_name', help='axfr-get executable path or rootwrap command name', - default='axfr-get' + default='axfr-get', deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.' ), cfg.StrOpt( 'tinydns_data_cmd_name', help='tinydns-data executable path or rootwrap command name', - default='tinydns-data' + default='tinydns-data', deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.' ), cfg.StrOpt( 'tinydns_datadir', help='TinyDNS data directory', - default='/var/lib/djbdns' + default='/var/lib/djbdns', deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.' ), cfg.StrOpt('query_destination', default='127.0.0.1', - help='Host to query when finding zones'), + help='Host to query when finding zones', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), ] diff --git a/designate/conf/gdnsd.py b/designate/conf/gdnsd.py index 0b25e06c..31615abf 100644 --- a/designate/conf/gdnsd.py +++ b/designate/conf/gdnsd.py @@ -22,12 +22,21 @@ GDNSD_GROUP = cfg.OptGroup( GDNSD_OPTS = [ cfg.StrOpt('gdnsd_cmd_name', help='gdnsd executable path or rootwrap command name', - default='gdnsd'), + default='gdnsd', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.StrOpt('confdir_path', help='gdnsd configuration directory path', - default='/etc/gdnsd'), + default='/etc/gdnsd', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.StrOpt('query_destination', default='127.0.0.1', - help='Host to query when finding zones'), + help='Host to query when finding zones', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), ] diff --git a/designate/conf/knot2.py b/designate/conf/knot2.py index 67c5eca9..739b3c5d 100644 --- a/designate/conf/knot2.py +++ b/designate/conf/knot2.py @@ -23,9 +23,15 @@ KNOT2_GROUP = cfg.OptGroup( KNOT2_OPTS = [ cfg.StrOpt('knotc_cmd_name', help='knotc executable path or rootwrap command name', - default='knotc'), + default='knotc', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), cfg.StrOpt('query_destination', default='127.0.0.1', - help='Host to query when finding zones'), + help='Host to query when finding zones', + deprecated_for_removal=True, + deprecated_since='Antelope(2023.1)', + deprecated_reason='The agent framework is deprecated.'), ] |